0
Follow
0
Followers
오늘 Huobi 데이터를 읽는 동안 계속 오류가 발생하는 이유는 무엇인가요?
Created 2020-07-07 13:29:09 Updated 2020-07-07 13:38:48
1
1520
지난 몇일 동안 코인 데이터를 정상적으로 읽었는데, 오늘에는 오류가 계속 나타났는데, 제가 가장 간단한 것으로 바꾸어 놓았는데도 불구하고:
def main():
records = exchange.GetRecords(PERIOD_H1)
Log (("첫 번째 k라인 데이터는,Time:", records[0]["Time"], "Open:", records[0]["Open"], "High:", records[0]["High"])
Log (((" 두 번째 k줄 데이터는,Time:", records[1]["Time"], "Close:", records[1]["Close"])
로그 (log) "현재의 K라인 (current K-Line) "[-1], "최고의 K선", records[-2])
또는 오류가 발생했을 때
GetRecords: type assertion to []interface{} failed
저는 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
