0
Follow
0
Followers
Tại sao hôm nay tôi liên tục gặp lỗi khi đọc dữ liệu Huobi?
Created 2020-07-07 13:29:09 Updated 2020-07-07 13:38:48
1
1520
Trong vài ngày trước, tôi đã đọc dữ liệu về đồng tiền mã hóa và ngày hôm nay nó đã cho tôi một số lỗi, thậm chí tôi đã thay đổi nó thành một số đơn giản như sau:
def main():
records = exchange.GetRecords(PERIOD_H1)
Log ((("Dữ liệu k đầu tiên là, Time:", records[0]["Time"], "Open:", records[0]["Open"], "High:", records[0]["High"])
Log ((("Điều liệu gốc k thứ hai là,Time:", records[1]["Time"], "Close:", records[1]["Close"])
Log ((Current K-Line ((Current K-Line)) và records[-1], "The Last K Line", records[-2])
Hoặc có lỗi.
GetRecords: type assertion to []interface{} failed
Tôi sử dụng cặp giao dịch tùy chỉnh của token, 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
