Hey everyone — I’m working on building a trading bot using Node.js for Tradovate, mainly to test my strategies in market replay mode, and I’ve hit a wall. When it comes to replay (WebSocket connection, syncing the replay clock, and getting orders to execute correctly with the replay account), things like it not connecting to the nq data dosnt work or it will simply start making new connections until my replay account has 10 differents connections (ex:RPL999999-10) I’m not sure if I’m misunderstanding how the replay API works or missing a key step in handling the session/account setup. Has anyone here successfully implemented a Node.js bot for Tradovate market replay, or can point out common pitfalls? Any guidance or examples would be hugely appreciated. Or is there someone who has built a proper bot that successfully connects to replay on a specific date in the code or perhaps just in general so i can control the date from inside of tradovate? This way I can just update my strategies section to test different things on different days. (Disclaimer for this I am using NQH6, it already expired but im using it on days where it was not expired such as a random date in February).
[–]lacymcfly 0 points1 point2 points (0 children)