![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Mar 2008
Posts: 105
Thanks: 0
Thanked 0 times in 0 posts
|
Is there a way to set the default fill type within my strategy?
I can't figure out which property in the Strategy NinjaScript that can control this. I don't like the default setting. I'm using Liberal. And soon I will write my own fill type. But every time I add the strategy to a chart or in the Strategy Analyzer it changes to "Default" and I often forget to set it back to Liberal. If you don't have a way to control this within the Strategy NinjaScript, please add it as a new feature in soon to come release. Please advise. - Wayne |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
These are the settings that you can currently set programmatically: http://www.ninjatrader-support.com/v...06&postcount=5
Thanks for your suggestion.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Mar 2008
Posts: 105
Thanks: 0
Thanked 0 times in 0 posts
|
None of these sets the default Fill type. Please add that as a feature.
- Wayne |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Sep 2008
Posts: 183
Thanks: 0
Thanked 1 time in 1 post
|
Consider this another vote for being able to set the default fill type in code for each strategy. In fact, I'd look over the backtesting dialog and make most all of the default values there configurable inside the strategy code (default bar type/length, default start/end dates, etc.).
|
|
|
|
|
|
#5 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 981 times in 963 posts
|
Thanks for the input Anagoge!
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programmatically Recognize Pullbacks | mgbloomfield | General Programming | 1 | 02-28-2008 07:42 PM |
| Default Fill Algorithm used when in replay ... | Learning1 | Strategy Analyzer | 4 | 01-26-2008 03:16 PM |
| Optimiser Type | dgregor5 | Strategy Analyzer | 22 | 01-20-2008 08:51 AM |
| Ability to work with the account programmatically??? | VagyokC4 | Suggestions And Feedback | 2 | 09-25-2007 03:52 PM |
| Liberal Fill type | simone | General Programming | 1 | 09-11-2007 05:22 AM |