NexusFi: Find Your Edge


Home Menu

 



Categories Help    

The Elite Circle
File sharing for Elite Members only, includes any and all platforms and file types


Entries
Local Order Manager - NinjaTrader Strategy Library 5 *
The [COLOR=#0066cc]Local Order Manager [/COLOR]has been designed to replace the internal NinjaTrader order management functions. It is based upon Unmanaged Order Management function. The goal is to create complex and flexible features that can easily be re-used, freeing the programmer of the strategy to focus upon the intended strategy and not getting bogged down with coding and debugging.

For more information about the NinjaTrader Local Order Manager please refer to the following section:
https://nexusfi.com/wiki/trading-wiki/NT-Local-Order-Manager-LOM-Guide
https://nexusfi.com/elite-automated-ninjatrader-trading/15563-njamc-local-order-manager-lom-collaboration.html

Revision History:

Rev 1:
As issued

Rev 2:
Added: [FONT="]public [/FONT][FONT="]bool[/FONT][FONT="] GoShortLimit([/FONT][FONT="]int[/FONT][FONT="] m_SharesTraded,[/FONT][FONT="]double[/FONT][FONT="] m_Limit,[/FONT][FONT="]int[/FONT] [COLOR=#0066cc]Limit Order[FONT="] m_PositionNumber) - To handle true , Rather than STOPLIMIT[/FONT][/COLOR]
[FONT="]Added: [/FONT][FONT="]public [/FONT][FONT="]bool[/FONT][FONT="] GoShortLimit([/FONT][FONT="]int[/FONT][FONT="] m_SharesTraded,[/FONT][FONT="]int[/FONT][FONT="] m_LimitTicks,[/FONT][FONT="]double[/FONT][FONT="] m_RefPrice,[/FONT][FONT="]int[/FONT] [COLOR=#000080]Limit Order[FONT="] m_PositionNumber) - To handle true , Rather than STOPLIMIT[/FONT][/COLOR]


Added: [FONT="]public [/FONT][FONT="]bool[/FONT][FONT="] GoLongLimit([/FONT][FONT="]int[/FONT][FONT="] m_SharesTraded,[/FONT][FONT="]double[/FONT][FONT="] m_Limit,[/FONT][FONT="]int[/FONT][FONT="] m_PositionNumber) - To handle true Limit Order, Rather than STOPLIMIT[/FONT]
[FONT="]Added: [/FONT][FONT="]public [/FONT][FONT="]bool[/FONT][FONT="] GoLongLimit([/FONT][FONT="]int[/FONT][FONT="] m_SharesTraded,[/FONT][FONT="]int[/FONT][FONT="] m_LimitTicks,[/FONT][FONT="]double[/FONT][FONT="] m_RefPrice,[/FONT][FONT="]int[/FONT][FONT="] m_PositionNumber) - To handle true Limit Order, Rather than STOPLIMIT[/FONT]

Rev 3:
Added: [FONT="]public [/FONT][FONT="]void[/FONT][FONT="] SetStatsBoxVisable([/FONT][FONT="]bool[/FONT][FONT="] m_Stats)[/FONT]
Added: [FONT="]GoShortStopLimit() Functions, depreciated functions that are misleading[/FONT]
Added: [FONT="]GoLongStopLimit() Functions, depreciated functions that are misleading[/FONT]

Rev 4: 4/1/2012
Added: Various Trailing Stop fixes
Fix: [FONT="]PartialFills improvements[/FONT]
Experimental: Timer functions for future features

Rev 5: 4/15/2012
Fix: [FONT="]Major Stability Improvements, Partial Fills almost flawless[/FONT]
Experimental: Timer functions for future features improved

Rev 6: 7/25/2012 (Beta Release)
Fix: Major Stability Improvements, Partial Fills almost flawless
Fix: Timer functions for Good Until, detects fast replay and autodisables
Added: Good Until by Time & #Bars
Added: Trailing Stop DataSeries Driven
Added: GoLimitBracket
Added: GetFillQuantity
Added: Rejected Order handling (started)
Improved: Entry/exit functions added object to contain rules/handling
Experimental: Timer functions for future features improved
Added: Version ID Current LOM:02b.01b.01a.01.01b.02.01.01a.01.0.0.2

Rev 7: 9/26/2013 (Beta Release)
Update done by contributor, not fully integrated but available.
Fix: Fixed a bug in dataseries based SetTrailingStop() in which the the wrong variable is used for calculating the tick offset.
Changed: Changed the behavior of the dataseries based SetTrailingStop() such that it will remain triggered after the price has moved beyond the trail trigger ticks and retrace back. The previous implementation is such that the trailing stop will be active only when the price remains beyond the trail trigger ticks.
Improved: Commented out the warning logs for non-value dataseries of the indicator based Trailing Stop. It is not necessary for trailing stop indicator to return a value for every bar. For example, a price action swing trailing stop indicator returns an update of a stop loss value after it makes a swing. Furthermore, it is more efficient to update the stop loss value as and when it is required.

Rev 8: 11/24/2014
Update done by contributor, not fully integrated but available.
General: Rolled up many improvements into the latest build
Added: Added new user contribution "SetStatsBoxVisable(bool m_Stats, string m_DebugString)" to enable and disable Stats box with Debugging String
Added: Version ID Current LOM:02b.01b.01b.01.01b.02a.01.01b.01.0.0.2


Category The Elite Circle 
 
Suggest other entries I might like
Details: Local Order Manager - NinjaTrader Strategy Library
Category: The Elite Circle 


December 5th, 2014
Size: 40.29 KB
Downloaded: 1603 times
 


 
Category
 




© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top