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 ageeholdings, 05-04-2024, 03:21 PM
|
1 response
3 views
0 likes
|
Last Post Today, 05:25 AM | ||
Started by claxxical, 05-30-2017, 12:30 PM
|
39 responses
4,501 views
0 likes
|
Last Post
by fiendtrades
Today, 05:12 AM
|
||
Started by tonynt, 05-21-2019, 06:27 AM
|
12 responses
541 views
1 like
|
Last Post
by fiendtrades
Today, 04:56 AM
|
||
Started by alexstox, 10-16-2018, 03:29 PM
|
12 responses
355 views
0 likes
|
Last Post
by Tburg1073
Today, 04:40 AM
|
||
Started by truepenny, Today, 03:59 AM
|
0 responses
5 views
0 likes
|
Last Post
by truepenny
Today, 03:59 AM
|
Comment