Hey guys has anyone tried to make an automated strategy in tradestation that involves hedging?
Since USA doesnt allow hedging, i assume a way around it is to have bot A run, and make a bot "B" that runs on another account, but how do i get bot B to realize what bot A is doing?
Maybe when i generate a position in bot A have it write to a log file, and have bot B read it? how would i do that?
There isn't a native reserve word for reading files unfortunately, only writing them.
You could accomplish it by linking a DLL and writing C++ code to relay the info between two running strategies. It is an advanced topic so would need to hire it done if you are not comfortable doing it yourself.
Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.
Need help? 1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first. 2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses. 3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make. 4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance. 5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers. 6) Help using the forum? Watch this video to learn general tips on using the site.
If you want to support our community, become an Elite Member.