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
Orders via AddOn
Collapse
X
-
Tags: None
-
Little to no support in framework for order management.
If you need advanced order management logic, be prepared to write it yourself.
(ATM orders are supported, but if you're trying to coordinate w/chart trader controls, your mileage may vary.)
Same with trade history and trade performance.
If you need to track PnL closely, be prepared to write it yourself.
The moral of these missing pieces?
If you really need those things, you should consider using a Strategy.
But ...
If you simply need to 'place an order', you'll probably be fine.
-
Comment
-
NinjaTrader 8 offers a variety of ways to submit and manage Orders. In increasing amount of effort one might use Strategy Managed Orders, Strategy Unmanaged Orders, AddOn Orders.
With anything other than Strategy Managed Orders, some significant programming is required to manage Orders effectively. The most effort is required to manage AddOn Orders effectively. Even Strategy Managed Orders require some degree of programming to manage appropriately, although they have many capabilities built-in.
For AddOn Orders, you will need to build your own handlers for all Order-based events, using the various available Update methods for Orders, Executions, etc, amongst other things. More importantly, if you want to cater for a trader doing anything NT8 can do with Orders (e.g. ChartTrader Orders, other NT8 window Orders, etc), you will probably need some quite sophisticated code to handle such things in the context of the activities within the AddOn itself.
For example, if you place an Order from the AddOn and the trader then partially or fully closes it from ChartTrader, or the trader adds to it in ChartTrader, should the AddOn recognise and handle that, and if so, how?
Of course, if the AddOn is only used in "controlled" environments (e.g. the developer is the only user), these considerations may not be necessary … but the unexpected can happen.
Thanks.
- Likes 1
Comment
-
Is there a way to access trades placed by the addon, as a collection of trades similar to the strategy trades collection functionality?
Comment
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by proptradingshop, 03-21-2024, 09:50 AM
|
5 responses
25 views
0 likes
|
Last Post Today, 05:17 AM | ||
Started by MaupinFinche, Today, 05:08 AM
|
0 responses
2 views
0 likes
|
Last Post
by MaupinFinche
Today, 05:08 AM
|
||
Started by Enkidu, Yesterday, 06:40 AM
|
9 responses
35 views
0 likes
|
Last Post
by Enkidu
Yesterday, 01:11 PM
|
||
Started by Mestor, 03-10-2023, 01:50 AM
|
12 responses
307 views
0 likes
|
Last Post
by z.franck
Today, 04:29 AM
|
||
Started by AgriTrdr, 07-16-2023, 12:54 PM
|
32 responses
268 views
0 likes
|
Last Post
by f.saeidi
Yesterday, 06:49 AM
|
Comment