NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 01-19-2009, 08:53 AM   #1
junkone
Senior Member
 
Join Date: Sep 2008
Posts: 356
Thanks: 1
Thanked 1 time in 1 post
Default configure position size

how can i configure position size in NT based on symbols. for eg
i want USDCAD,USDCHF position size =25000 and i want AUDUSD=37270
i dont want to hardcode the position size in the NT strategy and want it to be configurable.
junkone is offline  
Reply With Quote
Old 01-19-2009, 08:56 AM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default

junkone,

When you run your strategy instead of selecting ByStrategy in Set Order Quantity, select ByDefaultQuantity and then you can type in what you want.
NinjaTrader_Josh 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
Position Size Algorithm PrTester NinjaScript File Sharing Discussion 32 08-25-2010 05:20 AM
Is it possible to limit total position size for all strategies? cunparis Automated Trading 31 04-03-2009 11:42 PM
Recalculating position size based on account size, % risked and stop loss clivehunt Strategy Development 18 03-22-2009 11:25 AM
Position Size Problem stocastix Automated Trading 2 11-06-2008 08:23 AM
strategy on a basket of stocks – global control of total position size Nathamus Strategy Development 1 05-27-2008 06:20 AM


All times are GMT -6. The time now is 11:47 PM.