PyneComp v6.1.1 — maps returned from methods iterate correctly, and request.security…

Fixes

  • A for [k, v] in loop over a map returned by a user method (h.getMap()) or read from a field (hs.get(0).m) put the key into v too; v now gets the value. (#112)
  • In Pine v6, c ? <bool> : na and c ? na : <bool> are now refused with an error, as TradingView refuses them. bool(na) still works, and v5 scripts are unaffected. (#117)
  • [a, b] = request.security(s, tf, f()), where f() returns three values, now compiles and reads the first two values.

This website uses cookies and similar technologies. By continuing to use the site, you accept this. Details in our Privacy Policy.