6
Follow
3
Followers
Hàm Getrecords không thể lấy được biểu đồ K-line trong vài giây
Created 2022-04-06 17:22:56
6
1046
Vâng, trong tài liệu API được đề cập đến trong exchange.GetRecords ((), giá trị của tham số Period ngoài thời gian tiêu chuẩn được xác định ở trên, cũng có thể được truyền vào giá trị số, đơn vị là giây.
Nhưng nếu tôi chạy trên ổ cứng, nó sẽ bị lỗi, tại sao?
Ngoài ra, khi tôi đọc dữ liệu của getrecords, volume đôi khi là 0, nhưng không sai, xin hỏi tại sao?
Phụ lục 1: Hướng dẫn tài liệu

Related Recommendations
Cryptocurrency Spot Multi-Symbol Dual Moving Average Strategy (Teaching)Realization of Fisher Indicator in JavaScript & Plotting on FMZ2021 Cryptocurrency TAQ Review & Simplest Missed Strategy of 10-Time IncreaseCryptocurrency Futures Multi-Symbol ART Strategy (Teaching)Upgrade! Cryptocurrency Futures Martingale StrategyFMZ Based Order Synchronous Management System Design (2)FMZ Based Order Synchronous Management System Design (1)Design a Multiple-Chart Plotting Library60-Line Code Realizing One Thought - Contract Bottom FishingFMZ Billing System Upgrade & Adjustment Announcement
Comment
All comments (6)
①我同样的代码,参数传入period M1,就可以运行,但是写入数字1或者5,就会报上述错误
②显示为volume为0,但是实盘中volume并不是0,所以想问原因是什么?
4 years ago
1、数组长度不足,秒级别的交易所没有提供这些K线,是系统根据订单流成交记录合成的。所以长度较短。越界是您的代码编写错误导致。
2、给出具体场景。截图,标记
4 years ago
- 1


