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
Backtesting API
Collapse
X
-
Backtesting API
Can I do backtesting through an API without using the NinjaTrader UI? I would like to be able to write a program that creates strategies, and backtests them programmatically.Tags: None
-
Hello TraderJohn,
Thank you for your post and welcome to the NinjaTrader Support Forum!
NinjaTrader will need to be running in order to connect to a supported API and backtest.
However, it may be possible to do this on your own in Visual Studio through unsupported code. This would not be supported in NinjaScript and we have no documentation on such a method of backtesting outside of NinjaTrader.
Please let me know if I may be of further assistance.
-
backtesting API exposure
Originally posted by NinjaTrader_PatrickH View PostHello TraderJohn,
Thank you for your post and welcome to the NinjaTrader Support Forum!
NinjaTrader will need to be running in order to connect to a supported API and backtest.
However, it may be possible to do this on your own in Visual Studio through unsupported code. This would not be supported in NinjaScript and we have no documentation on such a method of backtesting outside of NinjaTrader.
Please let me know if I may be of further assistance.
Usecase: dynamic re-optimization from within a strategy performance evaluation (say you want to re-optimize dynamically from the code, each 100 bars ...)
Bottom line is ... what's the use of running an external optimization library since Ninja has its own already ... that can be leveraged?
thanks
Comment
-
Thanks for clarification. can you please add a feature request to give API access to the optimization engine?
I believe the strategy analyser is a function-based piece of code - those functions can be more or less easily exposed.
It would be a great functionality!
Comment
-
Will this include functionality as described in the following request?
Where do we follow development of SFT-1712?
ThanksLast edited by tornadoatc; 02-19-2017, 08:40 AM.
Comment
-
Hello tornadoatc,
Thank you for your post.
SFT-1712 would not include the description as in the thread you referenced. SFT-1712 is for programmatically calling the backtests without using the Strategy Analyzer. However, through this one could set up their own system to run a series of tests as you described in the other thread.
The feature request id is for internal reference to the suggested feature. There is no public tracking for feature requests.
Please let me know if you have any questions.
Comment
-
Progress on SFT-1712?
Hi, Just wondering if there has been any progress on functionality related to programming a strategy analyzer run?
Thanks,
ATC
Comment
-
Just a follow up... Would be great to see this...
Basic ability (with license) for:
1. Calling an optimization from within a strategy (I realize it can be time consuming, but with an ongoing strategy the results might need to be adjusted... so calling optimization for very small timeframe would be very nice for intraday updates to strategy).
2. Scheduling optimizations (based on market conditions, would be nice if a scheduler could schedule optimization templates to run every so often... Such as sunday night from a template that was setup to run past week etc...
3. Ability to call optimization code from other C# / .NET development (still within NinjaScript codebase but easier to call it such as from strategy (item #1 here, or from maybe a chart indicator, etc..).
Thanks!
-Chad
Comment
-
Hello Chad,
Thank you for your patience.
Chelsea is currently out of the office, but I have added a vote for you to a current feature request to Add UI Automation features to NinjaScript, including controlling optimizations. This request is being tracked under the number SFT-631.
As with all feature requests, interest is tracked before implementation is considered, so we cannot offer an ETA or promise of fulfillment. If implemented, it will be noted in the Release Notes page of the Help Guide.
Release Notes — https://ninjatrader.com/support/help...ease_notes.htm
Please let us know if we may be of further assistance to you.Kate W.NinjaTrader Customer Service
- Likes 1
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by pmachiraju, 11-01-2023, 04:46 AM
|
8 responses
147 views
0 likes
|
Last Post
by rehmans
Today, 06:44 PM
|
||
Started by mattbsea, Today, 05:44 PM
|
0 responses
5 views
0 likes
|
Last Post
by mattbsea
Today, 05:44 PM
|
||
Started by RideMe, 04-07-2024, 04:54 PM
|
6 responses
33 views
0 likes
|
Last Post
by RideMe
Today, 05:31 PM
|
||
Started by tkaboris, Today, 05:13 PM
|
0 responses
4 views
0 likes
|
Last Post
by tkaboris
Today, 05:13 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
16 responses
3,282 views
0 likes
|
Last Post
by Leafcutter
Today, 04:14 PM
|
Comment