Supertrend 4 - CCXT Crypto Bot - Order Execution with Python

Поделиться
HTML-код
  • Опубликовано: 30 апр 2021
  • Like the video? Support my content by checking out Interactive Brokers using the link below:
    www.interactivebrokers.com/mk...
    In this video, we execute orders on trend changes using the Binance API.
    Source Code: github.com/hackingthemarkets/...
    Buy Me a Coffee: / parttimelarry
    Sign Up For TradingView: www.tradingview.com/gopro/?of...
    Sign Up For Binance: accounts.binance.us/en/regist...

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

  • @parttimelarry
    @parttimelarry  3 года назад +7

    Like the video? Support my content by checking out Interactive Brokers using the link below:
    www.interactivebrokers.com/mkt/?src=ptlPY1&url=%2Fen%2Findex.php%3Ff%3D1338
    Source Code: github.com/hackingthemarkets/supertrend-crypto-bot
    Buy Me a Coffee: buymeacoffee.com/parttimelarry
    Sign Up For TradingView: www.tradingview.com/gopro/?offer_id=10&aff_id=22256
    Sign Up For Binance: accounts.binance.us/en/register?ref=35201287

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

      thx for the explaining but how safe is it, i mean Security and so on ? you have some advise ? after a year how would you rate the program is it still good or is it not what you thought it would be?

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

      How can we add future function in this code or selectible ?

  • @typeer
    @typeer 3 года назад +19

    place is packed out, the air is electric, the music cuts out, all eyes down centre. he walks out, friendly lil wave, "hey everyone welcome back..", the Madison Square Gardens crowd just starts fucking losing it, 129dB of "LARRY!!! LARRY!! LARRY!!!", flower bouquets and bras streaming down from the cheap seats

  • @veag687
    @veag687 3 года назад +47

    Every millisecond of this video is pure pure gold. I've been scared of tackling this, but now its time. Nice to meet you Larry and thank you!!!

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

      Did you manage it and how did it go?

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

      Hey Lazarium, i havent yet to be honest, still a bit daunting....! I have to bite the bullet and try it

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

      @@veag687 I tried today and failed at the first step... Lmk if you manage it!

  • @bernietgn6406
    @bernietgn6406 3 года назад +4

    This is simply the best channel about python and trading on youtube. Thank you very much for sharing, Larry

  • @justinb217
    @justinb217 3 года назад +10

    WHAT LARRY?! WISH COME TRUE. THANKS FOR TWO UPLOADS IN ONE DAY. YOU DA MAN

  • @cetilly
    @cetilly 3 года назад +11

    Another quality series! I love that your videos are full length features from beginning to end and you don't gloss over the details. Really great job at presenting the material, and I'm definitely going to give CCXT and Binance a try.

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

    Thanks for sharing. I also made high winning rate RSI strategy with CCXT.

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

    I almost rarely comment on youtube video, however your videos rocks!👍🏻 After manual paper trading with several coins I found out that this supertrend strategy works fine when using timeframe at least 1 hour. My recommendation for entry is (ATR/Current price)* 100 > 1 (meaning at least we could get 1% increase and of course the trend already switched from down to up. As for exiting, we need to keep track of ATR, when current ATR > previous ATR AND current candle is red (down), exit on next open (somehow suggest the trend is up but the price is down, meaning the market is in fear)

  • @surishashank
    @surishashank 3 года назад +4

    Thanks, Larry! Appreciate all you do!

  • @Amar-ev6mw
    @Amar-ev6mw 2 года назад +1

    Thank you thanks, your content is super helpful. using this and combining some of your previous videos I built a webhook on TV and now doing backtesting for my RSI and MACD algorithm. you helped me a lot by getting it started.

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

    very cool, i only heard of cctx from your tutorials, thanks larry!

  • @patrickwalsh1154
    @patrickwalsh1154 3 года назад +1

    Another amazing video! With all the knowledge I'm gaining as soon as I make any money I'm definitely getting a hold of you because you deserve a large chunk. I work in IT so I know a thing or two, and you make coding look so easy it's really remarkable! I wish you all the success in the world Larry!

  • @jan-michaelluis2252
    @jan-michaelluis2252 3 года назад +4

    Thanks Larry! I love this channel!!!

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

    Thanks Larry . Much awaited one. And great video as usual.

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

    Hi Larry. Thanks for these great videos.... always good to watch and learn. As a note if you run this code for an extended time (several hours) you might come across an error which will stop out the program. The error is "ConnectionResetError: [Errno 54] Connection reset by peer" This then triggers multiple other exceptions and stops the program. seems to be a CCXT thing.....If you're making additional videos, it might be worth noting an exception is needed to keep it running. Cheers and many thanks as always!

  • @josephyoung2706
    @josephyoung2706 3 года назад +6

    Finally got around to watching the last vid in this series. Love it! time to make it an executable and run it on my rasperry pi forever :) wish me luck lol

    • @Darkvinciiz
      @Darkvinciiz 3 года назад +1

      do you have an update for this ?

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

    I've seen and read multiple supertrend python code. This one is the most accurate and deeply explained. Many thanks for sharing such quality info and keep up the good work.

  • @AgimTrades
    @AgimTrades 3 года назад +5

    Appreciate you Larry, great content as usual!

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

    Lary , man , your channel is amazing !! Thanks a lot for such a great content

  • @MakaroniiMisiek
    @MakaroniiMisiek 3 года назад +4

    thank you for new Knowledge !

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

    Hi Larry! Thank you for tutorial. What editor do u use for phyton script on MacOs? Is this visualstudio?

  • @richardinga5913
    @richardinga5913 3 года назад +1

    I wanted to thank you for these videos, you explain what you are doing so well that I don't code and you've made me curious enough that I googled my way into modifying this bot into a signal that sends emails (I don't have a binance account with money in there). I was done like 5 this morning, and set it to send me signals on MATIC/USD, on the 15 min, with a 10 second refresher (It could be 30 or 60 seconds).

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

    Hi Larry, I appreciate your amazing work ^^

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

    Great Video , We are looking for the same type of video from many days that can help us to implement in real market senirio, this is very informative video , very thankful to you harry brother .

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

    You've saved me so much time with the guidance you've provided here. Thanks!

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

    That was amazing, thank you! 🤓🤑

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

    Good series, thank you for including the code. Going to play around with this and a few other indicators!

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

      Thanks! Watching your channel as well. I need to do some deployment videos soon since I've been running these on the desktop. Want to try out google cloud functions, show docker deployment, and a few other things. Cheers!

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

    Many Thanks Larry

  • @sanfransisco1814
    @sanfransisco1814 3 года назад +1

    I just new to python and new to cyrto world too. but after watched your video i just make my own trading bot with strategy i like. Thank you very much :D

  • @_rkrd
    @_rkrd 2 года назад +5

    Good tutorial! Instead of getting rid of the warnings, a better approach would be to replace the indexing with `.loc` f.ex: df.loc[current, 'close'] = df.loc[previous, 'close']

  • @thebuildershut7707
    @thebuildershut7707 3 года назад +1

    Many many thanks for the unique content. I have learned a lot from you. Just keep it up please :))

  • @husejinbg
    @husejinbg 3 года назад +5

    wow 2 videos in a day.

  • @nordboern87
    @nordboern87 3 года назад +1

    i really like your videos, easy to understand:)

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

    Amazing video. Thank you.

  • @dservais1
    @dservais1 3 года назад +3

    Bravo !

  • @MrWormBeast
    @MrWormBeast 3 года назад +1

    Hi Larry, I have almost watched all of your trading bot videos from start to finish, I appreciate your amazing work.

    • @spiritmoveministry4103
      @spiritmoveministry4103 3 года назад

      𝘛𝘩𝘢𝘯𝘬𝘴 𝘧𝘰𝘳 𝘺𝘰𝘶𝘳 𝘤𝘰𝘮𝘮𝘦𝘯𝘵,
      𝘞𝘳𝘪𝘵𝘦 𝘮𝘺 𝘣𝘳𝘰𝘬𝘦𝘳 𝘈𝘳𝘵𝘩𝘶𝘳 𝘙𝘢𝘧𝘢𝘦𝘭 𝘈𝘺𝘣𝘢𝘳 𝘰𝘯 𝘞𝘩𝘢𝘵𝘴𝘈𝘱𝘱 𝘵𝘰 𝘦𝘢𝘳𝘯 𝘩𝘶𝘨𝘦 𝘪𝘯 𝘣𝘪𝘵𝘤𝘰𝘪𝘯 𝘵𝘳𝘢𝘥𝘪𝘯𝘨 𝘧𝘰𝘳,𝘩𝘪𝘴 𝘴𝘵𝘳𝘢𝘵𝘦𝘨𝘪𝘦𝘴 𝘢𝘳𝘦 𝘵𝘰𝘱 𝘯𝘰𝘵𝘤𝘩,𝘩𝘦'𝘴 𝘳𝘦𝘢𝘭𝘭𝘺 𝘮𝘢𝘬𝘪𝘯𝘨 𝘮𝘦 𝘩𝘶𝘨𝘦 𝘨𝘢𝘪𝘯𝘴 𝘸𝘪𝘵𝘩 𝘩𝘪𝘴 𝘴𝘵𝘳𝘢𝘵𝘦𝘨𝘪𝘦𝘴 𝘪𝘯 𝘵𝘳𝘢𝘥𝘪𝘯𝘨

    • @spiritmoveministry4103
      @spiritmoveministry4103 3 года назад

      +1 2 5 1- 3 1 3- 3 5 3 8

    • @MrWormBeast
      @MrWormBeast 3 года назад

      @@spiritmoveministry4103 can you show how to use this as strategy in freqtrade?

  • @JonWilliams84
    @JonWilliams84 3 года назад +1

    Yet another great video. 👏 Would love to see it working on multiple exchanges and coins simultaneously. Maybe supply it a coin list to limit it coins you want to trade or check existing balances to populate said list?

  • @alexandersierra7676
    @alexandersierra7676 3 года назад

    Amazing series. Thanks bro you're the goat!

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

    Thanks

  • @gamechu69
    @gamechu69 3 года назад +1

    Appreciate!!! and very good work

  • @kooshasangari2555
    @kooshasangari2555 3 года назад +1

    Keep it up KING !

  • @NurettinBerkeDemirel
    @NurettinBerkeDemirel 3 года назад +4

    Thank you ^^

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

    Thanks for this content!

  • @sobiesky2275
    @sobiesky2275 3 года назад +1

    Great video, thanks for your help!
    ❤️

    • @spiritmoveministry4103
      @spiritmoveministry4103 3 года назад

      𝘛𝘩𝘢𝘯𝘬𝘴 𝘧𝘰𝘳 𝘺𝘰𝘶𝘳 𝘤𝘰𝘮𝘮𝘦𝘯𝘵,
      𝘞𝘳𝘪𝘵𝘦 𝘮𝘺 𝘣𝘳𝘰𝘬𝘦𝘳 𝘈𝘳𝘵𝘩𝘶𝘳 𝘙𝘢𝘧𝘢𝘦𝘭 𝘈𝘺𝘣𝘢𝘳 𝘰𝘯 𝘞𝘩𝘢𝘵𝘴𝘈𝘱𝘱 𝘵𝘰 𝘦𝘢𝘳𝘯 𝘩𝘶𝘨𝘦 𝘪𝘯 𝘣𝘪𝘵𝘤𝘰𝘪𝘯 𝘵𝘳𝘢𝘥𝘪𝘯𝘨 𝘧𝘰𝘳,𝘩𝘪𝘴 𝘴𝘵𝘳𝘢𝘵𝘦𝘨𝘪𝘦𝘴 𝘢𝘳𝘦 𝘵𝘰𝘱 𝘯𝘰𝘵𝘤𝘩,𝘩𝘦'𝘴 𝘳𝘦𝘢𝘭𝘭𝘺 𝘮𝘢𝘬𝘪𝘯𝘨 𝘮𝘦 𝘩𝘶𝘨𝘦 𝘨𝘢𝘪𝘯𝘴 𝘸𝘪𝘵𝘩 𝘩𝘪𝘴 𝘴𝘵𝘳𝘢𝘵𝘦𝘨𝘪𝘦𝘴 𝘪𝘯 𝘵𝘳𝘢𝘥𝘪𝘯𝘨

    • @spiritmoveministry4103
      @spiritmoveministry4103 3 года назад

      +1 2 5 1- 3 1 3- 3 5 3 8

  • @sunnyz7389
    @sunnyz7389 3 года назад +1

    Thank you so so so so much Larry.

    • @spiritmoveministry4103
      @spiritmoveministry4103 3 года назад

      𝘛𝘩𝘢𝘯𝘬𝘴 𝘧𝘰𝘳 𝘺𝘰𝘶𝘳 𝘤𝘰𝘮𝘮𝘦𝘯𝘵,
      𝘞𝘳𝘪𝘵𝘦 𝘮𝘺 𝘣𝘳𝘰𝘬𝘦𝘳 𝘈𝘳𝘵𝘩𝘶𝘳 𝘙𝘢𝘧𝘢𝘦𝘭 𝘈𝘺𝘣𝘢𝘳 𝘰𝘯 𝘞𝘩𝘢𝘵𝘴𝘈𝘱𝘱 𝘵𝘰 𝘦𝘢𝘳𝘯 𝘩𝘶𝘨𝘦 𝘪𝘯 𝘣𝘪𝘵𝘤𝘰𝘪𝘯 𝘵𝘳𝘢𝘥𝘪𝘯𝘨 𝘧𝘰𝘳,𝘩𝘪𝘴 𝘴𝘵𝘳𝘢𝘵𝘦𝘨𝘪𝘦𝘴 𝘢𝘳𝘦 𝘵𝘰𝘱 𝘯𝘰𝘵𝘤𝘩,𝘩𝘦'𝘴 𝘳𝘦𝘢𝘭𝘭𝘺 𝘮𝘢𝘬𝘪𝘯𝘨 𝘮𝘦 𝘩𝘶𝘨𝘦 𝘨𝘢𝘪𝘯𝘴 𝘸𝘪𝘵𝘩 𝘩𝘪𝘴 𝘴𝘵𝘳𝘢𝘵𝘦𝘨𝘪𝘦𝘴 𝘪𝘯 𝘵𝘳𝘢𝘥𝘪𝘯𝘨

    • @spiritmoveministry4103
      @spiritmoveministry4103 3 года назад

      +1 2 5 1- 3 1 3- 3 5 3 8

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

    You change address ' Buy Me a Coffee' to RUclips ;) Thx again for your videos

    • @spiritmoveministry4103
      @spiritmoveministry4103 3 года назад

      𝘛𝘩𝘢𝘯𝘬𝘴 𝘧𝘰𝘳 𝘺𝘰𝘶𝘳 𝘤𝘰𝘮𝘮𝘦𝘯𝘵,
      𝘞𝘳𝘪𝘵𝘦 𝘮𝘺 𝘣𝘳𝘰𝘬𝘦𝘳 𝘈𝘳𝘵𝘩𝘶𝘳 𝘙𝘢𝘧𝘢𝘦𝘭 𝘈𝘺𝘣𝘢𝘳 𝘰𝘯 𝘞𝘩𝘢𝘵𝘴𝘈𝘱𝘱 𝘵𝘰 𝘦𝘢𝘳𝘯 𝘩𝘶𝘨𝘦 𝘪𝘯 𝘣𝘪𝘵𝘤𝘰𝘪𝘯 𝘵𝘳𝘢𝘥𝘪𝘯𝘨 𝘧𝘰𝘳,𝘩𝘪𝘴 𝘴𝘵𝘳𝘢𝘵𝘦𝘨𝘪𝘦𝘴 𝘢𝘳𝘦 𝘵𝘰𝘱 𝘯𝘰𝘵𝘤𝘩,𝘩𝘦'𝘴 𝘳𝘦𝘢𝘭𝘭𝘺 𝘮𝘢𝘬𝘪𝘯𝘨 𝘮𝘦 𝘩𝘶𝘨𝘦 𝘨𝘢𝘪𝘯𝘴 𝘸𝘪𝘵𝘩 𝘩𝘪𝘴 𝘴𝘵𝘳𝘢𝘵𝘦𝘨𝘪𝘦𝘴 𝘪𝘯 𝘵𝘳𝘢𝘥𝘪𝘯𝘨

    • @spiritmoveministry4103
      @spiritmoveministry4103 3 года назад

      +1 2 5 1- 3 1 3- 3 5 3 8

  • @Pynvestment
    @Pynvestment 3 года назад +1

    Spectacular Larry. Is it possible add during downtrend operate margin with a short trade?
    in this way you win always during up and down

  • @shunsakukobayashi9196
    @shunsakukobayashi9196 3 года назад +1

    great video Thank you!

  • @sublimemusic2390
    @sublimemusic2390 3 года назад +4

    Thanks Larry, is it possible to run strategy optimization parameters in Python? If so, could you teach us? Thank you so much again!

  • @Pitergodofwar
    @Pitergodofwar 3 года назад +1

    Very nice thanks!

  • @yalcn9092
    @yalcn9092 3 года назад

    Appreciate you Larry, great content as usual! For rsi bollinger and supertrend, how should we go about setting all coins to the purchase limit?

  • @santanumahato2254
    @santanumahato2254 3 года назад +1

    Thanks Larry for such a great content . I learn and use your strategies in stock trading.. Just a request if you can share videos of options selling strategies like straggle , strangle or iron condor management . Once again thanks a lot I always eagerly wait for your new videos because there is always new things to learn. :)

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

    Thanks for this video series, I am learning a lot!
    One downside I can foresee with this algo is in the cases when you take a position and den sell it with a very slight price increase, in that cases you may end up losing money because of the Binance commissions.
    Maybe an improvement could be to catalog all the good-profitable operations and the ones that ended up in less or equal money for a long period of time, what do you think?

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

    Great stuff bro! Thank you

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

    I love your content, I am learning a lot even with the difficulty of the different language, I am Brazilian :D

    • @spiritmoveministry4103
      @spiritmoveministry4103 3 года назад

      𝘛𝘩𝘢𝘯𝘬𝘴 𝘧𝘰𝘳 𝘺𝘰𝘶𝘳 𝘤𝘰𝘮𝘮𝘦𝘯𝘵,
      𝘞𝘳𝘪𝘵𝘦 𝘮𝘺 𝘣𝘳𝘰𝘬𝘦𝘳 𝘈𝘳𝘵𝘩𝘶𝘳 𝘙𝘢𝘧𝘢𝘦𝘭 𝘈𝘺𝘣𝘢𝘳 𝘰𝘯 𝘞𝘩𝘢𝘵𝘴𝘈𝘱𝘱 𝘵𝘰 𝘦𝘢𝘳𝘯 𝘩𝘶𝘨𝘦 𝘪𝘯 𝘣𝘪𝘵𝘤𝘰𝘪𝘯 𝘵𝘳𝘢𝘥𝘪𝘯𝘨 𝘧𝘰𝘳,𝘩𝘪𝘴 𝘴𝘵𝘳𝘢𝘵𝘦𝘨𝘪𝘦𝘴 𝘢𝘳𝘦 𝘵𝘰𝘱 𝘯𝘰𝘵𝘤𝘩,𝘩𝘦'𝘴 𝘳𝘦𝘢𝘭𝘭𝘺 𝘮𝘢𝘬𝘪𝘯𝘨 𝘮𝘦 𝘩𝘶𝘨𝘦 𝘨𝘢𝘪𝘯𝘴 𝘸𝘪𝘵𝘩 𝘩𝘪𝘴 𝘴𝘵𝘳𝘢𝘵𝘦𝘨𝘪𝘦𝘴 𝘪𝘯 𝘵𝘳𝘢𝘥𝘪𝘯𝘨

    • @spiritmoveministry4103
      @spiritmoveministry4103 3 года назад

      +1 2 5 1- 3 1 3- 3 5 3 8

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

    thank you soo much this well help me

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

    very cool man

  • @austinekaranja1786
    @austinekaranja1786 3 года назад +1

    best channel ever

  • @bilalbabaryt
    @bilalbabaryt 3 года назад +1

    U r the best

  • @unyimeakn9615
    @unyimeakn9615 3 года назад

    for anyone not planning to hardcode the amount you want to buy, you can do something like
    #I want to spend only 30 usdt
    amount_to_buy_in_usdt = 30
    # get the recent closing price
    latest_closing_price = df["close"].iat[-1]
    # calculate, how much of the cypto, you can get with 30usdt excluding exchange fees
    quantity = amount_to_buy_in_usdt / latest_close_price
    # buy the cypto
    order = exchange.create_market_buy_order(symbol, quantity)
    p.s
    if you are using binance, their fee is 0.10%, when selling your cypto, you might want to check if you have made 0.20% profit from the price you sold it at, this is to cover the buying and sell fee

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

    How did I not know about CCXT ? :O Thanks for the heads up

    • @spiritmoveministry4103
      @spiritmoveministry4103 3 года назад

      𝘛𝘩𝘢𝘯𝘬𝘴 𝘧𝘰𝘳 𝘺𝘰𝘶𝘳 𝘤𝘰𝘮𝘮𝘦𝘯𝘵,
      𝘞𝘳𝘪𝘵𝘦 𝘮𝘺 𝘣𝘳𝘰𝘬𝘦𝘳 𝘈𝘳𝘵𝘩𝘶𝘳 𝘙𝘢𝘧𝘢𝘦𝘭 𝘈𝘺𝘣𝘢𝘳 𝘰𝘯 𝘞𝘩𝘢𝘵𝘴𝘈𝘱𝘱 𝘵𝘰 𝘦𝘢𝘳𝘯 𝘩𝘶𝘨𝘦 𝘪𝘯 𝘣𝘪𝘵𝘤𝘰𝘪𝘯 𝘵𝘳𝘢𝘥𝘪𝘯𝘨 𝘧𝘰𝘳,𝘩𝘪𝘴 𝘴𝘵𝘳𝘢𝘵𝘦𝘨𝘪𝘦𝘴 𝘢𝘳𝘦 𝘵𝘰𝘱 𝘯𝘰𝘵𝘤𝘩,𝘩𝘦'𝘴 𝘳𝘦𝘢𝘭𝘭𝘺 𝘮𝘢𝘬𝘪𝘯𝘨 𝘮𝘦 𝘩𝘶𝘨𝘦 𝘨𝘢𝘪𝘯𝘴 𝘸𝘪𝘵𝘩 𝘩𝘪𝘴 𝘴𝘵𝘳𝘢𝘵𝘦𝘨𝘪𝘦𝘴 𝘪𝘯 𝘵𝘳𝘢𝘥𝘪𝘯𝘨

    • @spiritmoveministry4103
      @spiritmoveministry4103 3 года назад

      +1 2 5 1- 3 1 3- 3 5 3 8

  • @tiagograca9868
    @tiagograca9868 3 года назад

    Hi Larry,
    First of all, thanks for your videos they are awesome!
    Just a comment, on Binance the sell function has to have the (amount bough - trading fee), otherwise it will raise an error!
    I would like to see in the future:
    - Combine more than 1 TA strategy and make a voting system for the Algo to choose to enter in a trade;
    - Also would be awesome to see how to put this in cloud service to run 24/7.
    Keep the good content.
    Cheers

    • @spiritmoveministry4103
      @spiritmoveministry4103 3 года назад

      𝘛𝘩𝘢𝘯𝘬𝘴 𝘧𝘰𝘳 𝘺𝘰𝘶𝘳 𝘤𝘰𝘮𝘮𝘦𝘯𝘵,
      𝘞𝘳𝘪𝘵𝘦 𝘮𝘺 𝘣𝘳𝘰𝘬𝘦𝘳 𝘈𝘳𝘵𝘩𝘶𝘳 𝘙𝘢𝘧𝘢𝘦𝘭 𝘈𝘺𝘣𝘢𝘳 𝘰𝘯 𝘞𝘩𝘢𝘵𝘴𝘈𝘱𝘱 𝘵𝘰 𝘦𝘢𝘳𝘯 𝘩𝘶𝘨𝘦 𝘪𝘯 𝘣𝘪𝘵𝘤𝘰𝘪𝘯 𝘵𝘳𝘢𝘥𝘪𝘯𝘨 𝘧𝘰𝘳,𝘩𝘪𝘴 𝘴𝘵𝘳𝘢𝘵𝘦𝘨𝘪𝘦𝘴 𝘢𝘳𝘦 𝘵𝘰𝘱 𝘯𝘰𝘵𝘤𝘩,𝘩𝘦'𝘴 𝘳𝘦𝘢𝘭𝘭𝘺 𝘮𝘢𝘬𝘪𝘯𝘨 𝘮𝘦 𝘩𝘶𝘨𝘦 𝘨𝘢𝘪𝘯𝘴 𝘸𝘪𝘵𝘩 𝘩𝘪𝘴 𝘴𝘵𝘳𝘢𝘵𝘦𝘨𝘪𝘦𝘴 𝘪𝘯 𝘵𝘳𝘢𝘥𝘪𝘯𝘨

    • @spiritmoveministry4103
      @spiritmoveministry4103 3 года назад

      +1 2 5 1- 3 1 3- 3 5 3 8

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

    Hi Larry nice to meet you. Amazing job broth and thanks for sharing. This is pure gold :). Is that possible to see how to integrate buy and sell signals with a telegram bot?

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

    Great job Larry, I am following your videos which are very interesting , and I want to remark that you let me learn easily through your step by step way to explain. Thanks a lot.
    Larry is there a chance to get implemented a QQE signal which is also provided by trading view , but I ca not found how to do it , can you have a look on it ?

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

    Larry the boooiiiiiiii!

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

    ⭐❤

  • @konturgestalter
    @konturgestalter 3 года назад +1

    lllooooooveeee your content

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

    It would be phenomenal if you could backtest SuperTrend with backtrader! Or at least show how to backtest custom indicators!

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

    Love the video, but very much struggling to implement a supertrend indicator into backtrader, how would I go about doing this?

  • @anqicheng6069
    @anqicheng6069 3 года назад +1

    Hi Larry, may I just check - what code editor are you using? finding all the documentation seems really easy with your editor.

    • @corywhitney3861
      @corywhitney3861 3 года назад +3

      He uses Visual Studio Code. code.visualstudio.com/

    • @anqicheng6069
      @anqicheng6069 3 года назад +4

      @@corywhitney3861 thank you cory

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

    Great video as always!! How do i schedule multiple python files?

  • @SenneDeValck
    @SenneDeValck 3 года назад

    Great explanation! I've been building something similar with Nodejs and your videos have been a great help. When working with realtime market data, do you think it would be better to wait for the candle to fully close before setting a buy/sell order? This would prevent the orders from triggering on wicks that go below/above the supertrend before the candle has actually closed. The downside here would be that you are "late" and the price has gone up/down a bit more than when you would have bought/sold on the initial signal.

    • @spiritmoveministry4103
      @spiritmoveministry4103 3 года назад

      𝘛𝘩𝘢𝘯𝘬𝘴 𝘧𝘰𝘳 𝘺𝘰𝘶𝘳 𝘤𝘰𝘮𝘮𝘦𝘯𝘵,
      𝘞𝘳𝘪𝘵𝘦 𝘮𝘺 𝘣𝘳𝘰𝘬𝘦𝘳 𝘈𝘳𝘵𝘩𝘶𝘳 𝘙𝘢𝘧𝘢𝘦𝘭 𝘈𝘺𝘣𝘢𝘳 𝘰𝘯 𝘞𝘩𝘢𝘵𝘴𝘈𝘱𝘱 𝘵𝘰 𝘦𝘢𝘳𝘯 𝘩𝘶𝘨𝘦 𝘪𝘯 𝘣𝘪𝘵𝘤𝘰𝘪𝘯 𝘵𝘳𝘢𝘥𝘪𝘯𝘨 𝘧𝘰𝘳,𝘩𝘪𝘴 𝘴𝘵𝘳𝘢𝘵𝘦𝘨𝘪𝘦𝘴 𝘢𝘳𝘦 𝘵𝘰𝘱 𝘯𝘰𝘵𝘤𝘩,𝘩𝘦'𝘴 𝘳𝘦𝘢𝘭𝘭𝘺 𝘮𝘢𝘬𝘪𝘯𝘨 𝘮𝘦 𝘩𝘶𝘨𝘦 𝘨𝘢𝘪𝘯𝘴 𝘸𝘪𝘵𝘩 𝘩𝘪𝘴 𝘴𝘵𝘳𝘢𝘵𝘦𝘨𝘪𝘦𝘴 𝘪𝘯 𝘵𝘳𝘢𝘥𝘪𝘯𝘨

    • @spiritmoveministry4103
      @spiritmoveministry4103 3 года назад

      +1 2 5 1- 3 1 3- 3 5 3 8

  • @ItsJamesMurray
    @ItsJamesMurray 3 года назад

    🤘
    What is the best way to add in the brokerage fee or miner fee to make sure we are actually making money on the trade?

  • @TheNotoriousPhD
    @TheNotoriousPhD 3 года назад +1

    Awesome Video Larry !!!
    Could you pls also show how to put two cryptos, like BTC and ETH, in one dataframe ? So that we can trade two assets at the same time.
    I was struggling to do that. I found Alpaca is way more friendly.
    Thanks Larry ! Love you.

  • @aadikhan3716
    @aadikhan3716 3 года назад +1

    Hey larry i tried converting the code to 200 ema + stochastic rsi + super trend strategy. But somewhere m making mistake. I'm not able to calculate the stochastic rsi. Can you please show me how to combine these and make a better strategy. Just small modification in code. Thanks in advance for teaching us the amazing way to make auto trading bot.

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

    Great channel. I was wondering if you could do a video specifically on making Futures orders on Binance using ccxt.

  • @GoyavoCity
    @GoyavoCity 3 года назад

    Hi Larry. What made you decide to use a schedule to constantly pull the same data vs a web socket to just get the latest data?

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

      I used the CCXT library - which has websocket support as part of a paid license (CCXT Pro). I decided it would be best to do a tutorial that everyone could do with the free version. Perhaps I should do a video on CCXT Pro as well. Also, I have used websockets in plenty of the other videos (eg. Real-Time Trading Bot in 100 lines of code video), so like to change things up and show other ways of doing things. I don't think websockets add much value here since I probably wouldn't trade this on a short timeframe where real-time data is required. I actually don't trade minute-by-minute like this, I only do this in the video because it allows me to show real buys and sells actually happening while recording - which I believe makes for more interesting content than me showing a daily timeframe of something that happened in the past in a notebook like most tutorials do.

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

    I love your work. Can we do this with a websocket and a list of pairs ? Think most people want to trade more than one pair. But not many examples of that around and I'd like to stream price data in as changes happen. On a strategy like this 1 min doesn't make a difference, but let's say you want to do frequent rebalancing of the account. How to do that and stay within the rate limits. That be a nice to see...

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

    Damn Larry, thanks for these videos my man. They are really fun to watch and makes me think about a lot of things. Could you ever do something related to cryptoanalysis with deeplearning, so you can predict the stock market :D

    • @spiritmoveministry4103
      @spiritmoveministry4103 3 года назад

      𝘛𝘩𝘢𝘯𝘬𝘴 𝘧𝘰𝘳 𝘺𝘰𝘶𝘳 𝘤𝘰𝘮𝘮𝘦𝘯𝘵,
      𝘞𝘳𝘪𝘵𝘦 𝘮𝘺 𝘣𝘳𝘰𝘬𝘦𝘳 𝘈𝘳𝘵𝘩𝘶𝘳 𝘙𝘢𝘧𝘢𝘦𝘭 𝘈𝘺𝘣𝘢𝘳 𝘰𝘯 𝘞𝘩𝘢𝘵𝘴𝘈𝘱𝘱 𝘵𝘰 𝘦𝘢𝘳𝘯 𝘩𝘶𝘨𝘦 𝘪𝘯 𝘣𝘪𝘵𝘤𝘰𝘪𝘯 𝘵𝘳𝘢𝘥𝘪𝘯𝘨 𝘧𝘰𝘳,𝘩𝘪𝘴 𝘴𝘵𝘳𝘢𝘵𝘦𝘨𝘪𝘦𝘴 𝘢𝘳𝘦 𝘵𝘰𝘱 𝘯𝘰𝘵𝘤𝘩,𝘩𝘦'𝘴 𝘳𝘦𝘢𝘭𝘭𝘺 𝘮𝘢𝘬𝘪𝘯𝘨 𝘮𝘦 𝘩𝘶𝘨𝘦 𝘨𝘢𝘪𝘯𝘴 𝘸𝘪𝘵𝘩 𝘩𝘪𝘴 𝘴𝘵𝘳𝘢𝘵𝘦𝘨𝘪𝘦𝘴 𝘪𝘯 𝘵𝘳𝘢𝘥𝘪𝘯𝘨

    • @spiritmoveministry4103
      @spiritmoveministry4103 3 года назад

      +1 2 5 1- 3 1 3- 3 5 3 8

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

    Great tutorial, thank you.. I have built all according to your instructions but receive "invalid API key,IP, or permission for the action" error from Vscode. What do you think the reason might be?

  • @reversebros1510
    @reversebros1510 3 года назад

    Anyone here who tested this program does know the best parameters you can set? ( Example 1hour candle stick, or the limit etc. )

  • @TearstoneTerritory
    @TearstoneTerritory 3 года назад +6

    Hey Larry. Any thoughts on a tutorial on how to write a full fledged backtesting engine one day?

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

      I hadn't planned on writing one from scratch - on the roadmap I am planning to try some of the other popular packages - eg. bt, vectorbt, and backtesting

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

      @@parttimelarry it would be great if u can do some in-depth videos on bt

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

    Hi, what if I’d like to do it with forex? What broker should I use? Which library instead of CCTX should I use?

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

    It is very nice series. Thank you.
    How can i create order with stop-loss and take-profit in kucoin with ccxt?

  • @corywhitney3861
    @corywhitney3861 3 года назад

    It works good for the most part but I am having a problem with making the period anything above 60. Anything above that gives the incorrect trend and I don't know why. Also, if I input 100 as the period then I receive NaN values for the atr, upperband, lowerband, and I have the incorrect trend direction. I assume the incorrect trend direction is due to setting df['in_uptrend'] = True. Any ideas?

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

    I already told my wife, now i'm gonna say to you:
    I fucking love you.
    :)

  • @kimhongsieng6457
    @kimhongsieng6457 3 года назад +1

    Hi Larry, I watch Binance API video and now I watch CCTX video but all the videos are do the buy and sell using QUANTITY of the coin. Could you create an video that use USDT amount to buy a coin. thanks.

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

    thank you Sir for this tutorial, from. Philippines.
    but I have a question. it possible to set a computation of take profit. let say I want to sell in 1% profit.. thanks in advance

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

    How to make cctx future market....buy or sell....and with leverage????.....and the vídeo is awesome💥💥💥🥳🥳

  • @punitpatel4634
    @punitpatel4634 3 года назад

    Larry great video. It would be great if you expand this code to bulk back test this strategy for multiple stocks.

  • @markrobinson9986
    @markrobinson9986 3 года назад

    Hi Larry, been testing over the weekend and one issue cropped up, is the data coming through from the exchange could be upto 59sec stale depending on when you started the program, if you are triggering orders on 1min ticks. Would be good if you could cover aligning the data. A while-wait until time stamp = :01 sec

    • @parttimelarry
      @parttimelarry  3 года назад

      For sure, you can change the scheduling function to fire every second if you want to poll more frequently

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

    Is there a benefit to using schedule instead of crontab?

  • @sridharsri2061
    @sridharsri2061 3 года назад

    hi part time larry i have one doubt. where did you code your ac no,and how to connect binance ac?

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

    Hey,
    Does anyone know how to change the time zone in the timestamp column?
    I would like to put the CEST time zone and not the one that comes out by default
    Thanks

  • @victorochi4436
    @victorochi4436 3 года назад

    Thank you very much dear. But a quick question can it be converted into an app?

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

      A mobile app? Sure, no reason it can't. It is just web requests executing on a schedule and running some calculations on the data. This can be done with any programming language (Java for Android, Swift/Objective-C for iOS, or a cross-platform tool like React Native or Flutter). I just do command line in this case since it is quick and I mostly use Python on the channel (occasionally JavaScript on the web). Making a whole mobile app in a video tutorial would be too time consuming.

  • @LUIZ-uf6ln
    @LUIZ-uf6ln 2 года назад +1

    how would this logic look with javascript

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

    Hey Larry how can we implement it in Futures? Short on DownTrend and Long on UpTrend?

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

      Do you have a solution for this?

  • @rafalsza
    @rafalsza 3 года назад

    Thanks for content ! Can I modify this script in a simple way to multiple coins trading?

  • @lobobver
    @lobobver 3 года назад

    hi Larry, first i wana say thank you for your tutorials...i have one question...i have connected the bot with telegram and it works really nice but what python module should i learn (or watch video) if i want more users to be able start/stop the schedule and receive messages from bot

    • @spiritmoveministry4103
      @spiritmoveministry4103 3 года назад

      𝘛𝘩𝘢𝘯𝘬𝘴 𝘧𝘰𝘳 𝘺𝘰𝘶𝘳 𝘤𝘰𝘮𝘮𝘦𝘯𝘵,
      𝘞𝘳𝘪𝘵𝘦 𝘮𝘺 𝘣𝘳𝘰𝘬𝘦𝘳 𝘈𝘳𝘵𝘩𝘶𝘳 𝘙𝘢𝘧𝘢𝘦𝘭 𝘈𝘺𝘣𝘢𝘳 𝘰𝘯 𝘞𝘩𝘢𝘵𝘴𝘈𝘱𝘱 𝘵𝘰 𝘦𝘢𝘳𝘯 𝘩𝘶𝘨𝘦 𝘪𝘯 𝘣𝘪𝘵𝘤𝘰𝘪𝘯 𝘵𝘳𝘢𝘥𝘪𝘯𝘨 𝘧𝘰𝘳,𝘩𝘪𝘴 𝘴𝘵𝘳𝘢𝘵𝘦𝘨𝘪𝘦𝘴 𝘢𝘳𝘦 𝘵𝘰𝘱 𝘯𝘰𝘵𝘤𝘩,𝘩𝘦'𝘴 𝘳𝘦𝘢𝘭𝘭𝘺 𝘮𝘢𝘬𝘪𝘯𝘨 𝘮𝘦 𝘩𝘶𝘨𝘦 𝘨𝘢𝘪𝘯𝘴 𝘸𝘪𝘵𝘩 𝘩𝘪𝘴 𝘴𝘵𝘳𝘢𝘵𝘦𝘨𝘪𝘦𝘴 𝘪𝘯 𝘵𝘳𝘢𝘥𝘪𝘯𝘨

    • @spiritmoveministry4103
      @spiritmoveministry4103 3 года назад

      +1 2 5 1- 3 1 3- 3 5 3 8

  • @jitkadyan
    @jitkadyan 3 года назад

    Can you solve a problem that when we get data from API for many tickers from a list of tickers using for loop then implement them in any strategy like putting indicators and setting condition for entry and exit it will take some time to execute and that the time of entry in trade increase and we were not able to execute the trade at a specific time of candle period like 5 seconds after any time frame of candle formed? So can you provide us a solution of storing this live data and getting scan entry and exit results as quickly as possible. will be very thankful to you dear. some sort of scalping strategy you can explain.