NinjaScript Best Practices

<< Click to Display Table of Contents >>

Navigation:  NinjaScript >

NinjaScript Best Practices

Previous page Return to chapter overview Next page

Show/Hide Hidden Text

There are some best practices to be aware of when developing NinjaScript classes. The following tables present a non-exhaustive list of considerations to keep in mind when designing and implementing your code.


Note:   NinjaTrader is multi-threaded and event driven. Always assume that any of the methods you implement in NinjaScript could be called from another thread.


tog_minus        State management practices

tog_minus        Error handling practices

tog_minus        Performance practices

tog_minus        Miscellaneous practices