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 Jimmyk, 01-26-2018, 05:19 AM
|
6 responses
835 views
0 likes
|
Last Post
by emuns
Today, 11:27 AM
|
||
Started by jxs_xrj, 01-12-2020, 09:49 AM
|
6 responses
3,291 views
1 like
|
Last Post
by jgualdronc
Today, 10:56 AM
|
||
Started by Touch-Ups, Today, 10:36 AM
|
0 responses
10 views
0 likes
|
Last Post
by Touch-Ups
Today, 10:36 AM
|
||
Started by geddyisodin, 04-25-2024, 05:20 AM
|
11 responses
62 views
0 likes
|
Last Post Today, 10:08 AM | ||
Can someone turn this thinkscript into a ninjascript. 5PM CST OHL and Previous Day
by Option Whisperer
Started by Option Whisperer, Today, 09:55 AM
|
0 responses
9 views
0 likes
|
Last Post Today, 09:55 AM |
Comment