Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Can't init client with session and signature #294

Open
Assignees
Labels
bugSomething isn't working
@omertheroot

Description

Describe the bug
Since reading pine indicators without auth is not possible anymore, I need to init my client with session and signature cookies. (loginUser frequently asks for captcha so i retrived cookies from my browser). However, even if my account has essential plan, I can not fetch any indicators.

The maximum number of studies per chart has been reached for current subscription tyo1-charts-free-3-tvbs-gq18b-3@tyo1-charts-free-3-tvbs-gq18b-3

Is it something about the signature cookie starting with "v3" instead of "v2" or "v1"?

The way i init my client:

const client = new TradingView.Client({
 session: "<session>",
 signature: "<signature that starts with 'v3:' >",
 location: "https://tr.tradingview.com",
});

To Reproduce
Initalize your client with the cookie method. Try to fetch some indicators.

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /