View Full Version : Is there a way to get simulated trades in a strategy?
NetTecture
07-28-2009, 08:08 AM
i.e. complete trade setups that execute against a simulated account, not against the market?
Assumption: My strategy has a high hit rate under good market conditions. Und wrong ones, i get a series of total wipes.
I would like to move it to sim ater a wipeout until I get a positive trade again.
Seems impossible. Just checking.
NinjaTrader_Bertrand
07-28-2009, 08:24 AM
NetTecture, for you would need to start the strategy on the Sim101 account then and monitor when it would be approriate to start it on the live account then. You can perhaps work something out where the strategy is continuously run in Sim and then you write a live trade flag to a txt file and access this as filter in the live version then.
NetTecture
07-28-2009, 08:27 AM
ok, lets get really crazy.
How do you run strategies? I assume in separate appdomains. Any trust issue?
Because... if I am not limited here, I could use one of the nice inter pricess communication features of .net to get some shared memory style behavior for a variable. THere are some constructs available in .NET that work with named elements that are unique per machine (and I can easily set a GUID + symbol for that).
This actually is a working idea ;) Not one I like too much, but a workng setup.
NinjaTrader_Bertrand
07-28-2009, 08:36 AM
You can certainly run multiple strategies simultaneously, while cross strategy communication is not supported offically, some people have found success working with this idea (our forums contain threads on this).
NetTecture
07-28-2009, 08:36 AM
Thanks. I will do some playing around with that ;)
Adding "virtual positions" may be something to add ;)