0
Follow
0
Followers
Pourquoi ai-je continué à recevoir des erreurs lors de la lecture des données Huobi aujourd'hui ?
Created 2020-07-07 13:29:09 Updated 2020-07-07 13:38:48
1
1520
J'ai lu correctement les données de mon bitcoin ces derniers jours, et aujourd'hui, il m'a envoyé une erreur, même si je l'ai transformée en quelque chose d'aussi simple que:
def main():
records = exchange.GetRecords(PERIOD_H1)
Log (((" La première ligne de données de la ligne k est, Time:", records[0]["Time"], "Open:", records[0]["Open"], "High:", records[0]["High"])
Log (((" La deuxième racine de la ligne k est, Time:", records[1]["Time"], "Close:", records[1]["Close"])
Log (Ligne K actuelle)[-1], "La dernière ligne K", records[-2])
Des erreurs ?
GetRecords: type assertion to []interface{} failed
J'utilise une paire de transactions personnalisée avec Bitcoin, 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
