我正在使用'get_historical_klines'(http://python-binance.readthedocs.io/en/latest/binance.html#binance.client.Client.get_historical_klines)从binance中检索历史数据
我返回的文档是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
Python-Binance API包装器并非正式来自Binance,但它使用了Binance API。在Binance的Rest API中记录了kline /烛台标题
以下是该文档中提供的示例和列标题。
[
[
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.
]
]