Problem with get private indicator #254
Unanswered
BlackPhoenixSlo
asked this question in
Q&A
Replies: 1 comment
-
i got same error. how to fix it? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Tradingview changed some metadata and even get private indicator doesn't work.
`const TradingView = require('@mathieuc/tradingview');
/**
*/
process.argv[2] = "gkxr8eu7va2mgfdvcOMITED"
process.argv[3] = "v3:hR+9bFzBLoHRuCOMITED"
//const id = "7pxbwffocii753w2z5jjdq0xf3jb0kri";
//const certificate = "v3:BwppgofWBHNGegxr2nX7Za9neYzpMP7hzqaW71vx3xk=";
if (!process.argv[2]) throw Error('Please specify your 'sessionid' cookie');
if (!process.argv[3]) throw Error('Please specify your 'signature' cookie');
const client = new TradingView.Client({
token: process.argv[2],
signature: process.argv[3],
});
const chart = new client.Session.Chart();
chart.setMarket('BINANCE:BTCEUR', {
timeframe: 'D',
});
TradingView.getPrivateIndicators(process.argv[2]).then((indicList) => {
indicList.forEach(async (indic) => {
});
});
`
Here is result:
akabasej@Jakas-MacBook-Air TestPackagePotFullVersionPrivate % node _AllPrivateIndicators.js
Credentials error: Wrong or expired sessionid/signature
^C
jakabasej@Jakas-MacBook-Air TestPackagePotFullVersionPrivate % node _AllPrivateIndicators.js
Credentials error: Wrong or expired sessionid/signature
^C
jakabasej@Jakas-MacBook-Air TestPackagePotFullVersionPrivate % node _AllPrivateIndicators.js
Error: Inexistent or unsupported indicator: "undefined"
Error: Inexistent or unsupported indicator: "undefined"
Error: Inexistent or unsupported indicator: "undefined"
Error: Inexistent or unsupported indicator: "undefined"
Error: Inexistent or unsupported indicator: "undefined"
Error: Inexistent or unsupported indicator: "undefined"
Error: Inexistent or unsupported indicator: "undefined"
Error: Inexistent or unsupported indicator: "undefined"
Error: Inexistent or unsupported indicator: "undefined"
Error: Inexistent or unsupported indicator: "undefined"
Bug is in .mist getPrivateindicator function
Beta Was this translation helpful? Give feedback.
All reactions