How to Use Math to Trade Stocks

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024

Комментарии • 235

  • @EmmelineMathilda
    @EmmelineMathilda 9 дней назад +240

    Every crash/collapse brings with it an equivalent market chance if you are early informed and equipped, I've seen folks amass up to $1m amid economy crisis, and even pull it off easily in favorable conditions. Unequivocally, the collapse is getting somebody somewhere rich.

    • @RobertMichaelm4r
      @RobertMichaelm4r 9 дней назад

      I do not disagree, there are strategies that could be put in place for solid gains regardless of economy or market condition, but such execution are usually carried out by investment experts with experience since the 08' crash.

    • @BerthaHannahi7k
      @BerthaHannahi7k 9 дней назад

      The issue is people have the "I want to do it myself mentality" but not equipped enough for a crash, hence get burnt. Ideally, advisors are reps for investing jobs, and at first-hand encounter, my portfolio has yielded over 300% since 2020 just after the pandemic to date.

    • @Jameslindau8s
      @Jameslindau8s 9 дней назад

      i'm blown away! mind sharing more info please? i am a young adult living in Miami where i've encountered several millionaires, and my goal is to become one as well.

    • @BerthaHannahi7k
      @BerthaHannahi7k 9 дней назад

      NICOLE ANASTASIA PLUMLEE' is the licensed fiduciary I use. Just research the name. You’d find necessary details to work with a correspondence to set up an appointment.

    • @Jameslindau8s
      @Jameslindau8s 9 дней назад

      I just curiously searched her up, and I have sent her an email. I hope she gets back to me soon. Thank you

  • @Nchinnam
    @Nchinnam 2 года назад +276

    I graduated with a physics and math degree and just started interviewing for jr "quant" roles in banking. Literally got asked questions related to these. The actual job is just computational work but the interviewer asks tons of brain teasers with expected value questions.

    • @TheMathSorcerer
      @TheMathSorcerer  2 года назад +24

      Oh wow how interesting!

    • @Nchinnam
      @Nchinnam 2 года назад +29

      @@TheMathSorcerer I was told the full work is taking the VaR and TVaR of portfolios at different weights using past performances or Monte Carlo modeling using geometric Brownian motion.

    • @_SeaH0rse
      @_SeaH0rse 2 года назад +15

      So you did a whole four years of mind bending physics just to do computational work that barely covers a fraction of all that? Wow lol...well, I guess as long as they’re paying you it’s all good.

    • @Nchinnam
      @Nchinnam 2 года назад +29

      @@_SeaH0rse physics wasn't fun anymore. It also ended up being just computational work that didn't pay as much. Hoping I get through the interviews tho

    • @_SeaH0rse
      @_SeaH0rse 2 года назад +8

      @@Nchinnam I’ve heard that from a couple of physics majors. Physics was a high school girlfriend that was just too pretty for my brain, so I envy any physics person I run into 😊. If I had a handful, and given the startup ideas I have, I don’t see why we couldn’t hit the big time (I like to think of myself as an aspiring marketing engineer).

  • @remlatzargonix1329
    @remlatzargonix1329 2 года назад +56

    Be careful using ANY formula for trading securities.....profitably.
    Investments, finance, and economics are not hard sciences where you can use strategies such that if you do X, then it will result in Y profits.
    Anyone who tells you differently is either a fool or a liar or both!
    This is especially true with "technical analysis", which uses techniques such as moving averages and so on.
    Also, relying on the "long-run"....we are reminded of Keynes famous quote that "markets can remain irrational longer than we can remain solvent"....
    Caveat emptor!

    • @TheMathSorcerer
      @TheMathSorcerer  2 года назад +2

      👍👍👍👍👍

    • @accountname1047
      @accountname1047 2 года назад +8

      I'll add to this: for every additional variable your financial strategy has, the probability of a false positive from a backtest dramatically increases. The same holds if your dataset used in training a model doesn't account for survivorship bias, has too few data points, or the model goes beyond the optimal stopping point in selection processes

  • @Josephtimothyq5
    @Josephtimothyq5 17 дней назад +159

    My life changed too when I started doing this and putting money in stocks. The first few years it as really great, but this year I haven't felt like my portfolio is doing well. I have lost more than $40,000 from my portfolio the past four months, and it's now very worrisome.

    • @JunlaiAiguo
      @JunlaiAiguo 17 дней назад

      The year has been really rough for everybody. But I've been able to cushion the effect though. Have you thought of using an investment advisor? They can make you good money especially during uncertain times like this.

    • @DeborahJennifer1v
      @DeborahJennifer1v 17 дней назад

      Yes, I agree. I use a financial advisor too. Same person since 2020. I don't worry about whether the economy is going up or down or sideways. I always ride through.

    • @FrankEword0v
      @FrankEword0v 17 дней назад

      Oh, really? I have never thought of that as an option. Can I ask who it is you've been working with? I bet I could use some help myself.

    • @DeborahJennifer1v
      @DeborahJennifer1v 17 дней назад

      My CFA NICOLE ANASTASIA PLUMLEE a renowned figure in her line of work. I recommend researching her credentials further... She has many years of experience and is a valuable resource for anyone looking to navigate the financial market..

    • @FrankEword0v
      @FrankEword0v 17 дней назад

      Thank you for the lead. I searched her up, and I have sent her an email. I hope she gets back to me soon.

  • @dosgos
    @dosgos 2 года назад +18

    The caveats are most interesting. Assume history applies forward, how far back do we look, what are the key factors driving the results. . .

  • @daniellindner355
    @daniellindner355 2 года назад +47

    Interesting. We did that a lot at school but never applied it in a hypothetical trade. Brings back memories to see this !!

  • @jeffjuhre1494
    @jeffjuhre1494 2 года назад +35

    Heraclitus told us 2500 years ago that you can't step into the same river twice. There is no proof that the past valuations of a stock will resemble future ones. The factors that caused the prices in the past are "water under the bridge" and the river ahead is not seen with perfect clarity. Stock prices fluctuate for many reasons and a stock could be a good or bad investment until it isn't usually because of some new or changing condition.

    • @shutengloke5907
      @shutengloke5907 28 дней назад +12

      It is not about what happened yesterday. It is about probability.
      Now we know that TSLA will move at least $5 everyday. Now imagine if you LONG or SHORT TSLA each day but you cut loss when you are down -$0.20 and take profit when you take profit when you are up $0.30. So our Stop Loss and Target Price is so small, it is bound to hit one of them and the chance is about 50%-50%. In the long run, your win rate should be around 50%. But since you make $0.30 and lose $0.20, you will make money.
      I have been doing this for some time and so far so good.

    • @CR7GOATofFootball
      @CR7GOATofFootball 10 дней назад

      ​@@shutengloke5907
      For how long have you been using this strategy, I will try it.

    • @SeppeDeVos-md7jk
      @SeppeDeVos-md7jk 8 дней назад

      ​@@shutengloke5907 yup indeed. You should look at trading like being the casino. If you have a risk reward ratio of 1 with a 51% win rate, youcan expect to be down after 100 trades, but you know after 10000 trades you'll be profitable.

    • @Juoa794
      @Juoa794 7 дней назад

      @@shutengloke5907how did you conclude that in the long run the chances for TSLA stock are 50/50?

    • @Juoa794
      @Juoa794 7 дней назад +1

      Also, the expectancy calculation does not account for the fact that the trade can go against you multiple times in a row, right?

  • @eirikfesker197
    @eirikfesker197 9 дней назад +2

    I wish it was easy as that in real life. Don't forget commissions, swaps, spreads, leverage fees , sentiment, news and the delay your indicator has. .. And many more... Now do some forward testing

  • @keithphw
    @keithphw 2 года назад +26

    You'll actually make the geometric average of -63.188% (=(1+−0.9)^0.6*(1+1.6)^0.4−1) per time period assuming that you reinvest and the gain of 160 is equivalent to a proportional gain of 160%. Look up Ole Peters' ergodicity video 'time for a change', it's fascinating.
    By the way, trading just loses money due to transaction costs including brokerage and time wasting. Buy and hold is the winning strategy.
    I'm a finance lecturer and like your videos. But I've seen many smart math, science and engineering brains waste time and $ trading, due to not understanding the principle of weak form market efficiency - prices go up and down due to good and bad news which nobody can predict, therefore past price data is useless for predicting the future.
    Edit: fixed incorrect calc at top, oops

    • @arthurmorgan2961
      @arthurmorgan2961 2 года назад +1

      The most successful hedge fund in the world based on performance is renaissance technologies, it employs high frequency trading strategies based purely on mathematical models. Please do not mislead people.

    • @keithphw
      @keithphw 2 года назад +2

      @@arthurmorgan2961 Read about survivorship bias

    • @badrghilani
      @badrghilani 2 года назад

      @@keithphw Read about Optiver

    • @avilash2546
      @avilash2546 2 года назад +2

      @@keithphw There are lots of quants and hedge funds that consistently make money from short-term price behavior, not just RenTech. If you believe the efficient market hypothesis, buy-and-hold investing is just not worth it given how accessible information and data is.

    • @avilash2546
      @avilash2546 2 года назад

      @@keithphw Also, because so many traders use technical analysis strategies when trading, it becomes a self-fulfilling prophecy.

  • @virtualblue7215
    @virtualblue7215 7 дней назад

    You divide this expected value by the standard deviation and you get the resilience of your strategy over time (Sharpe Ratio)

  • @NeutrinoParty
    @NeutrinoParty 2 года назад +38

    Don't forget to subtract the cost of each trade when calculating E(x). You pay a transaction fee when you buy the stock and again when you sell. Also, "when 5 day SMA crosses 20 day SMA" should be "when 5 day SMA drops below the 20 day SMA" (unless you're shorting).

    • @avilash2546
      @avilash2546 2 года назад +3

      No, it's the other way around. Why would you want to buy when the 5 day SMA (which gives greater weight to recent prices) drops below the 20 day SMA? If recent prices are strong, the 5 day SMA should be above the 20 day.

    • @NeutrinoParty
      @NeutrinoParty 2 года назад

      @@avilash2546 this is a simple moving average so the trend would "pull" the average back up toward the 20 day.

    • @avilash2546
      @avilash2546 2 года назад +1

      @@NeutrinoParty Yes, that is what I said. The 5 day SMA crossing above the 20 day SMA would yield a buy signal, which is what he said in the video.

    • @nithinkhydrose4899
      @nithinkhydrose4899 15 дней назад +3

      It depends on whether your strategy is trend following or mean reversal. Former works well in trending market and the latter works well in range bound market.

    • @harryk115
      @harryk115 9 дней назад

      That’s what Jim Simon’s would say…RIP

  • @PlumThiefOW783
    @PlumThiefOW783 2 года назад +26

    I'd love to see more math and trading/finance videos

    • @douglasstrother6584
      @douglasstrother6584 4 месяца назад +1

      Look up his video titled "Mathematical Finance Wizardry".

  • @AceOfHearts001
    @AceOfHearts001 2 года назад +18

    Nice to see how Discrete Random Variables can be used in trading! Thanks Math Sorcerer...

  • @manupandit3864
    @manupandit3864 4 месяца назад +1

    What could be the drawdown. Say on loses the first 6 trades. So for the winning trades he will need higher capital. And higher percentage to cover the loses and be in profit in the end.

  • @lucaarmstrong6375
    @lucaarmstrong6375 2 года назад +7

    And then you realise your back testing didn’t include commissions

  • @brothberg
    @brothberg 2 года назад +3

    I would add that no retail investor should use a quant system with actual money. I've been involved with them since graduating in '68, and I know that virtually all retail investors who do this lose money. The quants who make money are either high speed traders with access to low latency feeds that your viewers cannot get, or longer term hedge funds or CTAs who have backtested thousands of systems over many years. Even they have to change their systems often, as the market sniffs out statistical regularities and arbitrages them.

  • @JLKeener77
    @JLKeener77 2 года назад +12

    I think it would be fun to study financial mathematics/ financial engineering. Maybe the Math Sorcerer could do a book review for a good book on financial mathematics.

  • @aaaaa-nk1sd
    @aaaaa-nk1sd 2 месяца назад +1

    mathematically, a positive return. but we make the negative when we calculate every instrument's fee, and possible drawdown here would be huge. i hope nobody is really gonna believe after this video that so simple strategy can make them money in the long run and don't put a single cent how you advised. if that was the case, institutions would not even hire PhD's in finance, physics and maths.

  • @TubeScavenger
    @TubeScavenger 2 года назад +4

    Price action is king. Actual price action, not what most people call price action. The free webinar Volatility Patterns for Day Traders and Scalpers by Chris Lori will show you just the tiny tip of what actual price action is.

  • @Tabu11211
    @Tabu11211 2 года назад +2

    I have an idea: calculate a mean (preferably a low ripple, low phase method) and then center the price around this mean. Next you filter the the signal with a multi band compressor expander.
    What do you think about filtering centered price data like this?

  • @_SeaH0rse
    @_SeaH0rse 2 года назад +4

    Thank you very much for this. I wonder how optimization techniques, or Shannon entropy or information gain fit into this...

    • @remlatzargonix1329
      @remlatzargonix1329 2 года назад +3

      Good luck with that....there a many huge corporations who would have already used various similar techniques if they worked....given the vast sums of money involved!

  • @xyzct
    @xyzct 2 года назад +11

    If you want a risk-free guaranteed return, just stop spending your money on stupid stuff, like eating out, spending $12 every morning at the cafe, alcohol, etc..

  • @1dantown
    @1dantown 2 года назад +8

    This is a mechanical system. The stock market runs on fear and greed. It is a psychological framework. Not criticizing.

  • @walterreuther1779
    @walterreuther1779 2 года назад +4

    5:06 "In the long run you're guaranteed to be a winner (mathematically)" - I cannot help but to throw in the St. Petersburg Paradox at this point: Flip a coin, if heads flip again, if tails break and get payout of 2^n $ (where n is the number of coin tosses you had).
    Now this game has an expected value of infinite, but you are going to have to play an enormous amount of time to get this (or even just a positive, assuming you pay for playing) outcome - you are probably going to be ruined before you get the big gain....

  • @red-gw3uz
    @red-gw3uz 5 дней назад

    Good luck if you do what you say other people should do, you mix strategy with risk management

  • @Internet_explorer_guy
    @Internet_explorer_guy 10 дней назад +2

    Stock market lacks logic.. its more emotional and its manipulated

  • @TepsiMorphic
    @TepsiMorphic 2 года назад +1

    Can you recommend resources for learning finance/stocks for someone with a passion for math? I tried to learn some on my own time but it's hard to find resources where they emphasize the maths.

  • @erbxvdfb
    @erbxvdfb 11 дней назад +2

    You could backtest that for years and it would look likes it's working, but it would be just because of a bull market. The market could change and it would become a losing strategy.

  • @freebornjohn2687
    @freebornjohn2687 2 года назад +3

    You could have a strategy like this and in a bull run and think you are genius. Try doing this in a bear market and see how good your model is.

  • @shaider1982
    @shaider1982 2 года назад +6

    Say, what's your thoughts on using fib's on candlesticks on stocks?

  • @Sosinvestimenti
    @Sosinvestimenti 2 года назад +1

    Really interesting. it resembles the so called Kelly criterion

  • @da-mealish
    @da-mealish 7 месяцев назад +2

    I was searching gold and i found diamonds 😅

  • @dalisabe62
    @dalisabe62 2 года назад +3

    Problem is not in the math; problem is in the trade business itself, where it is very difficult to assume anything based on what you are told by the lead players in the market. Just when you know that your assumptions about the market are good enough, some surprise proves you wrong. The stock market lacks the scientific honesty, so science is of little use to it. The biggest problem with stocks is it’s vulnerability to trading activities. More buys raises the stock value, while more sells drops it. A good stock is one that reflects real growth in the company, not mere inflated faith based on trading activities.

    • @marktube5732
      @marktube5732 2 года назад +2

      The stock market became such a casino, it’s ridiculous. It has always been like that but since 2020, my god.

  • @haedarajmi7083
    @haedarajmi7083 14 дней назад +2

    Our respect and appreciation for you. Every strategy that talks about past data is a big loss unless it anticipates the price with a mathematical equation that indicates knowledge of the upcoming price angles.

  • @wr2382
    @wr2382 2 года назад +4

    There is no way to guarantee win/loss percentages. So none of these types of things work, except by chance.

    • @frv6610
      @frv6610 19 дней назад +1

      in a roundabout you can guess that it will during a 10 year period go more up than it goes down

  • @High_Priest_Jonko
    @High_Priest_Jonko 2 года назад +6

    In The Legend of Zelda, there's a money-making game which costs 100 rupees to play. You choose one of three boxes and get either 1 rupee, 20 rupees, or 300 rupees.
    The expected value is (1)(0.33) + (20)(0.33)+(300)(0.33) = 107 rupees. Pretty mediocre.

  • @MrVipron
    @MrVipron 2 года назад +18

    The problem is that if you backtest, first you typically backtest only a part of the history and so you don't have the full probability distribution, but also often, a specific strategy like the one you did will only work in certain type of market (like this one will certainly give good result in a bull market), but not in other market

    • @TheMathSorcerer
      @TheMathSorcerer  2 года назад

      👍

    • @maxpower677
      @maxpower677 2 года назад +4

      i think you can run a software with massive amounts of data (like all markets along all history) and backtest multiple strategies millions of times each to pickup just the best of them. i think it will not be perfect, but its very likely that you'll make some money in the long run.
      also, you can develop a portfolio distribution strategy with the same technique, that, even if your strategy didnt work on a prolonged bear market, you can rebalance it to buy low.

    • @frv6610
      @frv6610 19 дней назад

      ​@@maxpower677where is this software?

    • @jready1455
      @jready1455 11 дней назад +2

      You can just limit your trading to when that one specific market condition materializes.

  • @quantronin
    @quantronin 2 года назад +1

    In the stock market strategy, the expected value you use is not only unnecessary (just compute the average), but also misleading. Your expected amt is NOT approaching $10. This is because the probabilities you are using in your example are EMPIRICAL (i.e. estimates that are derived from data) not THEORETICAL

  • @spaceshipearth356
    @spaceshipearth356 18 дней назад +1

    Remember, always buy low and sell high. In the long run - to the moon! Trading made easy, simplified. 😄

  • @shiminglu3940
    @shiminglu3940 2 года назад +2

    Aww I just learnt it in my actuarial science class:)

  • @drury2d8
    @drury2d8 2 года назад +2

    A friend dropped out of school is a self made millionaire. Math is only one of the several tools out there.

  • @abhishekmishra6786
    @abhishekmishra6786 2 года назад +1

    Thanks sir

  • @Adam-kg7ng
    @Adam-kg7ng 2 года назад +4

    I was just thinking about this while learning ode for the first time

  • @azimuth4850
    @azimuth4850 2 года назад +1

    Very cool!!!

  • @douglasstrother6584
    @douglasstrother6584 4 месяца назад +3

    That's pretty slick!
    I first came across the concept of expectation value in the context of Quantum and Statistical Mechanics.

  • @hohohotszkin
    @hohohotszkin 2 месяца назад

    this is gold , bro wtf , I dident expect that but I'll keep this shit frfr

  • @dosgos
    @dosgos 2 года назад +4

    One interesting way the Casino stacks the deck is by limiting bet size. . .

    • @TheMathSorcerer
      @TheMathSorcerer  2 года назад +1

      Yes!!

    • @remlatzargonix1329
      @remlatzargonix1329 2 года назад +2

      Casinos and bookies set the odds so that no matter which horse wins the the house makes money.....never lose site of that fact and you won't get caught up in a money-losing "greatest strategy in the world" scenario whereby the adherent thinks that they will break the bank at Monte Carlo!

  • @Re-lx1md
    @Re-lx1md 2 года назад

    Is there a course or book on this? applying to the real world of course

  • @MrPeterJin
    @MrPeterJin 2 года назад +1

    For trading, I'd check out Inner Circle Trader's RUclips channel. I guess you could use math to trade, but it works better with other methods in my opinion.

  • @ValentinValdezIV
    @ValentinValdezIV 11 месяцев назад

    thank u bro

  • @anthonydo5908
    @anthonydo5908 10 дней назад

    Nice to see somebody use a pencil I think do it called algorithm prop Ai based but thank this video…. Do it redditors make parabolic how much they put aside. Profit taking after big move they seem to lose it all.. counter intuitive such risk turn strategy off.

  • @axii133
    @axii133 2 года назад

    How do you determine both the avg loss and gain per trade? Is it not simply one number, either positive or negative, indicating whether you've gained or lost money from a trade?

    • @jodyclaborn
      @jodyclaborn 8 месяцев назад

      You will have to backtest the strategy on years of historical data. I personally code it to be backtested to get these numbers.

  • @TronSAHeroXYZ
    @TronSAHeroXYZ 2 года назад +1

    Indicators on Tradingview use math. By default.

  • @dhruva_tara
    @dhruva_tara 2 года назад +9

    we need more of mathematics in stocks.

  • @ILoveMaths07
    @ILoveMaths07 2 года назад +1

    Nice... but I have no clue what the strategy means.

  • @allrightjack
    @allrightjack 10 дней назад

    Well could you guess covid or putins mind before you invested. Such irrational is stock market

  • @sybentley6675
    @sybentley6675 11 дней назад

    It is hard sticking to any strategy with 2 weeks of solid losses then taking the same trade again and again. Randomness throws this at you every so often which makes you feel like a loser so you "tweek" your tested strategy and ruin everything.
    Stocks are hard!

  • @PonderDuke
    @PonderDuke 11 дней назад

    You can use this in value betting on sports. There it will work. But in the stock market I would not recommend it.

  • @AnakinSkywalker-zq6lm
    @AnakinSkywalker-zq6lm 2 года назад +2

    Careful Mr. Simons

  • @huckleberryfinn8795
    @huckleberryfinn8795 2 года назад +2

    Just DCA and sit on it for a few decades.

  • @fredrik8806
    @fredrik8806 2 года назад +2

    The market is a 180 iq behemoth that the layman will never one up

  • @maxican28
    @maxican28 10 дней назад

    Well no kidding, you need more positive than negative to turn out a profit.

  • @139-b7j
    @139-b7j 2 года назад +1

    All of the casino games except Poker.

  • @stevenjames5874
    @stevenjames5874 2 года назад +2

    Math Sorcerer, if you see this,
    how do you feel about going all in on a few index funds and some bonds for young people? I've heard that modest yearly contributions can make somebody a lot of money over a couple of decades. It just takes a long time

    • @TheMathSorcerer
      @TheMathSorcerer  2 года назад +1

      Definitely a good idea IMO.

    • @stevenjames5874
      @stevenjames5874 2 года назад

      @@TheMathSorcerer thanks for this!

    • @fadedflage
      @fadedflage 2 года назад

      Bonds are very dumb these days in the macroeconomic environment.
      Stocks should go up in the long run though.
      Start learning about bitcoin.

  • @muhammadsyafiqmuhammadsyaf3610
    @muhammadsyafiqmuhammadsyaf3610 Месяц назад

    Bro make video how to trade forex using mathematics

  • @teokennedy9785
    @teokennedy9785 14 дней назад

    So this is the average of x amount of wins per loss 👍🏾

  • @3alMar
    @3alMar 16 дней назад

    Is as simple as gain more than you lose.

  • @digilifepro
    @digilifepro 11 дней назад

    Good starting point but this doesn't tell you how much to bet on the trade as a % of your bankroll to maximize profits and minimize Risk of Ruin.

  • @chillblox8
    @chillblox8 4 дня назад

    feels like a throwback to AP Stats

  • @davidbass6119
    @davidbass6119 18 дней назад

    Investment stradegy…
    Low cost share + monthly dividend.
    Buy more shares with monthly dividend payout.
    Spend frugal for daily living
    Follow monthly dollar cost averaging
    Put entire check into TOD account. Use this account to pay bills
    Do this for LIFE!!!!
    You will overload the TOD account so if the market crashes you still will come out ahead.
    Set an increasing stop loss amount as your portfolio grows.

  • @krishnakantsharma8021
    @krishnakantsharma8021 7 дней назад

    I am here because I read math wrong😂😂

  • @GhostKing6790
    @GhostKing6790 2 года назад +1

    Great… I learned differential equations for basic algebra and stats

  • @GizmoMaltese
    @GizmoMaltese 2 года назад +1

    Math Sorcerer, conjure us some money

  • @michaelgabrielcube233
    @michaelgabrielcube233 7 дней назад

    Ngl, hes probably a quant

  • @alouie001
    @alouie001 19 дней назад

    the stock market like the casino is just math.

  • @harrytaylor1589
    @harrytaylor1589 12 дней назад

    Using average (wins) and average (losses) doesn't account for the magnitude of the win or loss. A series of big losses (or big wins) will skew the averages. Don't you need to account for standard deviations as well then? Or am I missing something?

  • @bunghole209
    @bunghole209 20 дней назад

    Nice. Now do one that figures out why 40% of my income goes to eveeyone everywhere else. Your probably going to dig up Tesla and Einstein for some help first.

  • @whatitmeans
    @whatitmeans 2 года назад

    you have a huge mistake, and it is assumming that the amount of your budget invested don't affect the longterm result, and also that the process is ergodic and it isn't (since is multiplicative). The proper aproach is using the long term time average defined by Thorp process when looking for the Kelly Criterion.

  • @charlie5thumbs351
    @charlie5thumbs351 2 месяца назад

    How many trades would you recommend actually doing before applying this formula?

  • @dawsoncollaco6882
    @dawsoncollaco6882 8 дней назад

    Only if we were taught math like this in school. Great explanation.

  • @shutengloke5907
    @shutengloke5907 28 дней назад

    This is what I have been doing. So far so good. I now tell my friends that I own a casino.

  • @Skandawin78
    @Skandawin78 2 дня назад

    Define long run .

  • @mrretired2715
    @mrretired2715 12 дней назад

    Just random numbers used

  • @KpxUrz5745
    @KpxUrz5745 Месяц назад

    Could be informative to those who are rank beginners, but they should also know that all systems of the type described (moving average crossover or crossunder) will lose money when adequately backtested. I have written mounds of such code and tested countless hundreds of similar systems over a number of decades, so I know. It is good to show the formula for Trade Expectancy because that does provide a clear outlook on ultimate trading results using a defined style of trading.

  • @MarcoTrades
    @MarcoTrades 11 дней назад

    Math alone is not enough. I use economic news and math to apply trades.

  • @timtdog5542
    @timtdog5542 7 дней назад

    Math geniuses

  • @nareshsingh3626
    @nareshsingh3626 9 дней назад

    This is quite useless

  • @maximosh
    @maximosh 10 месяцев назад +4

    E(x) actually sums to 118.5 which is a profit factor of 1.185 or theoretically 18.5% better than breakeven, without any brokerage costs considered.

    • @digilifepro
      @digilifepro 11 дней назад

      @maximosh You're referring to Win/Loss Ratio. The EV is in fact 10. The WL ratio or Profit Factor is 64/54 = 1.185 or in other words, for every $1 risked (lost) you stand to gain $1.185 .
      So 64 + 54 = 118 but that's just coincidence and and is not related to the 1.185 . 👍
      Cheers

  • @12-OneTwo
    @12-OneTwo Год назад

    7:51 What about x=1 & y=3?
    These are conservative numbers when it comes to risk management for placing Stop Loss & Take Profit.
    How would you estimate the probability of loss & gain in this context for maximized profitability in the long run?

  • @thabamchunu7494
    @thabamchunu7494 16 дней назад

    This is so cool

  • @ariston111
    @ariston111 2 года назад

    Can you make a video on stochastic calculus and geometric Brownian motion to model stocks?

  • @uiliumpowell4684
    @uiliumpowell4684 16 дней назад

    Glad to see I am not the only one who has my crappy writing style.

  • @josephtraverso2700
    @josephtraverso2700 Год назад +1

    Thank you! Very cool 😊

  • @kodfkdleepd2876
    @kodfkdleepd2876 2 года назад

    This is wrong. The stock market is manipulated. It's been manipulated for decades. Also, all indicators are lagging(nothing can know the future). 1. the market makers are legally allowed to naked short(counterfeit shares) which they do to steal from retail. 2. Criminals are not punished. Go look at the SEC filings and you will see that none of them that are "caught" are ever charged more than they steal or are punished with jail time. JPM, for example, has stolen billions. They literally have been caught manipulating metals just a few months ago and paid a fraction of the cost and did not have to admit guilt and no one was charged.
    The markets are 100% rigged. Go look at HKD, a company with 10 employee's that went up 32000% in a week and it is an NYSE listed company. There are others too like AMTD and MEGL. Spoofing, front running, quote stuffing, naked shorting, PFOF, FUD, swaps, and many other means are used to steal from you.
    There is ZERO way to win in a game that is rigged so you lose. Sure you might win some of the time but in the long run you WILL lose.

    • @kodfkdleepd2876
      @kodfkdleepd2876 2 года назад

      The only way to actually profit is to learn how they cheat and that takes year of study. They use AI that tracks their losses and gains and they get all the data while feeding you fake data. They know exactly how much money is flowing in and how much has flowed out and set the price and it's direction based on that. They don't care if you get lucky and buy the dip and the sell at a peak before they dip it because they got 100 other people buying in that they just dipped on and who will paper hand.
      The other way to get rich in the stock market is buy GME and BBBY. Why? Because these are the only two stocks that have investors who are not selling and who are buying and DRSing. Why? Because supply and demand does not exist in the fraud market due to counterfeiting and shorting. GME investors are buying up shares and DRSing them as to take away the shares from the manipulators and GS/RC is helping them know how many they have. Once the float is locked this means there technically can be no shares trading unless the price rises(technically we need to lock the entire outstanding but there is some wiggle room). This means if there is trading that the stock is being manipulated.
      There are actually many people who have experienced this such as Eagletech when one guy bought the entire outstanding and the next day still had the entire stock trading like nothing happened and the price was still tanking(how when he owns all the shares? this was due to counterfeiting).
      The market is a fraud. There is no mathematical strategy that can let you win. Maybe AI can figure out their schemes and learn too profit off them but all they have to do is switch them. Since they have all the info(such as when they will manipulate), are protected by the government(who is part of it), and have all the money(backed by the FEDs) they can do what they want.
      The stock marketed is a rigged casino and, by extension, so is the entire world economy.
      BBBY, about a week ago, was 5$... it hit 13$ yesterday, they tanked it today to 9. If you bought in BBBY knowing that it could not go much lower due to fundamentals and that they've been shorting it since 16$ you could have profited off it like I did. Also if you know that RC bought in at 15$ and bought calls at 80 for jan23 you would know that it is likely, if you trust RC, going to go past 80$ by jan23.
      There is far more going on in the fraud market than just buying low and selling high. You could invest in a good company and in a day see your investment tank 50% for absolutely no reason and if you sell you lose out... else you have to wait months and hope they don't cellar box or infiltrate the company and steal your $$$.
      Criminals run the fraud market. Virtually all the billionaires involved have some type of record of doing crime but are never punished. E.g., Ken Griffin who runs the market and steals trillions(he's the money man for the largest billionaires) was kicked out of China for manipulation and has been caught many times in the US but he's still allowed to process 90% of retail's orders and to do PFOF along with running hedge funds and other stuff.
      GME has a tone of DD(research) on what is going on if you know where to look(I can't give a link since the comment will be deleted).

  • @tomsetberg4746
    @tomsetberg4746 Год назад

    If the math is coming out identical to basic averaging is the calculation wrong or is that expected? Essentially its coming out to the same number as doing the sum value of all trades divided by the number of trades.

  • @12-OneTwo
    @12-OneTwo Год назад

    3:33 Which books do you recommend to learn this?
    Is it only Statistics & Probabilities?

  • @Tabu11211
    @Tabu11211 2 года назад

    Can you talk about the non array identity of the sma? :D I programmed a simple moving average with an array abut I was reading that you don't need the array because of algebra?

  • @iiiiiiiiiiiiiiiiiiiiiiiiii2458
    @iiiiiiiiiiiiiiiiiiiiiiiiii2458 2 года назад

    Nah. the Stock market is rigged. Ask Nanci.

  • @ColeCoug
    @ColeCoug 2 года назад

    I am curious what your thoughts are on the future of the stock market, considering the exponential growth over the last 20 years in any typical market metric. You know how quickly exponentials can get out of control and if we keep setting company expectations based on the growth we have seen in the past then very soon it will be impossible to seem profitable when expected to grow exponentially forever into the future. This will continue to push companies to cut wages for workers and rely on bailouts and subsidies from the government IMO.

  • @enoughofengineering
    @enoughofengineering 15 дней назад

    How about liquidity ?