Closed SilvioLuis closed 3 years ago
Maybe your real account was created for MetaTrader 4 platform?
@SilvioLuis If you are using with XTB account, you should use like this
const x = new XAPI({
accountId: '...',
password: '...',
host: 'ws.xtb.com', // only for XTB accounts
type: 'real' // or demo
});
@SilvioLuis If you are using with XTB account, you should use like this
const x = new XAPI({ accountId: '...', password: '...', host: 'ws.xtb.com', // only for XTB accounts type: 'real' // or demo });
Thx!!!!
First, I want to thank you very much for this repository, it has helped me a lot!
I created an application that uses this module, and in DEMO it works perfectly.
However, when you put the actual data, I get this return:
CODE:
RETURN: