Type/to search
0
Follow
0
Followers
GetRecords() có thể thiết lập số lượng bản ghi được trả về không?
Help
Created 2020-05-06 21:44:53  Updated 2020-05-06 22:04:25
 3
 1624

Tôi sẽ xuất hiện mỗi vòng 10 giây.
Too Many Requests

Tôi tự hỏi liệu có phải là GetRecords (() trả về quá nhiều dữ liệu mỗi lần 500 dòng K mỗi lần, thực tế tôi chỉ cần dữ liệu mới nhất cộng với một vài lịch sử, giới hạn số lượng sẽ là tốt

Related Recommendations
Comment
All comments (3)

    exchange.GetRecords(PERIOD_M1)
    Sleep(1000 * 20)
    20秒一次同样会出Too Many Requests导致策略中断
    GetRecords只有时间周期参数没有数量参数 要怎么解决这个Too Many Requests的问题

    6 years ago

    你用的是自己的服务器吧

    6 years ago

    可以,看文档介绍,K线一般很宽松,不会出现这个问题,你用的是自己的服务器吧

    6 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)