If I use AtmStrategyCreate and make 2 orders and then use MyAtmStrategyClose , would it(MyAtmStrategyClose) close all two orders?
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
what is the functionality of MyAtmStrategyClose for an ATM with quantity more than 1
Collapse
X
-
Hello bosajin,
Thank you for your post.
AtmStrategyCreate could be used to create an order for two separate ATM Strategies. Each ATM Strategy order contains a unique atmStrategyId and a unique orderId that can be referenced to get information from or modify an ATM Strategy that is created by using AtmStrategyCreate.
Please review this help guide link about AtmStrategyCreate for more information - https://ninjatrader.com/support/help...tegycreate.htm
If you are looking to cancel an entry order, AtmStrategyCancelEntryOrder could be used to cancel an entry order based on the order's unique orderId.
Also, please see this help guide about how AtmStrategyCancelEntryOrder is used - https://ninjatrader.com/support/help...entryorder.htm
AtmStrategyClose could be used if you are looking to cancel any working orders AND close any open position of a strategy based on the Strategy's unique atmStrategyId.
Please see this help guide link for more information about AtmStrategyClose - https://ninjatrader.com/support/help...ategyclose.htm
Let us know if we may further assist.Brandon H.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Mikey_, 03-23-2024, 05:59 PM
|
3 responses
49 views
0 likes
|
Last Post
by Sam2515
Today, 01:47 PM
|
||
Started by f.saeidi, Today, 12:14 PM
|
7 responses
16 views
0 likes
|
Last Post
by f.saeidi
Today, 01:32 PM
|
||
Started by Russ Moreland, Today, 12:54 PM
|
1 response
6 views
0 likes
|
Last Post Today, 01:01 PM | ||
Started by philmg, Today, 12:55 PM
|
1 response
7 views
0 likes
|
Last Post Today, 01:00 PM | ||
Started by TradeForge, 04-19-2024, 02:09 AM
|
2 responses
32 views
0 likes
|
Last Post
by TradeForge
Today, 12:32 PM
|
Comment