Type/to search
0
Follow
1
Followers
Questions sur _N(Num, Précision)
Help
Created 2022-10-27 12:57:04  
 7
 1113

TypeError: not a function at est toujours en cours_N (FILE) at main (FILE:xxx)
Je n'ai aucun problème avec le code.
Y a-t-il des restrictions à l'utilisation de cette fonction ?

Related Recommendations
Comment
All comments (7)

    img img
    代码没动,但现在已经不报错了 。。。

    4 years ago

    _N这个函数使用时主要是需要注意传入的第一个参数是不是数值类型。

    4 years ago

    估计忘了初始化 。。。

    4 years ago

    需要发下对应报错位置的代码。

    4 years ago

    另外梦总,同样的pine代码直接从TV复制过来,回测结果差的有点大。看了日志,发现有的地方TV开仓了但是FMZ没开,为什么会出现这样的情况呢? img img

    4 years ago

    有的地方TV开仓了但是FMZ没开是指模拟的情况么?模拟的k线走向是算法模拟的估计有差异导致开仓择时这个点数据不一样吧。

    4 years ago

    对,模拟的,现在实盘级别ticker还不支持,等跑下实盘看看啥情况

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