File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -217,6 +217,7 @@ module.exports = class Client {
217217 * @prop {string } [signature] User auth token signature (in 'sessionid_sign' cookie)
218218 * @prop {boolean } [DEBUG] Enable debug mode
219219 * @prop {'data' | 'prodata' | 'widgetdata' } [server] Server type
220+ * @prop {string } [location] Auth page location (For france: https://fr.tradingview.com/)
220221 */
221222
222223 /** Client object
@@ -234,6 +235,7 @@ module.exports = class Client {
234235 misc . getUser (
235236 clientOptions . token ,
236237 clientOptions . signature ? clientOptions . signature : '' ,
238+ clientOptions . location ? clientOptions . location : "https://tradingview.com" ,
237239 ) . then ( ( user ) => {
238240 this . #sendQueue. unshift ( protocol . formatWSPacket ( {
239241 m : 'set_auth_token' ,
You can’t perform that action at this time.
0 commit comments