CCXT - Cryptocurrency Exchange Trading Library Tutorial

Поделиться
HTML-код
  • Опубликовано: 26 сен 2024
  • Like the video? Support my content by checking out Interactive Brokers using the link below:
    www.interactiv...
    In this tutorial, I demonstrate CCXT, the Cryptocurrency Exchange Trading Library. CCXT supports over 100 crypto exchanges and makes trading available under a simple uniform interface. In this video, I use Binance and Coinbase Pro.

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

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

    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
    Follow Me On Twitter: twitter.com/parttimelarry
    Source Code: github.com/hackingthemarkets
    Buy Me a Coffee: www.buymeacoffee.com/parttimelarry

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

    soothing voice from Part Time Larry to explain a library in 26 mins that would've taken me a day to understand, much love

  • @ZeroDay-gn2cw
    @ZeroDay-gn2cw 3 года назад

    Hello Mr. Larry
    You are the best teacher and the best programmer
    Thankful

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

    Holy #$*%!
    Thanks, dude. I've been looking for something like this for the past 3 months. You may have just answered my prayers. LOL

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

    Hooooooollllyyy molly I am so watching al your videos on the channel (haven`t any yet :) ! That is type of content I was looking for such a long time. Thank you in advance!

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

    as absolute noob I take this tutorial as my starting point, thanks man for putting so much effort in !!!!

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

    Really enjoyed your tutorial! Hope to watch more tutorial about ccxt from you.

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

    Bro your stuff is so slept on - so amazing!!! Could you do a video on a more advanced and generic strategy for crypto/stocks!

  • @reyjanson1788
    @reyjanson1788 3 года назад +13

    can we see some Arbitrage implementation ?? x

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

    Great video once again! You know what would be a possibly interesting topic for a video: Is discussing how to better get involved in this ecosystem of bot trading. Im very currious to find out how you learn about all these things like the numerai contest or various trading platform's automated features. Just like where to go to get plugged in and how you keep up on new technologies and such

  • @Ro1andDesign
    @Ro1andDesign 3 года назад +8

    I would love to see both a Super trend with MACD as well as an arbitrage strategy, as other comments have mentioned too.

  • @Cliff-M-
    @Cliff-M- 3 года назад +1

    Awesome content as always. Thanks.

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

    Looking forward to the super trend python implementation.
    If you can do super trend with MACD that will be great because I find that this is one of my best strategies when day trading.
    Super trend on his own is not very effect but with MACD it is a tool every day trader in my opinion needs.

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

      Yeah thats one of the setups i am using. I would love to see the python implementation

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

    Great video, more please! :)

  • @user-5ry3th
    @user-5ry3th 3 года назад +1

    it's amazing, thank you!

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

    Absolute Legend!! Thank you so much!!

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

    Hi Larry,
    Your videos are awesome!
    I’m hoping that you could show us how to use CCXT to float a percentage of account pair to fill orders to compound buys and sells.. and maybe combine the forces of your tutorial library somehow by implementing different strategies simultaneously, say for instance: combine your Bollinger squeeze, with rsi oversold and an increase in last 14 period volume by 20% on a daily chart for a buy trigger. Then to sell, use the super trend for a stop loss on a 30 minute trigger and, use talib pattern recognition to calculate next Fibonacci high, or use trading view tend line cross trigger on an hourly chart, for a take win in an order cancels order..
    Or maybe trade using both up and down derivatives?
    You have made learning coding fun!!!
    Thankyou.

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

    At 15:00 what key do you press in vs code to jump to the .fetch_ohlcv definition, please?

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

    Thanks!

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w Год назад

    may be a useful video might be what checks one should do before installing a pip package. I noticed there are a lot of packages nowadays. and not sure which ones are okay. and what the consequences might be.

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

    Very nice. I would love to see some of this integrated with Backtracker

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

    how to place stoplosss and takeprofit in create_market_buy_order()?

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

    Great videos ... I'm using CCXT with python and it's mostly straight forward but I have hit a problem trying to find any straight forward information on how to implement the hashed signature and timestamp requirement necessary for some of the requests ... I even read somewhere that Binance are seeing large numbers of people spending hours on their servers trying to solve the Authentication errors/signature/timestamp errors etc ... I think it would be a popular video tbh ... I have spent about a week so far and still getting signature for this request not valid ... the explanations on stack-overflow are not exactly suitable for beginners and Binance documentation isn't a great help when using CCXT ... I doubt anyone but you could explain what the hell they want exactly.

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

    Great Video partime Larry, quick question is backtesting possible using just CCXT?

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

    I appreciate your tutorials. They are wonderful help. Could you show us how to code a Ichimoku cloud strategy with long and shorts please.

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

    I'm going to follow along as usual. Great stuff. How about a buy order when RSI is oversold and the price is lower than the 200 ema on a 4 hour chart. Sell when price is 10% higher than 200 ema

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

      Sounds like a great strategy. I may try later. See Larry’s next TA video. PTL has opened my eyes to the power of dataframes. Add new columns for RSI and 200ema to the base OHLC dataframe. This can be tricky, but I have done before. He gives BB example in the new TA video. Clues… may need dataframe iLoc & dataframe length manipulation to get RSI values to match correct rows. Stackoverflow is a great resource. Script will check next to last dataframe row for RSI/200ema triggers… add script to 4hr cronjob.

  • @JaJA-qt3br
    @JaJA-qt3br 2 года назад

    for now it is good idea to stake and wait so I think it makes sense to do it with leo token

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

    amazing!!!!

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

    Larry, thanks for the video. Would you be able to point me to the video where you demonstrating how to use the "scheduler" library, please?

  • @ДаниярАринов-ы2е
    @ДаниярАринов-ы2е 2 года назад

    Hi Larry. Thanks for you perfomance. Do you have ideas for short trading?

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

    i'm getting errors, I think the API might have changed for some of the functions?
    "gemini fetch_order_book failed due to an exchange error: gemini fetchCurrencies() failed to fetch correct data from website. Probably webpage markup has been changed, breaking the page custom parser.string indices must be integers"

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

    It would be good to have an introduction to ccxt with node JS. :-)

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

    ⭐❤

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

    Great to hear that you're aiming to make more crypto. I personally like it a lot. But I also like you other videos too. Thanks for making this content for us!

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

      Definitely will be spending more time on crypto. While this channel was originally stock market specific, the stock market only being open 6:30AM-1:00PM on weekdays really limits some of the content I can make since I want to do more live trading demos. On top of that, the subscription / data access fees for stock market data gets old, especially since I like to make videos on multiple brokers and need to maintain an account for each one. Furthermore, the user interfaces for crypto apps are more fresh and innovative. The established stock brokers still have shitty mobile and web apps, which is why Robinhood was able to win so easily. Also, with all of the excitement around NFT's, social tokens, DeFi, etc. there is so much more tech to explore that it would be silly to limit technical content to the stock market applications.

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

      @@parttimelarry Great desicion.

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

    great! I don't need to reinvent the wheel

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

    great video, can you make a tutorial for ccxt pro ?

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

    Hi Larry, could I ask you about how post a simple order with SL anda TP in bybit, I dont understand the documentation. Thanks bro

  • @self-improvementdirection6012
    @self-improvementdirection6012 3 года назад

    This is the best tutorial on Programming I've seen. Please how can I use ccxt to fetch exchange's orderbooks using python asyncio.. i don't want to use ccxt pro. Please any little clue ?

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

    Kudos - Question? Did you stop using your Docker Up install? Is that what you are in when you did this video? I am wondering if that Docker idea was deprecated? No longer needed? etc. Please advise.....

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

    Can you do a part 2 with some examples how to get trades from different exchanges?

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

    I am creating a mobile application with react native and when I try to fetchBalance() it gives me CORS error 'No 'Access-Control-Allow-Origin' header is present'. Can you please suggest me how should I tackle this issue without setting up a proxy server?
    Thanks in advance

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

    what was the library overview you are accessing?

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

    i've found another strange discrepancy between what you achieve and what i do:
    Traceback (most recent call last):
    File "/Users/someuser/PycharmProjects/somewhat_crypto/bot.py", line 19, in
    print(balances['total']['ETH2'])
    KeyError: 'ETH2'
    while I've follower your tutorial step by step :/
    what am I doing wrong?

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

    Awesome tutorial.
    how fetch_ohlcv from Current candle that still not closed?
    i need open, high, low values in live with python.
    big Thanks

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

    would like to see triangle strategies.

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

    please connecting api to tradingview ,please have you a step by step tutorial. thank you.

  • @Max-yz4dg
    @Max-yz4dg 2 года назад

    how can you get fetch multiple ticker at ounce ?

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

    Would you be able to do a video about backtesting in an easy way, for lets say all the crypto coins and compare them on 2 different strategies? thx !!

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

    Love your content Larry! any chance you could mentor a fellow Argentinian Developer!? Keet it up, regards!

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

    Could you/anybody show how to write the candlestick data of multiple symbols into Excel with CCXT to build a screener? I tried the same method in the channel for S&P500 from yfinance, but it did not work.

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

    so this is like for accessing crypto exchanges programmatically? can it be used for sending crypto from one account to other?

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

    hey larry thanks for the video
    i have a question my vscode doesn't show the methods of the ccxt library it's not just that one for all the libraries that i've downloaded with pip it doesn't autocomplete their methods do you know how can i fix that?

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

    can I use it for Indian Use Exchange

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

    Is coinbase and coinbase pro same or different companies? I logged in with same credentials, one has a live chart and the other not. But coinbase show balances, the other not.

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

    Hi - I would love to know if this can be utilised with the backtrader to test the strats...

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

      Will try this out github.com/Dave-Vallance/bt-ccxt-store

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

    I cant install ccxt? it says command not found

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

    很受用

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

    could this be made to work with forex

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

      Someone requested here in March of last but I see no updates: github.com/ccxt/ccxt/issues/6716

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

    Great video. Regarding ccxt, if i am not wrong it doesn't support short selling, or does it? And as usual there are some pros and cons, it is convenient but by using it you have to sacrifice specifics like trail orders. If I am not wrong.

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

      For sure, by attempting to support so many exchanges, there is definitely a "lowest common denominator" where you lose some functionality that is specific to certain exchanges. I want to check on CCXT Pro as well, I think you can only use websockets through that version. Maybe it has other features as well.

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

    I can't find your video about NMR

  • @quynhd.2334
    @quynhd.2334 2 года назад

    Can this be use as a ramp?

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

    import ccxt doesn't work, followed every troubleshooting list I could find, still .egg error "ccxt module not found" etc. I'm ready to throw this computer off a bridge, after shooting it first

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

    how import ccxt ?

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

    how do you use ccxt with the sandbox

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

    Hi Larry, what IDE are you using on the right of the screen?

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

      Video Studio Code?

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

      @@detroiter4eva Thx!

  • @Person-hb3dv
    @Person-hb3dv 2 года назад

    12:55 O-o

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

    Hello nice video. Is is library safe to use can they steal my account or my money?

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

    Thanks for ccxt video

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

    Can't wait for the solidity streams :)

  • @Personify.solutions
    @Personify.solutions 3 года назад +2

    Great! thanks larry

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

    Good to see you again Larry. Binance Futures and doji strategy by 03.freeman (tradingview)

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

    Great content as always, thanks master. Maybe you could apply some strategy for buying/selling based on supports and resistences. Can you take a look at this python script for detecting those levels.
    towardsdatascience.com/detection-of-price-support-and-resistance-levels-in-python-baedc44c34c9
    Thanks in advance.

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

    Thanks

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

    Larry, Long time no see! Hope to see your market making strategy for crypto in the future!

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

    Glad to see you ditched the black backdrop. I really like the larger PIP with a natural background much more.

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

    You are alredy the Trading Bot Guy.

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

      Haha, yeah I guess I am! Trying to find the right boundaries of the niche :)

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

    What do you think about a Dropshipping Bot?

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

    When is the next one ?

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

    after fetching 4 times i have error: "code" : "429000", "msg":"too many Requests"
    enableRateLimit = True
    but not resolve the error
    please help, Thanks

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

    Hey Larry I am getting this problem at Binance could you help (it's only on binacnce-its everything working fine on coinbase )
    Traceback (most recent call last):
    File "C:\Users\Abdulrahman Alhalabi\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(

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

    Great video !
    I would like to see the implementation of an arbitrage strategy :)

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

    Can you hook this up to backtrader?

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

    I appreciate your videos sir. I literally just begun programming for the first time in my life and was able to follow what you've done. Thank you!!! I'll watch&follow the rest of it tonight.

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

    Ah!... I love how you make these topics digestible... AKA - still hungry... just kidding... THANKS AGAIN!

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

    Thank you very much for your explanations always very clear.

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

    Awesome tutorial! keep up the good work

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

    This is incredible.
    You are a great teacher!

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

    Good. If you are doing well and you have time, you could make a video of Arbitrage between exchanges with the ccxt library

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

    Larry is full time the n1😀

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

    Her Larry, thank you for taking the time to make videos for us all. Can you have a video on how to create a bracket/OCO order for coinbase pro?

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

    Очень круто! Спасибо большое!