Prior to using AtmStrategyCreate(), I want to check that the "strategyTemplateName" to be used, does exist.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Check that ATM Template Name Exists
Collapse
X
-
Check that ATM Template Name Exists
I realise this is probably outside of the official NinjaTrader supported functionality, but does anyone have a suggestion for how to check that a particular ATM Template actually exist?
Prior to using AtmStrategyCreate(), I want to check that the "strategyTemplateName" to be used, does exist.Tags: None
-
Hi Bertrand, I wasn't expecting an answer from NinjaTrader support as I thought it would be in the 'not supported' category, but thanks anyway.
I was hoping that someone in the community may chip in with some advice.
Checking manually is what I do now, but my strategy has many ATM options that could be used, and on a couple of occassions have ended up calling a template that doesn't exist.
I could create an order well away from the market price as a test to see if the template is there, then cancel the order if all is OK, but I don't really like that approach.
Comment
-
You are welcome, I see - well you may be able to put all your templates in a text file and then access it with Streamreader - http://www.ninjatrader-support2.com/...ead.php?t=3476
Comment
-
Hi BertrandOriginally posted by NinjaTrader_Bertrand View PostHi MJT, unfortunately this is not supported, you have to make sure to supply a valid template name in the AtmStrategyCreate().
I see your answer to the question I want to ask was done in 2009
Has this changed ???????????
Richard
Comment
-
Hello Richard,
This has not changed in NinjaTrader 7 and most likely will not change, but I believe it is on our feedback list for consideration in the next major release of NinjaTrader which I will send your vote for this feature to our development team.
Note that it maybe possible to get this information using unsupported code by reading your database file (Documents -> NinjaTrader 7 -> db -> NinjaTrader.sdf) since the "ATM Strategy Template" names are stored in it, but I have not seen this done.JCNinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
650 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
370 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
109 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
574 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
577 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment