Thanks,
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Best practices for generic un-managed approach.
Collapse
X
-
Best practices for generic un-managed approach.
After doing some research, I've come to the conclusion that an un-managed approach to order handling would suite me best. I'd like to create a generic class that can be referenced from any strategy. Consider it a wrapper around the un-managed approach. This seem possible by supplying the active strategy class in a non-default constructor. In reading the documentation, there are many warnings to consider and compensate for. Before I go down this path, I was wondering if anyone has already done this type of project and are they willing to share a little? Or, do you guys at NT have some source code that would serve as a good diving board for this? Lastly, if the pervious two questions have no suitable answers, would there be someone here interested in a collaborative effort to create generic source code to utilize the un-managed approach from any strategy?
Thanks,Tags: None
-
Hello Herrwolf1,
Thank you for your post.
This could be accomplished using an AddOn and partial classes. Please see the example scripts attached which demonstrate using partial classes in a custom NinjaScript for strategies or indicators.
Also, see this forum post for more information - https://ninjatrader.com/support/foru...ork#post712245
Let us know if we may assist further.<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
-
Hello Herrwolf,
You might find this example and code interesting: https://ninjatrader.com/support/foru...plemacrossover
HedgePlay
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
43 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
30 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
47 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
38 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment