読み取り専用

フォーラムは現在、読み取り専用のアーカイブとなっています。.

バグ報告やプラットフォームに関する質問はこちら → [email protected]

私たちのコミュニティはDiscordとYouTubeで活動しています。ぜひ参加してください!

ご参加ください Discord YouTube

Change number of lots in Ninjatrader

2件の返信

M1S

カスタマー、bpb_participant、コミュニティ、31件の回答。.

プロフィールを表示

11年前 #113096

How can I change number of lots in Ninjatrader strategy generated by Strategy Quant?  While I can set number of lots in SQ strategy options when generating a strategy, I often need to adjust this amount when trading in Ninjatrader.  There is no entry for number of lots in Ninjatrader strategy options.  I also don’t see a number of lots specified in Ninjatrader strategy code.  Do I need to add custom code to define number of lots?  If so what would it be for stop/limit orders?  I attached an example of Ninjatrader strategy and Strategy Quant source code.

 

 

ファイル Test 0.txt
ファイル test 0.str

0

マーク・フリック

管理者、sq-ultimate、2件の返信.

プロフィールを表示

11年前 #128285

SQ strategies for NinjaTrader trade with DefaultQuantity, which is usually 1.

 

You can edit this number in the code in Initialize() method, you can add a line there:

 

DefaultQuantity = 2;

 

It is also possible to change Order Properties parameter of the strategy, there you can too change default quantity or use account size to compute quantity.

マーク
StrategyQuantアーキテクト

0

M1S

カスタマー、bpb_participant、コミュニティ、31件の回答。.

プロフィールを表示

11年前 #128329

Thanks, Mark.  Could you post an example of 1) default quantity change in Order Properties and 2) using account size to compute quantity?

0

2件の返信を表示中 - 1 - 2件目 (全2件中)