Is there any plan to add this anytime soon? It is more than inadequate to have an order entry function with no quantity parameter !!!
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
AtmStrategyCreate quantity parameter
Collapse
X
-
AtmStrategyCreate quantity parameter
Is there any plan to add an overload function to AtmStrategyCreate with a quantity parameter? This function is very limited without being able to specify a quantity, because you cannot do position sizing without that parameter. If I want to trade 20 contracts on 1 trade and 10 contracts on the next trade because market conditions change, or a trade setup is high risk, I cannot do that programatically right now, because I cannot change the lot/share quantity using AtmStrategyCreate.
Is there any plan to add this anytime soon? It is more than inadequate to have an order entry function with no quantity parameter !!!Last edited by monpere; 02-23-2009, 03:12 PM.Tags: None
-
Hi monpere, thanks for the suggestion!
In your case you could for example call two different ATM strategy templates according to your quantity needs.
To check the ATM position quantity you can use - GetAtmPositionQuantity() - http://www.ninjatrader-support.com/H...nQuantity.htmlBertrandNinjaTrader Customer Service
-
No, I would have to have to call 1000+ different ATM strategy templates. I don't just want to trade 10 shares or 20 shares. I want to trade any number of shares from 1 to infinity. Here is the standard formula for share sizing: Shares = Risk_in_dollars / Stop_size; The number of shares/contracts I can possibly trade is infinite. Can NT handle 100, 1000, 10,000, infinite ATM templates?
I suggested this 2 years ago, and was told "Thanks, we'll add it to the enhancement list." then too. IF you don't have the man power, give me that portion of code, I will add that overload for you for free in 5 minutes flat.
Originally posted by NinjaTrader_Bertrand View PostHi monpere, thanks for the suggestion!
In your case you could for example call two different ATM strategy templates according to your quantity needs.
To check the ATM position quantity you can use - GetAtmPositionQuantity() - http://www.ninjatrader-support.com/H...nQuantity.htmlLast edited by monpere; 02-23-2009, 04:54 PM.
Comment
-
Yes, basically, I need to re-create the functionality of the entire ATM feature in NinjaScript, because, NT is missing a standard parameter which every software package offers as a standard in any of their order entry functions.
EnterLong(), EnterLongLimit(), EnterLongStop(), EnterLongStopLimit(), EnterShort(), EnterShortLimit(), EnterShortStop(), EnterShortStopLimit(), all specify a qunatity, why does AtmStrategyCreate() does NOT specify a quantity?
You should send this thread to Ray, and see what his thoughts are on this.
Originally posted by NinjaTrader_Bertrand View PostHi monpere, I see your point now in your first post it sounded like you needed 2 different scenarios.
If you need more fine tuning for your money management strategies, you will unfortunately need to program your own Stop / Target routine in NinjaScript.Last edited by monpere; 02-23-2009, 05:19 PM.
Comment
-
Originally posted by NinjaTrader_Bertrand View PostBecause you call a specific, predefined ATM Strategy template.
That being said enhancements to this functionality have already been voiced and are on our list for future releases of NinjaTrader.
The capability that monpere is referring to has been a throrn in my side for some time now as well.
What's the status?
Comment
-
I was afraid of that, Bertrand. But as monpere so articulately pointed out, when you trade varied size (in stocks or futures), the position sizing permutations become overwhelming (100s to 1000s actually). It would be such a waste of time to go down that road, don't you agree?
Now please be honest, are there any plans to ever get this implemented? Or should I stop holding my breath?
Such a simple change on NTs part that delivers such a big benefit for your customers...
Comment
-
Hi there NinjaTrader_Bertrand and fosch . I see that this thread is 13 years old, I am having this same issue, needing to start an ATM with size determined on the fly by the code. EXACT same scenario as fosch .
Since it's been over 10 years I am hoping that it now possible to start an ATM strategy from ninjascript with a specific share size?
If not, can anyone offer a workaround? trade size will be different for every single trade for me.
Thank you kindly.
Comment
-
Hello focus333,
These are locked by the template. The template has to have the target quantities match the total quantity. Because of this, the quantiles have to be setup in the template. For full control, don't use AtmStrategy methods and template and code the stop and target behavior directly into the script.Chelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by goodknight777, Today, 08:43 AM
|
1 response
4 views
0 likes
|
Last Post Today, 09:25 AM | ||
Started by kramnor2001, Yesterday, 02:30 PM
|
3 responses
20 views
0 likes
|
Last Post
by kramnor2001
Today, 09:20 AM
|
||
Started by ninza33, Today, 09:10 AM
|
0 responses
2 views
0 likes
|
Last Post
by ninza33
Today, 09:10 AM
|
||
Started by Padan, Today, 02:02 AM
|
3 responses
11 views
0 likes
|
Last Post Today, 08:54 AM | ||
Started by Tim-c, Today, 08:36 AM
|
1 response
3 views
0 likes
|
Last Post Today, 08:45 AM |
Comment