Documentation

Applications

Last updated on 26. 2. 2019 by Kornel Mazur

Settings – Money management

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:

Fixed size

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.

Fixed amount

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.

Risk fixed % of account

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.

Stocks size by price

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

Was this article helpful? The article was useful The article was not useful

Subscribe
Notify of
9 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
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.
Why?
Many thanks

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.

Thank you.

Red

tomas262
Admin
Reply to  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… Read more »

tomas262
Admin
Reply to  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
Reply to  tomas262
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 4 months ago by lawnmoverman
tomas262
Admin
Reply to  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

Hi
I have a capital management plan that is not included in Strategy Quant. How can I add or handle them?

tomas262
Admin
Reply to  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/