While live trading a coded strategy, exit quantities are not matching entry quantities even though the same quantity variable is being passed into all the orders. When backtesting, quantities all match perfectly. When live trading a sim101 or Rithmic account, they do not match the vast majority of the time. I've included a screenshot of the live performance view to help visualize the problem. I made a post a few weeks back when I was under the impression that the problem was with Rithmic exclusively, but I have since noticed this happening in the sim101 account as well. Thought it would be cleaner to create a new topic. Any help with this is much appreciated!
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Exit Quantities Don't Match Entry Quantities While Live Trading a Strategy
Collapse
X
-
Exit Quantities Don't Match Entry Quantities While Live Trading a Strategy
Hi,
While live trading a coded strategy, exit quantities are not matching entry quantities even though the same quantity variable is being passed into all the orders. When backtesting, quantities all match perfectly. When live trading a sim101 or Rithmic account, they do not match the vast majority of the time. I've included a screenshot of the live performance view to help visualize the problem. I made a post a few weeks back when I was under the impression that the problem was with Rithmic exclusively, but I have since noticed this happening in the sim101 account as well. Thought it would be cleaner to create a new topic. Any help with this is much appreciated!
Tags: None
-
Hello irochester,
Thank you for writing in.
Before providing further information, I would like to verify:- Is this a NinjaScript Strategy that you are creating and working on yourself?
- Or, did you get this NinjaScript Strategy from someone else or a 3rd party developer?
Clayton G.NinjaTrader Customer Service
-
-
Hello irochester,
Thank you for your reply.
Is the strategy using By Strategy Position or Per Entry Execution for its Stop and Target handling?
Can you provide the strategy along with instructions to reproduce this behavior? You can export the strategy from Tools > Export > NInjaScript Addon. Do not check the box to export as a compiled assembly or we will not be able to review your logic. Please attach the resulting .zip file to your reply.
Thanks in advance; I look forward to assisting you further.Kate W.NinjaTrader Customer Service
Comment
-
-
Hello irochester,
Thank you for your reply.
Absolutely. You can send those via email to us at scriptingsupport [at] ninjatrader [dot] com. Any code provided will be kept confidential.
Please reference the following ticket number in the body of the email: 3641253 ATTN Kate W. and include a link to this post.
Thanks in advance; I look forward to assisting you further.Kate W.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by cmtjoancolmenero, Today, 02:31 PM
|
1 response
4 views
0 likes
|
Last Post Today, 02:42 PM | ||
Started by tradebot, Today, 01:25 PM
|
2 responses
8 views
0 likes
|
Last Post
by tradebot
Today, 02:36 PM
|
||
Started by merc410, Today, 03:41 AM
|
4 responses
27 views
0 likes
|
Last Post
by merc410
Today, 02:27 PM
|
||
Started by Graci117, Yesterday, 11:40 PM
|
2 responses
17 views
0 likes
|
Last Post
by Graci117
Today, 02:26 PM
|
||
Started by Taddypole, Today, 02:25 PM
|
0 responses
1 view
0 likes
|
Last Post
by Taddypole
Today, 02:25 PM
|
Comment