Trang thông tin hợp đồng: https://www.kraken.com/zh-cn/features/futures
Trang tài liệu API: https://support.kraken.com/hc/en-us/categories/360001806372-Futures-API
1 hợp đồng 1USD, một số hợp đồng là hợp đồng đồng tiền tệ, sử dụng đồng tiền làm thế chấp. Một số hợp đồng sử dụng BTC làm thế chấp.
Lợi thế tối đa 50 lần
Thời gian giao hàng: Last Trading
16:00 London time
Month: Last Friday* of the month
Quarter: Last Friday* of a month in the March quarterly cycle (March, June, September, December)
First Trading
For inverse contracts:
16:00 London time
Month: The last Friday* of the calendar month where no contract exists in the following calendar month. // 需要符合条件,接下的月份没有合约产生?
Quarter: The last Friday* of the calendar month where a contract exists in the following calendar month. // 当每个月最后一个周五,季度合约变为月合约,也就是接下来一个月只有一个合约时,产生新季度合约?
The fixed maturity listing schedule results in there always being listed simultaneously two contracts:
- a Month contract which matures in between 1 and 42 days
- a Quarter contract which matures in between 42 and 130 days
For linear contracts on altcoins with less liquidity the listing schedule varies.
Thông tin về vị trí Không cung cấp giao diện giữ vị trí, đóng cửa vị trí, nắm giữ bảo hiểm, đòn bẩy vị trí, lỗ vị trí.
Không hỗ trợ giao diện K-line, gọiGetRecordsKhông được hỗ trợ.
Không được hỗ trợGetOrderHỏi về giao diện đơn đặt hàng, và nhận được thông báo “not support”.
Tiếp thị giao diện tick, chỉ mua và bán một lần, giá hiện tại, không hỗ trợ giá cao nhất và thấp nhất 24 giờ. High Low của GetTicker sử dụng mua và bán một lần hiện tại để điền.
Giao dịch cặp thiết lập, thiết lậpXBT_USDĐó là hợp đồng BTC, đặt trong mã chiến lượcexchange.SetContractType("swap")Đối với hợp đồng vĩnh viễn của BTC, mã hợp đồng của sàn giao dịch tương ứng:pi_xbtusdThiết lậpexchange.SetContractType("month")Hợp đồng BTC trong tháng. Ví dụ:fi_xbtusd_191227。
Nếu muốn giao dịch:pv_xrpxbtHợp đồng, cần thiết để đặt cặp giao dịch là:XRP_XBTGọi điện.exchange.SetContractType("swap")chức năng.
GetAccountTrong dữ liệu mà hàm trả vềFrozenStockslà 0 vì trong giao diện của sàn giao dịch, vốn nắm giữ và vốn nắm giữ được viết cùng nhau, không thể phân biệt,StocksSố tiền hiện có:
SetMarginLevelKhông thể thiết lập đòn bẩy, kích thước đòn bẩy chỉ có thể được thiết lập trên trang giao dịch ((API giao dịch không cung cấp giao diện để thiết lập đòn bẩy và không có tham số để thiết lập đòn bẩy trong giao diện thứ hai))
Các loại mã hợp đồng
Hợp đồng dựa trên tiền tệ
Vĩnh viễn: pi_xbtusd
Cung cấp:fi_xbtusd_191227 月合约,fi_bchusd_200327 季度合约Thời gian giao hàng: UTC.
Tiếp tục hợp đồng Vĩnh viễn: pv_xrpxbt, hợp đồng sử dụng BTC làm tiền bảo lãnh.
Thông tin hợp đồng có thể được truy cập thông qua giao diện API của sàn giao dịch:
{
"result": "success",
"instruments": [{
"symbol": "pi_xbtusd",
"type": "futures_inverse",
"underlying": "rr_xbtusd",
"tickSize": 0.5,
"contractSize": 1,
"tradeable": true,
"marginLevels": [{
"contracts": 0,
"initialMargin": 0.02,
"maintenanceMargin": 0.01
}, {
"contracts": 500000,
"initialMargin": 0.04,
"maintenanceMargin": 0.02
}, {
"contracts": 1000000,
"initialMargin": 0.06,
"maintenanceMargin": 0.03
}, {
"contracts": 3000000,
"initialMargin": 0.1,
"maintenanceMargin": 0.05
}, {
"contracts": 6000000,
"initialMargin": 0.15,
"maintenanceMargin": 0.075
}],
"fundingRateCoefficient": 8,
"maxRelativeFundingRate": 0.0005,
"retailMarginLevels": [{
"contracts": 0,
"initialMargin": 0.5,
"maintenanceMargin": 0.25
}]
}, {
"symbol": "pv_xrpxbt",
"type": "futures_vanilla",
"underlying": "rr_xrpxbt",
"tickSize": 0.00000001,
"contractSize": 1,
"tradeable": true,
"marginLevels": [{
"contracts": 0,
"initialMargin": 0.02,
"maintenanceMargin": 0.01
}, {
"contracts": 100000,
"initialMargin": 0.04,
"maintenanceMargin": 0.02
}, {
"contracts": 500000,
"initialMargin": 0.06,
"maintenanceMargin": 0.03
}, {
"contracts": 2000000,
"initialMargin": 0.1,
"maintenanceMargin": 0.05
}],
"fundingRateCoefficient": 8,
"maxRelativeFundingRate": 0.0005,
"retailMarginLevels": [{
"contracts": 0,
"initialMargin": 0.5,
"maintenanceMargin": 0.25
}]
}, {
"symbol": "fi_xbtusd_191227",
"type": "futures_inverse",
"underlying": "rr_xbtusd",
"lastTradingTime": "2019-12-27T16:00:00.000Z",
"tickSize": 0.5,
"contractSize": 1,
"tradeable": true,
"marginLevels": [{
"contracts": 0,
"initialMargin": 0.02,
"maintenanceMargin": 0.01
}, {
"contracts": 500000,
"initialMargin": 0.04,
"maintenanceMargin": 0.02
}, {
"contracts": 1000000,
"initialMargin": 0.06,
"maintenanceMargin": 0.03
}, {
"contracts": 3000000,
"initialMargin": 0.1,
"maintenanceMargin": 0.05
}, {
"contracts": 6000000,
"initialMargin": 0.15,
"maintenanceMargin": 0.075
}],
"retailMarginLevels": [{
"contracts": 0,
"initialMargin": 0.5,
"maintenanceMargin": 0.25
}]
}, {
"symbol": "fi_ltcusd_200327",
"type": "futures_inverse",
"underlying": "rr_ltcusd",
"lastTradingTime": "2020-03-27T16:00:00.000Z",
"tickSize": 0.01,
"contractSize": 1,
"tradeable": true,
"marginLevels": [{
"contracts": 0,
"initialMargin": 0.02,
"maintenanceMargin": 0.01
}, {
"contracts": 250000,
"initialMargin": 0.04,
"maintenanceMargin": 0.02
}, {
"contracts": 500000,
"initialMargin": 0.06,
"maintenanceMargin": 0.03
}, {
"contracts": 2000000,
"initialMargin": 0.1,
"maintenanceMargin": 0.05
}, {
"contracts": 5000000,
"initialMargin": 0.15,
"maintenanceMargin": 0.075
}],
"retailMarginLevels": [{
"contracts": 0,
"initialMargin": 0.5,
"maintenanceMargin": 0.25
}]
}, {
"symbol": "in_xbtusd",
"type": "spot index",
"tradeable": false
}, ...],
"serverTime": "2019-12-12T08:25:26.549Z"
}