You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JsonErroratSocket.sendCommand(C:\Users\mazep\Desktop\Projects\TS\TradeBot\node_modules\xapi-node\build\core\Socket\SocketConnection.js:60:23)
at C:\Users\mazep\Desktop\Projects\TS\TradeBot\node_modules\xapi-node\build\core\Socket\Socket.js:119:33atnewPromise(<anonymous>)atObject.tradeTransaction(C:\Users\mazep\Desktop\Projects\TS\TradeBot\node_modules\xapi-node\build\core\Socket\Socket.js:103:24)atObject.g2(C:\Users\mazep\Desktop\Projects\TS\TradeBot\dist\index.js:93:14){params: {reason: {code: 'BE11',explain: 'Position not found (#<POSITION_ID>)'},transaction: {command: 'tradeTransaction',type: 'Socket',request: [Object],response: [Object],transactionId: '164089816808500060',createdAt: [Time],status: 3,transactionPromise: [Object],urgent: true,stack: 'Error\n'+' at Socket.sendCommand (C:\\Users\\mazep\\Desktop\\Projects\\TS\\TradeBot\\node_modules\\xapi-node\\build\\core\\Socket\\SocketConnection.js:60:23)\n'+' at C:\\Users\\mazep\\Desktop\\Projects\\TS\\TradeBot\\node_modules\\xapi-node\\build\\core\\Socket\\Socket.js:119:33\n'+' at new Promise (<anonymous>)\n'+' at Object.tradeTransaction (C:\\Users\\mazep\\Desktop\\Projects\\TS\\TradeBot\\node_modules\\xapi-node\\build\\core\\Socket\\Socket.js:103:24)\n'+' at Object.g2 (C:\\Users\\mazep\\Desktop\\Projects\\TS\\TradeBot\\dist\\index.js:93:14)'}}}
The text was updated successfully, but these errors were encountered:
Hi there, the issue only occur when trying to close STC position doesn't happen when trying to close CRT position. I'm using XTB demo account.
code:
also here is error dump:
The text was updated successfully, but these errors were encountered: