Money Managment ideas

Viewing 15 posts - 1 through 15 (of 33 total)
  • Author
    Posts
  • #213967 quote
    ZeroCafeine
    Participant
    Senior

    Hi everyone

    Often in money management we see the idea of risking 1% of your capital, let’s say it’s the idea A

    Another idea that I find interesting, and we’ll call it idea B, is to risk an amount that you can afford to lose, for example, every week, Giving for example a small example for idea B with some rules :
    – Risk losing a maximum of €10 per day
    – If we lose four days in a row, that is 40 €, then we stop the week
    – If we lose the sum of €100 then the month is over and we have to wait for the next month

    You will notice that in idea B we are not talking about capital but only about the losses we can lose, so let’s not forget that if we earn money then we can add them completely or partially to the amount we are willing to lose every month

    Do you have any links on the forum related to idea B ?

    Do you also have other ideas to share for ideas C and D 🙂

    #213972 quote
    robertogozzi
    Moderator
    Master

    This is a snippet I coded a few years ago, then nonetheless requested to add a rate of exchange for currencies other than Euro and added variable ProfitAccrued, which is a way to store profits earned (or losses suffered) at the time a strategy is stopped for maintenance, as PRT does not save history. In my opinion this was redundant, as previous profits or losses could have been written as a + or – value to be added to Capital.

    https://www.prorealcode.com/topic/calculating-working-capital-for-money-management/#post-171254.

    This is the same code updated to include the DrawDown calculation https://www.prorealcode.com/topic/calculating-working-capital-for-money-management/page/2/#post-172402.

    Some additional ideas can be found at https://www.prorealcode.com/topic/money-management-control-risk/#post-104857.

    ZeroCafeine thanked this post
    #213974 quote
    GraHal
    Participant
    Master

    Anybody know if @nonetheless is okay healthwise?

    We’ve heard nothing from him for a long long while?

    ZeroCafeine thanked this post
    #213975 quote
    nonetheless
    Participant
    Master

    That is so very kind of you to ask! I have actually been dealing with a ‘mild case’ of bowel cancer … (surgery, chemo, the works). It’s not as bad as it sounds tbh, i fully expect to be around for awhile.

    Meanwhile my bots are ticking away, doing around 3% per week … but doing far better as a daytrader, presently averaging 7.5% per day … no bot is ever going to do that 🤩

    best wishes to all!

    ZeroCafeine, GraHal, fifi743 and 3 others thanked this post
    #213977 quote
    robertogozzi
    Moderator
    Master

    Great to hear from you nonetheless, heal fast and have fun (and profits) trading 🙂

    nonetheless thanked this post
    #213985 quote
    phoentzs
    Participant
    Master

    @nonetheless Hey, nice to hear from you. We’ve been worried. I wish you good health.

    nonetheless thanked this post
    #213992 quote
    PeterSt
    Participant
    Master

    @nonetheless, it seemed against all odds that GraHal asked again. I didn’t count really, but I’d bet 5 times at least. I had my share too. 🙂  phoentzs as well.
    Welcome back !!

    nonetheless and GraHal thanked this post
    #213994 quote
    nonetheless
    Participant
    Master

    it’s very thoughtful of you all, much appreciated!

    #213997 quote
    fifi743
    Participant
    Master

    @nonetheless It’s good to see you again.

    nonetheless thanked this post
    #214060 quote
    ZeroCafeine
    Participant
    Senior

    it’s very thoughtful of you all, much appreciated!


    @nonetheless

    Maybe invite each other for a drink and a chat, Or wait if the webmaster organizes a physical meeting once a year that would be nice, Otherwise, as I always say, everything can be bought and sold except health, I also had the opportunity to go to China several times and the few Chinese I met in their culture you can’t get sick if you are rich, so you have to be rich 😊

    Anyway, if you have any money management ideas 😊

    I will try to develop B idea here 😊

    #214117 quote
    KumoNoJuzza
    Participant
    New

    Just sharing some of my thoughts, as I am sure we are all torturing ourselves with this topic at some point.

    When it comes to money management, I am also wondering whether one should also set a profit limit for the day.

    If time=080000 THEN
    DayProfit = StrategyProfit
    ENDIF
    
    IF (DayProfit-StrategyProfit >= 750  ) THEN
    QUIT
    ENDIF

     

    Opening positions still represents a risk even after a streak of wins.

    I have also spent hours watching the behaviors of the bots and it can contradict any safenet we are trying to implement.

     

    I also thinking on using limit values traders use when using market profile such as:  yearly/ monthly/weekly value area highs and lows.

    If you are trading an instrument whose value is close to the yearly VAH, and your bot is not doing well on bearish trend, maybe it would be wiser to pause it.

    Are some of you including these levels in their strategies?

    #214154 quote
    ZeroCafeine
    Participant
    Senior

    with your code you have to don’t forget you are doing math only after the candle is closed, so maybe for exemple you can go on a smaller time frame to get the close and check if your condition is ok “(DayProfit-StrategyProfit >= 750 )”

    #214177 quote
    KumoNoJuzza
    Participant
    New

    Absolutely, I used this code with a 1 minute TF strategy.

    #214183 quote
    ZeroCafeine
    Participant
    Senior

    @KumoNoJuzza

    Don’t forget the purpose of this thread, if you have any ideas of money management they are welcome 😊

    #226725 quote
    justisan
    Participant
    Junior

    Dears,

    Adding here few of my thoughts about mm (here in particular about position sizing in relation to equity) – which is definetely a key element of success/failure for us traders. Not applying it or applying it wrongly can lead to bankruptcy even if trading by itself a profitable strategy. I am not telling that I am doing everything right in these terms, but I am sharing below some of my general conclusions and observations. And I am very curious about other trader’s inputs and contribution. Those who “know” me, know that I am big fan of ultra-stupid-simple strategies (0 indicators, first of all). but I am applying quite complex approach to mm/position sizing at the same time.

    For CFDs – where one can finetune position size very precisely – I apply only and only position sizing calculation which is related to certain max loss per trade as % of total equity. But it’s not 1%. Basically every strategy has its own max risk per trade as % of equity, the lowest I have is around 0.25% and the highest around 1.50%. well, the reason is that every strategy has its own performance profile, in particular its own drawdown (dd) profile, but also its own trading frequency and specific performance correlation to other strategies within portfolio. I first of all take a look at the dd as % of equity which every strategy has in the backtest, then reduce/increase % risk per trade in a way so the dd of particular strategy does not exceed certain % of equity (let’s say not more than 5%), then see how strategies’ result impact result of portfolio (indirectly it’s a look at “correlation” of all strategies) – and based on that I might decrease position sizing even more. So my target is to finetune position sizing of every strategy in a way that my portofolio’s max % dd makes me happy! = does not exceed certain limit which I have set to myself. What makes all these calculations additionally (extremely…) difficult is that PRT does not offer any tools for analyzing portfolio’s performance, so it’s quite huge effort to do it manually. And serious difficulty when trading futures is that one cannot fine tune position sizing nearly that precisely as for CFDs unless one has several millions in the pockets.

    What I found out in my research is that these are not really cool ideas simply to stop trading (for rest of the day or week or month…) in case one lost or earned certain pre-set amount of money (or lost/won several trades in row) during that particular day/week/month. I tested it for my strategies (some day in quite deep past…), and conclusion was – it’s not worth doing it. Mentally it’s kind of (very) appealing idea, but financially it does not contribute to the long term result, rather opposite. Well, everybody can code those scenarios and figure it out for own strategies if it is worth or not worth doing it. Yet what is the assumption/logic behind stopping trading after certain pre-set amount of profits/losses (or number of winning/loosing trades)? It is: “I know what happens next” – isn’t it?

    • After losing xyz €$ (or x trades in a row) one stops trading, because one assumes he/she “knows” next trade will be a loser (again)?
    • After winning xyz €$ (or x trades in row) one stop trading, because one as assumes he/she “knows” next trade will be a loser (and reduces those nice profits gained before…)?

    In both cases – when losing and when winning – one is in fact afraid of next trade being a loser… in’t it a contradiction? And is it not even more contradictory that at the same time one is not afraid of the possibility that next trade will be a winner (maybe biggest ever?..) – but one will miss it because of stopping trading? When one stops trading he/she assumes that he/she knows something about real probabilities in the markets, the probable outcome of next trade in particular. But is it not the reality, that nobody knows anything in trading at any time? And if one assumed he/she did not know “anything” about real market probabilities before the winning/losing series, why one would assume he/she know “something” after those series?

    Probabilities play very nasty games with our brains…

    Though myself I have a hard-stop rule (which is not in the code) for a strategy in general: if it reaches dd which – as % of equity – is bigger than in the backtest (which is usually more than 10 years of data), I stop the algo. And assume following:

    • There is really something wrong with trading logic in general (if at all then I try to simplify that logic even more and recalculate risk per trade if needed. If simplification totally destroys the results then I might discard the strategy completely… but I never try to “improve” a strategy by making it more complicated…)
    • There is nothing really wrong with trading logic, bigger than historical dd can appear any time to any strategy, so I wait (not trading live that strategy) until/if it reaches new equity high, and if it does, then I reduce risk per trade to new level and run it live again…

    Have fun!

    justisan

    GraHal, ashehzi and KumoNoJuzza thanked this post
Viewing 15 posts - 1 through 15 (of 33 total)
  • You must be logged in to reply to this topic.

Money Managment ideas


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

This topic contains 32 replies,
has 12 voices, and was last updated by pppittpeter
1 year, 11 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 05/02/2023
Status: Active
Attachments: 14 files
Logo Logo
Loading...