menjelaskan
Kesalahan informasi:
|NO.|Error msg|description|
|-|-|-|
1 “ContractType Invalid” “ContractType Invalid” “ContractType Invalid” “ContractType Invalid” “ContractType Invalid” “ContractType Invalid” “ContractType Invalid” “ContractType Invalid” “ContractType Invalid” “ContractType Invalid” “ContractType Invalid” “ContractType Invalid” “ContractType Invalid” “ContractType Invalid” “ContractType Invalid” “ContractType Invalid” “ContractType Invalid””
2 Calc contractType error! kontrak tanggal pengiriman Calc contractType error
│3│response format error││GetRecords Interface │GetRecords Interface │GetResponse format error││
“Invalid direction” “SetDirection” “Invalid direction” “SetDirection” “SetDirection” “SetDirection” “SetDirection” “SetDirection” “SetDirection” “SetDirection” “SetDirection” “SetDirection” “SetDirection” “SetDirection” “SetDirection” “SetDirection” “SetDirection” “SetDirection” “SetDirection” “SetDirection” “SetDirection” “SetDirection” “SetDirection” “SetDirection”
5 the contractType not found: kesalahan pemetaan kode kontrak saat memanggil GetOrder / GetOrders
“MarginLevel can only be set in the direction for buy/sell, current settings: “MarginLevel can only be set in the direction for buy/sell, current settings: “MarginLevel can only be set in the direction for buy/sell, current settings: “MarginLevel can only be set in the direction for buy/sell, current settings: “MarginLevel can only be set in the direction for buy/sell, current settings: “MarginLevel can only be set in the direction for buy/sell, current settings: “MarginLevel can only be set in the direction for buy/sell, current settings: “MarginLevel can only be set in the direction for buy/sell, current settings: “MarginLevel can only be set in the
|7|MarginLevel error, Must be a positive integer between 1 and 40.|Leverage kontrak permanen harus antara 1 dan 40|
“8 Margin Level Invalid” “Rata-rata leverage error sekitar 10 / 20 Margin Level Invalid” “Rata-rata leverage error sekitar 10 / 20 Margin Level Invalid”
9 the contractType not found Ketika saya memanggil GetPosition, saya tidak menemukan kode kontrak aktual yang sesuai dengan kode kontrak this_week / next_week / quarter / swap
“OrderId error”, the orderId: “OrderId” dalam pesan yang dikembalikan oleh fungsi GetOrder, GetOrders, Buy, Sell|Bentuk tipis, terutama digunakan untuk identifikasi saat melakukan withdrawal, query order, bukan ID pesanan nyata yang dikembalikan ke antarmuka bursa, jika kode kontrak non-tipis digunakan saat melakukan withdrawal|ID pesanan dalam bentuk , artinya kesalahan.
11 MarginLevel error. The contract for BTC ((atau mata uang lainnya) Must be a positive integer between 1 and 100 ((atau nilai lainnya).
|NO.|Error msg|description| |-|-|-| Futures_OP 0: 400: {“code”:32010, “message”:“You cannot adjust the leverage when you have open order ((s) / position ((s)).”} Mode penuh posisi, tidak dapat diubah menjadi leverage lain saat ada pesanan yang tertutup atau saat memegang posisi |2| GetOrder(65-9-44101ef02-0): 400: {“code”:30024,“message”:““order_id”is an invalid parameter”} Saat GetOrder, CancelOrder, harus beralih ke kontrak yang sesuai dengan kontrak dari ID ini, jika tidak, kesalahan akan terjadi. 3 “code”:32007, “message”: “You cannot open short at 20x when you are holding short position ((s) and/or open order ((s) at 10x. “} Ketika melakukan trading, jika arah kontrak saat ini adalah 10 kali lipat ((set di situs web), yang digunakan adalah 20 kali lipat, maka akan melaporkan kesalahan ini, selain itu ketika mengatur leverage di bawah posisi, perlu diperhatikan arah, setiap posisi memiliki 2 nilai leverage, satu leverage multi-posisi, satu leverage kosong. |…|…|…|
Ringkasan Pertanyaan

Tuliskan kunci akses , kunci rahasia , dan kata sandi yang sesuai

Passphrase harus disiapkan dan disimpan sendiri saat meminta V3 API KEY.

# 注意:如果托管者版本比较旧,需要更新托管者。
# 注意:Futures_OP 4 错误,检查是不是 策略代码中使用了 exchange.IO 调用了 V1 接口(交易所配置API KEY 配置的V3 KEY)。
memperbarui
2019.2.17 Pembaruan terhadap batasan kesalahan dari 1-40 ◦ untuk jangkauan pengaturan Leverage untuk kontrak perpetual. Setiap mata uang memiliki berbagai macam pengaturan leverage: Kontrak mata uang dan leverage
| BTC | 1 ~ 100 |
| LTC | 1 ~ 40 |
| ETH | 1 ~ 100 |
| ETC | 1 ~ 40 |
| XRP | 1 ~ 40 |
| EOS | 1 ~ 100 |
| BCH | 1 ~ 40 |
| BSV | 1 ~ 40 |
| TRX | 1 ~ 20 |
KEY API untuk aplikasi akun baru, error: GetAccount: type assertion to []interface{} failed Ini adalah karena antarmuka kembali: {“total_avail_balance”:“0”,“contracts”:null”, “equity”:“0”,“margin_mode”:“fixed”} contracts memiliki atribut null. Masalah ini sudah bisa diatasi.
Optimasi OKEX
4、获取单个/所有合约账户信息接口
GET /api/futures/v3/accounts//GET /api/futures/v3/accounts/{currency}:
原返回参数增加:挂单冻结保证金和持仓已用保证金(同逐仓);
Masalah ini sudah bisa diatasi.
Informasi kepemilikan di bawah posisi Profit atribut perubahan. Pada saat perorangan, kontrak memegang data posisi Profit Masalah atribut, karena: GET /api/futures/v3/position Interface Data perorangan yang dikembalikan , long_pnl_ratio, sifatnya dalam bentuk bilangan kecil dari yield, bukan bilangan kecil dari yield, yaitu: long_pnl_Ratio 0.1 berarti 10% bukan 0.1% 。
Pembaruan Kontrak Kuartal Perbarui tanggal 15 Maret 2019 pukul 19.30. Kontrak kuartal benar dimetakan sebagai BTC-USD-190628 , (contoh BTC) 。
Hal-hal di atas memerlukan pengunduhan moderator terbaru.