Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Any idea what I've got wrong here?
Collapse
X
-
Suggest you print timestamps from each BarsInProgress so you know when the next update occurs for that particular instrument and try to correlate the two.
You should also try the expanded signature for order placement that contains the BarsInProgress parameter.Josh P.NinjaTrader Customer Service
Comment
-
I think you have solved the problem! Not exactly sure why, but changing the ExitLong() and ExitShort() to your extended version seems to have fixed the problem. The only anomaly I saw in the Output was this little sequence:
This is the Entries:
/8/2009 11:00:00 PM Entered internal PlaceOrder() method at 6/8/2009 11:00:00 PM: Action=SellShort OrderType=Market Quantity=1 LimitPrice=0 StopPrice=0 SignalName='ESS' FromEntrySignal=''
1 6/8/2009 11:00:00 PM
6/8/2009 11:00:00 PM Entered internal PlaceOrder() method at 6/8/2009 11:00:00 PM: Action=SellShort OrderType=Market Quantity=1 LimitPrice=0 StopPrice=0 SignalName='ZBS' FromEntrySignal=''
And this is the exits:
6/10/2009 12:30:00 PM Entered internal PlaceOrder() method at 6/10/2009 12:30:00 PM: Action=BuyToCover OrderType=Market Quantity=1 LimitPrice=0 StopPrice=0 SignalName='XESS' FromEntrySignal='ESS'
6/10/2009 12:20:00 PM Entered internal PlaceOrder() method at 6/10/2009 12:20:00 PM: Action=BuyToCover OrderType=Market Quantity=1 LimitPrice=0 StopPrice=0 SignalName='XZBS' FromEntrySignal='ZBS'
1 6/10/2009 12:30:00 PM
6/10/2009 12:30:00 PM Entered internal PlaceOrder() method at 6/10/2009 12:30:00 PM: Action=BuyToCover OrderType=Market Quantity=1 LimitPrice=0 StopPrice=0 SignalName='XZBS' FromEntrySignal='ZBS'
6/10/2009 12:30:00 PM Ignore order amendment: Action=BuyToCover OrderType=Market Quantity=1 LimitPrice=0 StopPrice=0 SignalName=XZBS' FromEntrySignal='ZBS' Reason='Order already has this stop price/limit price/quantity'
This is on the very first order of the test period and seems to be the only time I get a statement that an order was ignored. Does it mean anything of significance?
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Taddypole, 04-26-2024, 02:47 PM
|
1 response
10 views
0 likes
|
Last Post Today, 12:10 PM | ||
Started by futtrader, 04-21-2024, 01:50 AM
|
6 responses
58 views
0 likes
|
Last Post
by futtrader
Today, 11:54 AM
|
||
Started by sgordet, Today, 11:48 AM
|
0 responses
4 views
0 likes
|
Last Post
by sgordet
Today, 11:48 AM
|
||
Started by Trader146, Today, 11:41 AM
|
0 responses
5 views
0 likes
|
Last Post
by Trader146
Today, 11:41 AM
|
||
Started by jpapa, 04-23-2024, 07:22 AM
|
2 responses
19 views
0 likes
|
Last Post
by rene69851
Today, 11:39 AM
|
Comment