PureBytes Links
Trading Reference Links
|
Dear friends,
I am testing a simple 10-day channel b/o model LONG only on daily data.
I bet on each trade $10,000.00 and the trade is executed at the next
open.
I am using the option page to set up the $10,000.00 to keep the code
simple hence the decision to trade $10,000.00 is NOT in my code.
On certain stocks it is all quite ok however on some stocks ALL the
trades, as seen on the list of trades, shows the right entry and exit
price but the single p/l is totally wrong for all the trades.
I understand it could be the data but I can have one or 2 spikes and the
errors should be limited in that specific data.
Could it be a possible bug?
Should I, instead, decide to write the code to tell how many stocks to
trade instead to allow Tradestation to do it?
I really need your kind help
Regards
Riccardo
|