8
Follow
1374
Followers
FTX交易所使用汇总
API 文档地址: https://docs.ftx.com/#rest-api
合约相关资料: https://help.ftx.com/hc/zh-cn/articles/360032938532-完整合约要素及参考公式
现货
现货和期货需要区分,各自封装为独立的交易所对象,添加交易所时需注意,API KEY是通用的。
期货
- 合约使用USD计价结算,使用稳定币入金,冲入划转后,交易所给期货账户计入“美元”,资产为Balance,即合约为金本位合约(非币本位合约,币资产自动折算成了USD)。
- 合约下单量可以是0.0001,具体看交易对币种。
- 交易对以XXX_USD为标准。
- 合约代码:
永续合约:swap
季度合约:quarter
次季度合约:next_quarter
波动率合约,合约代码:BTC-MOVE-0711
期权
- 添加交易所时,添加:
Futures_FTX。 - 期权合约代码:
例如:BTC-20201021-9200-P,是指币种为BTC,2020年10月21日行权的合约,行权价格9200,期权为PUT(看跌期权)。 - FTX期权没有行情接口,但是可以获取当前期权请求,针对请求下单和对手成交。具体可以参看交易所API文档。
- 不支持
GetOrder查询某个ID的订单详情。 - 期权其它接口可以使用
exchange.IO("api", ...)访问,具体参看API文档。
如果是旧版本托管者,则需要更新托管者。
Related Recommendations
Advanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engineHow to install ta-lib on linux docker?5.5 Trading strategy optimization

