NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > Application Technical Support > Automated Trading

Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader.

Reply
 
Thread Tools Display Modes
Old 06-06-2008, 01:16 PM   #1
CraigC
Member
 
Join Date: Jun 2008
Posts: 50
Thanks: 0
Thanked 0 times in 0 posts
Default Simulated Trading

Hi there,
Sorry if this has been asked before but I can't find anything with the search.
Ninjatrader is capable of placing simulated trades against a real account, is it possible for a NinjaScript strategy to choose if any given trade is simulated or real, or to put it another way, can scripts toggle between real and paper trading?
CraigC is offline  
Reply With Quote
Old 06-06-2008, 01:26 PM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

Sure, by changing the account setting when running a strategy. The account is eitehr a real one or a simulated one.
NinjaTrader_Ray is offline  
Reply With Quote
Old 06-06-2008, 01:26 PM   #3
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

If you mean changing account inside of the script itself, this is not supported.
NinjaTrader_Ray is offline  
Reply With Quote
Old 06-06-2008, 01:42 PM   #4
CraigC
Member
 
Join Date: Jun 2008
Posts: 50
Thanks: 0
Thanked 0 times in 0 posts
Default

Thank you for the quick reply.
Can this perhaps be considered in perhaps a future release? as you can imagine it would be advantageous for a strategy to be able to revert to paper trading automatically once a certain non-profit criteria has been reached, it could then monitor it's paper trades awaiting market conditions to return to it's favor.
CraigC is offline  
Reply With Quote
Old 06-06-2008, 02:29 PM   #5
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

Programmatic account control is on our list for future consideration.
NinjaTrader_Ray is offline  
Reply With Quote
Old 06-06-2008, 02:32 PM   #6
CraigC
Member
 
Join Date: Jun 2008
Posts: 50
Thanks: 0
Thanked 0 times in 0 posts
Default

Cool, thanks.
CraigC is offline  
Reply With Quote
Old 06-06-2008, 02:42 PM   #7
CraigC
Member
 
Join Date: Jun 2008
Posts: 50
Thanks: 0
Thanked 0 times in 0 posts
Default

Also I must say, I'm new to NT and I'm currently in evaluation mode and so far it looks like a great product, the usage of C# for scripting is a masterstroke!
CraigC is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pair trading / Spread trading HelloHello Automated Trading 8 09-18-2010 08:55 PM
Simulated Stop nightowl ATM Strategies (Discretionary Trading) 14 04-29-2008 09:13 AM
Starting in Simulated Mode - "Automated Trading Disabled"? arbifox Connecting 1 11-28-2007 06:23 AM
auto trading vs discretionary trading and limit orders John Sanders Automated Trading 3 11-07-2007 08:03 AM
ATI Simulated orders in NT6 Json Automated Trading 1 11-15-2006 08:10 AM


All times are GMT -6. The time now is 12:06 AM.