0
Follow
0
Followers
Por que continuo recebendo erros ao ler dados da Huobi hoje?
Created 2020-07-07 13:29:09 Updated 2020-07-07 13:38:48
1
1520
Os últimos dias eu leio os dados da moeda digital com normalidade, mas hoje eu tenho um erro, mesmo que eu tenha mudado para o mais simples:
def main():
records = exchange.GetRecords(PERIOD_H1)
Log ((("A primeira linha de dados k é,Time:", records[0]["Time"], "Open:", records[0]["Open"], "High:", records[0]["High"])
Log (((" A segunda raiz k é, Time:", records[1]["Time"], "Close:", records[1]["Close"])
Log ("Atual linha K") e records[-1], "A última linha K", records[-2])
Ou um erro.
GetRecords: type assertion to []interface{} failed
Eu usei o par de transações personalizado do bitcoin, o BTC_USD.
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
Comment
All comments (1)
- 1
