ドキュメント

アプリケーション

最終更新日:2019年2月26日(コルネル・マズール)

設定 – 資金管理

Money management (or position sizing) specifies how many lots or shares are traded on each trade.

StrategyQuant has flexible and extendable money management options that can be used in the program and later also in real trading in your trading platform.

StrategyQuant extendable money management options

Brief description of different money management types:

固定サイズ

strategy will trade with fixed number of lots. This is recommended setting when you generate new strategy, because it gives you clear overview of strategy real performance.

定額

strategy will risk a fixed amount of money for every trade. This is basic money management without compounding. It can be used to test real performance of strategies where Stop Loss is based on volatility (ATR), or if you want to compare the performance of strategies with different Stop Loss.

口座のリスク上限を%に設定

advanced money management that is recommended for real trading. The strategy will risk a given % of equity on every trade. This is simple, but very effective money management that will allow the strategy to increase number of lots as your account grows. It is generally recommended to risk maximum 2-5% of account equity per one trade.

Risk fixed % of balance

Like Risk fixed % of account, but it uses account balance instead of equity.
Account balance illustrates your closed trades Profit/Loss, while Equity is the real-time calculation of Profit/Loss, considering both open and closed. Positions.

株価別の銘柄サイズ

This position sizing method is used especially used for stocks. Use account balance forces SQ to use the current account balance instead of the initial capital set.

Crypto size by price

Size computed as Balance / Asset Size. Position sizing method specifically for crypto trading – you have to specify the exact decimal numbers for rounding.

Simple Martingale MM

Position sizing that uses Martingale approach to increase positions after a loss.

Strategyquant Simple Martingale Money Management

この記事は参考になりましたか? この記事は役に立った この記事は役に立たなかった

18 コメント
最古の
最新 最も投票された
davide Bruse
davide Bruse
5. 4. 2019 12:18 pm

Good morning, I am tring Strategy quant X and I am tring to export a strategy in mt4 with a money managment that consists of a % of the balance or the account( is the same for me) , it is a forex cross so i use 2 decimals, in SQ works but on the mt4 the % doesn’t work on the backtest and on the market (demo), the EA uses always fixed size on mt4.
なぜ?
心より感謝申し上げます。

Redlock55
23. 4. 2023 9:38 pm

Gave this section a thumbs down. Would liked to have seen a more detailed explanation (including examples) of how the Martingale option works.

ありがとうございます。.

Red

Tomas Matejka
管理者
返信する  Redlock55
26. 4. 2023 5:59 pm

Hi, it is simple. After a losing trade it multiplies the previous lot size by the ‘Lots Multiplier’. Once the last size reaches ‘Maximum Lots’ it is reset for the next trade

Nikola Perovic
Nikola Perovic
22. 9. 2023 10:32 pm

Hello, I am using StrategyQuantX 137.1749 build and there is an issue with Money management. When using Risk fixed % of account OR Risk fixed % of balance the program ALWAYS defaults to Size if no MM option. I took a strategy from the Builder module into the Retester module, using a fixed size of 100. Next, I created a new databank in Retester module and changed the MM rules to % of Balance, setting the risk at 5%, size in decimals (0 for stocks) and size if no MM to 98. All the trades were executed with this fixed… 続きを読む »

Tomas Matejka
管理者
返信する  Nikola Perovic
29. 9. 2023 10:12 pm

You have set your SQX incorrectly very likely. Please ensure your strategies have stop-loss included. Without pre-defined risk for a trade, the money-management method cannot be used

lawnmoverman
lawnmoverman
返信する  Tomas Matejka
2. 12. 2023 5:33 pm

Hi, I struggle with this issue as well (Risk fixed % of balance) 100% when trying to build strategies for DAX an on/off for other indices. It will always default to ‘Size if no MM option.

Stop loss settings: min. 0.5 max 0.5 (tried with 2 for min and max as well)
Tested it on B. 136.1451, B. 138.1837.

Any idea if I’m missing something or if this is a bug?

Last edited 2 years ago by lawnmoverman
Tomas Matejka
管理者
返信する  lawnmoverman
4. 12. 2023 4:45 pm

Make sure your strategies do have stop-loss included. If not then MM lot size cannot be calculated hence “Size if no MM” will be used

Khudair kadhim
Khudair kadhim
5. 3. 2024 3:48 pm

こんにちは
I have a capital management plan that is not included in Strategy Quant. How can I add or handle them?

Tomas Matejka
管理者
返信する  Khudair kadhim
5. 3. 2024 7:49 pm

You can add a new MM method using CodeEditor. See the example https://strategyquant.com/codebase/atr-volatility-money-mannagement-sizing/

NICOLAS NI
NICOLAS NI
9. 1. 2025 2:18 am

Hi! How are you? I have a question: When I compute for a fixed % in balance, it trades with lot size, how can I fix this? I want to see the curve using a fixed % in balance for MM.
Thak you!

Alejandro Islas Espinoza
Alejandro Islas Espinoza
11. 3. 2025 7:45 pm

Hello.I have some problems with the lot size settings in MT4. Does the fixed risk balance % work with ATR type stop loss? I am having problems with this setting. It always takes me a fixed value in the lot size.

ありがとうございます

Tomas Matejka
管理者
返信する  Alejandro Islas Espinoza
14. 3. 2025 8:59 pm

The strategy needs to have a stop-loss required. Only then MM lot size can be correctly calculated

犬っ子
25. 5. 2025 11:42 pm

in the case of risk fixes % balance, what stands for size decimals? in the case of cfd’s varies per asset? how should I calculate this decimals? thanks

Tomas Matejka
管理者
返信する  犬っ子
30. 5. 2025 6:43 am

The decimals value refers to a lot size used. The decimals value = 2 refer to using micro-lots that is 0.01

犬っ子
返信する  Tomas Matejka
7. 7. 2025 12:13 am

If I want the position size to be adjustable based on a fixed % of account balance and allow micro lots up to full lots, what should the size decimals be set to?

ドミニク
20. 7. 2025 10:21 am

Hi, May I know if there were any additional options for crypto? I heard that it was 9 options in versions 138, 139, not sure if two of them were removed in the latest versions 140,141,142 ?!!!.

ケン・トンプソン
18. 11. 2025 12:20 pm

Hi, will the ‘Risk fixed % of account’ function have the same mathematical effect as compounding of trade size?

Tomas Matejka
管理者
返信する  ケン・トンプソン
19. 11. 2025 10:02 pm

yes, it will increase the size as the account grows naturally