0
Follow
0
Followers
Có vấn đề gì với cách Huobi thu thập thông tin về một hợp đồng cụ thể?
Created 2020-11-15 08:57:36
2
1446
x=exchange.IO("api", "GET", "/linear-swap-api/v1/swap_contract_info","&contract_code=BSV-USDT")
Log(x)
火币获取某个合约的信息写法错在哪了?我上面获取到的是全部合约的信息,而不是指定合约的。
附:下面是官方的API说明
GET linear-swap-api/v1/swap_contract_info
contract_code false string 合约代码,不填查询所有合约 BTC-USDT
Related Recommendations
How to Specify Different Versions of Data for the Rented Strategy by Its Rental Code MetadataAdvanced 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?
Comment
All comments (2)
火币就这样,非加密接口直接用requests包就好
import requests
import json
result = requests.get('https://api.hbdm.com/linear-swap-api/v1/swap_contract_info?contract_code=BSV-USDT')
data = result.json()
Log(data)
6 years ago
- 1

