Type/to search
0
Follow
0
Followers
GetRecords()는 반환되는 레코드 수를 설정할 수 있나요?
Help
Created 2020-05-06 21:44:53  Updated 2020-05-06 22:04:25
 3
 1624

10초마다 반복해서 나타납니다.
Too Many Requests

GetRecords () 는 너무 많은 데이터를 반환하고 있습니다. 500개의 K선마다, 사실 최신 데이터와 몇 개의 역사를 더하면 충분합니다.

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)