我正在使用“get_historical_klines”(http://python-binance.readthedocs.io/en/latest/binance.html#binance.client.Client.get_historical_klines)从币安检索历史数据
我返回的文档是 OHLCV,但似乎并非如此,我从 websocket 获得了 10 个数字列标题,但在文档中找不到任何 10 个列标题是什么?
排序到数据帧中的 websocket 示例。
0 1 2 3 4 \
0 1526397360000 0.00149350 0.00149360 0.00149200 0.00149360
5 6 7 8 9 10 11
0 1535.88000000 1526397419999 2.29395137 30 1477.75000000 2.20716183 0
Run Code Online (Sandbox Code Playgroud)
Python-Binance API 包装器并非来自 Binance 的官方产品,但它使用了 Binance API。币安的Rest API中记录了 kline/candlestick 标头
这是该文档中提供的示例和列标题。
[
[
1499040000000, // Open time
"0.01634790", // Open
"0.80000000", // High
"0.01575800", // Low
"0.01577100", // Close
"148976.11427815", // Volume
1499644799999, // Close time
"2434.19055334", // Quote asset volume
308, // Number of trades
"1756.87402397", // Taker buy base asset volume
"28.46694368", // Taker buy quote asset volume
"17928899.62484339" // Ignore.
]
]
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2917 次 |
| 最近记录: |