0
Follow
0
Followers
PINE 编写的策略,币安实盘,一直报GetRecords: 429: {"code":-1003,"msg":"Too many requests; current limit of IP
Created 2023-01-28 14:39:34
4
1052
long_in = ta.crossover(mafast, maslow) and maslow > nbEma
long_out = ta.crossunder(mafast, maslow) and maslow > nbEma
short_in = ta.crossunder(mafast, maslow) and maslow < nbEma
short_out = ta.crossover(mafast, maslow) and maslow < nbEma
if long_in
strategy.entry("MA2CrossLE", strategy.long, comment="MA2CrossLE")
if long_out
strategy.close("MA2CrossLE", strategy.long, comment="MA2CrossLE")
if long_in
strategy.entry("MA2CrossLE", strategy.short, comment="MA2CrossLE")
if short_out
strategy.close("MA2CrossLE", strategy.short, comment="MA2CrossLE")
代码里面就简单写了下双均线,其他什么都没有,咨询了下工单,说是轮询次数太多导致的。但是pine没有设置轮询时间的地方呀,请求大神们解答下
Related Recommendations
Inventor Quant Workflow FAQ (Continuously Updated)Financial Magic Zone Global KOL RecruitmentFAQ Summary (Updating...)PINE Language Introductory Tutorial of FMZ QuantPrimary Tutorial of Strategy Writing with FMZ Quant Trading Platform (Must Read)Getting Started with FMZ Quant Trading Platform (Must Read)MyLanguage DocFMZ PINE Script DocNotes & Explanation of Futures Reverse Doubling Algorithm StrategySolutions to Obtaining Docker Http Request Message
