TradingView-API icon indicating copy to clipboard operation
TradingView-API copied to clipboard

Error on example CustomTimeframe

Open kelun-zhang opened this issue 2 years ago • 3 comments

Describe the bug Error shows up when I run CustomTimeframe example

To Reproduce node examples/CustomTimeframe.js ${SESSION}

Expected behavior No error msg should show up

Environment:

  • OS: MAC OS
  • Node version: 16.4

Additional context error msg:

US100 loaded !
Series error: seconds_not_entitled

kelun-zhang avatar Jun 10 '22 06:06 kelun-zhang

Are you using a premium account ?

Mathieu2301 avatar Jun 10 '22 21:06 Mathieu2301

I have the same behavior with free account but when I use a premium token it works.

Mathieu2301 avatar Jun 10 '22 21:06 Mathieu2301

@Mathieu2301 how do u set the sessionid?

kd-s-t avatar Jul 03 '22 15:07 kd-s-t