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.
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
Cheers!
soothing voice from Part Time Larry to explain a library in 26 mins that would've taken me a day to understand, much love
Hello Mr. Larry
You are the best teacher and the best programmer
Thankful
Holy #$*%!
Thanks, dude. I've been looking for something like this for the past 3 months. You may have just answered my prayers. LOL
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!
as absolute noob I take this tutorial as my starting point, thanks man for putting so much effort in !!!!
This sure is an eye-opener.
Really enjoyed your tutorial! Hope to watch more tutorial about ccxt from you.
Bro your stuff is so slept on - so amazing!!! Could you do a video on a more advanced and generic strategy for crypto/stocks!
can we see some Arbitrage implementation ?? x
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
He ain't tellin. LOL
I would love to see both a Super trend with MACD as well as an arbitrage strategy, as other comments have mentioned too.
Awesome content as always. Thanks.
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.
Yeah thats one of the setups i am using. I would love to see the python implementation
Great video, more please! :)
it's amazing, thank you!
Absolute Legend!! Thank you so much!!
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.
At 15:00 what key do you press in vs code to jump to the .fetch_ohlcv definition, please?
Thanks!
Thank you!
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.
Very nice. I would love to see some of this integrated with Backtracker
how to place stoplosss and takeprofit in create_market_buy_order()?
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.
Great Video partime Larry, quick question is backtesting possible using just CCXT?
I appreciate your tutorials. They are wonderful help. Could you show us how to code a Ichimoku cloud strategy with long and shorts please.
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
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.
for now it is good idea to stake and wait so I think it makes sense to do it with leo token
amazing!!!!
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?
Hi Larry. Thanks for you perfomance. Do you have ideas for short trading?
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"
It would be good to have an introduction to ccxt with node JS. :-)
⭐❤
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!
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.
@@parttimelarry Great desicion.
great! I don't need to reinvent the wheel
great video, can you make a tutorial for ccxt pro ?
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
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 ?
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.....
Can you do a part 2 with some examples how to get trades from different exchanges?
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
what was the library overview you are accessing?
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?
Awesome tutorial.
how fetch_ohlcv from Current candle that still not closed?
i need open, high, low values in live with python.
big Thanks
would like to see triangle strategies.
please connecting api to tradingview ,please have you a step by step tutorial. thank you.
how can you get fetch multiple ticker at ounce ?
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 !!
Love your content Larry! any chance you could mentor a fellow Argentinian Developer!? Keet it up, regards!
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.
so this is like for accessing crypto exchanges programmatically? can it be used for sending crypto from one account to other?
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?
can I use it for Indian Use Exchange
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.
Hi - I would love to know if this can be utilised with the backtrader to test the strats...
Will try this out github.com/Dave-Vallance/bt-ccxt-store
I cant install ccxt? it says command not found
很受用
could this be made to work with forex
Someone requested here in March of last but I see no updates: github.com/ccxt/ccxt/issues/6716
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.
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.
I can't find your video about NMR
Can this be use as a ramp?
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
how import ccxt ?
how do you use ccxt with the sandbox
Hi Larry, what IDE are you using on the right of the screen?
Video Studio Code?
@@detroiter4eva Thx!
12:55 O-o
Hello nice video. Is is library safe to use can they steal my account or my money?
Thanks for ccxt video
Can't wait for the solidity streams :)
Great! thanks larry
Good to see you again Larry. Binance Futures and doji strategy by 03.freeman (tradingview)
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.
Thanks
Larry, Long time no see! Hope to see your market making strategy for crypto in the future!
Glad to see you ditched the black backdrop. I really like the larger PIP with a natural background much more.
You are alredy the Trading Bot Guy.
Haha, yeah I guess I am! Trying to find the right boundaries of the niche :)
What do you think about a Dropshipping Bot?
When is the next one ?
after fetching 4 times i have error: "code" : "429000", "msg":"too many Requests"
enableRateLimit = True
but not resolve the error
please help, Thanks
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(
Great video !
I would like to see the implementation of an arbitrage strategy :)
Can you hook this up to backtrader?
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.
Ah!... I love how you make these topics digestible... AKA - still hungry... just kidding... THANKS AGAIN!
Thank you very much for your explanations always very clear.
Awesome tutorial! keep up the good work
This is incredible.
You are a great teacher!
Good. If you are doing well and you have time, you could make a video of Arbitrage between exchanges with the ccxt library
Larry is full time the n1😀
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?
Очень круто! Спасибо большое!