Announcement
Collapse
No announcement yet.
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 gyilaoliver, Today, 08:28 AM
|
0 responses
4 views
0 likes
|
Last Post
![]()
by gyilaoliver
Today, 08:28 AM
|
||
Started by MiCe1999, 12-01-2024, 09:01 PM
|
4 responses
44 views
0 likes
|
Last Post
![]() |
||
Started by Darkslide_Tom, 03-23-2025, 11:08 PM
|
2 responses
15 views
0 likes
|
Last Post
![]() |
||
Started by coopgrafik, Today, 07:57 AM
|
1 response
6 views
0 likes
|
Last Post
|
||
Started by luna0074, Today, 06:39 AM
|
1 response
7 views
0 likes
|
Last Post
|
Comment