Coinbase Pro API, TradingView Webhooks, and Google Cloud Functions
HTML-код
- Опубликовано: 6 сен 2024
- I'm starting a new channel on AI at / @parttimeai
Sign Up For TradingView: www.tradingvie...
In this video, we connect TradingView webhooks to the Coinbase Pro API via Google Cloud Functions. Once again, we use CCXT to interact with Coinbase Pro.
Buy Me a Drink: www.buymeacoff...
I'm starting a new channel on AI at youtube.com/@parttimeai
Sign Up For TradingView: www.tradingview.com/gopro/?offer_id=10&aff_id=22256
Buy Me a Drink: www.buymeacoffee.com/parttimelarry
Hey Larry,
You have great content. As an upcoming developer it’s people like you that pay forward for people like me. Thank you!
@@maquandawkins3434 Thanks, glad you have been enjoying it. Hope you build lots of cool stuff!
Hey Larry, you haven't posted in 3 weeks, just checking on you man, hope all is well
Hello trying to implement based on this Wonderfull tutorial google function who will trade automatically when received tradingView webHook on ByBit exchange, I got this issue : The Amazon CloudFront distribution is configured to block access from your country.
We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation. Does somebody got this ? Need help please@@monuaimat5228
Hi Larry, any chance you can do an update to this video. Coinbasepro is now Coinbase Advanced Trade.
the way that you explain your debugging process and what goes on in your head is the most useful thing ever
Thank you for creating these tutorials! I was able to get this set up without any python, visual studio or coding background (some arduino iot stuff). It took me almost two weeks after work because of the learning curve, but it works. I really appreciate the effort you put into these! You're a pro because you make it look easy 😃
Love to hear this! That's awesome that you got it running. I know it is more challenging than it appears on video!
Larry, can you do a video on all the paid and free services you use? Charts, Blogs, Data, Insider Data etc.
Thanks for your educational videos Larry .
So I know absolutely nothing bout coding. I usually skip right past these types of videos but I watched every second and em so fascinated by the world of coding. Thanks for the content!!
Glad it was interesting! Cheers and happy holiday!
Bravo Larry ! very nice video
Hi Larry please a chapter for plotting charts
Brilliant! I was already installing the tradekit on my vultr server to deploy a trading bot on but this looks like a cleaner solution
Great content!! you even did a limit order, I've learned so much from you!
excellent
Larry, I have been searching for you since 2017. Thank you for sharing!
saw alpaca promoting your videos....very cool!
Love your videos man
good evening as well ;-)
Webhook with IB 🙏🏽🙏🏽
Must!
yes please i would like it too
WE NEEDS MORE VIDEOS, QUICKER!!!!!!
Thx for video!
Looking smart bro thank you for sharing knowledge !!
This helped my trading strategy ! Thank you Larry ! What a legend
Would it be possible going forward for you to put links to old videos that are referenced in the cards or description so we know exactly which video to go back an watch? I'm not specifically referring to this video however; I was just going through several of your initial projects and it is a little cumbersome to find the necessary info to complete most of these projects
maybe an episode of this same thing but for making entries when price drops or rises by a certain % or somthing like that?
Good evening))
Great video Larry. It would be nice if you teach us a more advanced trading bot, using 2 indicators for better signals, maybe combining RSI and EMA or MACD. Thanks for sharing your knowledge.
Hi guys, great video just wondering if anyone else encountered a problem with they directory not being found through visual studio code? I'm using the correct python 3.11
Could I made a request for future videos? I think it can be useful to paper trade your current Trading view strategies, building up on the content you already made with CCXT, web hooks, Google functions/heroku bot . Thank you for the great content!
PTL, if Cardano suddenly takes off I’m gonna build a bot that trades everything you do and call it “accidental fortune”. 😉
Excellent.
Great videos man!
gr8 content man
Have you tried CCXT Pro's WebSocket implementation for Binance/CoinbasePro ?
Love you awesome tutorials mate. Keep it going. I’m learning so much. Thank you.
I don’t want to use cloud based services such as Google cloud, mainly due to cost. I wish to to do exactly the same as this video BUT using ngrok to pass the json from trading view to ccxt on my local pi400 then out to the exchange to execute.
Is it possible to cover that part? Please
There is an ngrok / Flask approach on one of my other TradingView videos with Alpaca. You would just need to swap out the ordering part with CCXT.
interesting
Would still like a new Coinbase video, but I did this with kraken. Only issue I ran into was with the Google cloud when I plugged that into the insomnia it didn’t work.
Thank you so much Larry! Very well explained!
I want to create webscraper which stores the values of stocks in a database. Now the thing is stocks update every second so how can i make a database that updates every second? I'll be using python for webscraping. How can i upload,update and fetch the data to a database and also which database should i use?
Hi Larry, I'm worried about you, I hope you are well
Hello Larry! Excellent videos!
hi your video is really helpful, I just have a quick question , where do you get that google function cloud domain , we have to apply or we will get it after deploy,
thanks
Thank you
your videos on how to connect things are amazing, but really the big thing is having a stable algorithm using real math and not moving averages, maybe you would go to this area ? :)
This is more fascinating and hard to learn online.
Hey Larry, where have you been for so long ? we are missing you !
Vacation
your vacations are too long ;-)
Really too long ;-)
Can't even find Coinbase pro's notifications settings of filled orders, neither on the desktop, nor the app... I'd like notification to my phone when Limit Orders get filled.
Brutal... Gracias!!
Hi Larry, Please do an updated video. Since coinbase took away pro if you have just coinbase API keys this code doesn't work.
where is the code? Is there a way to programmatically (via an API) update a TradingView chart by adding the trades (filled orders) coming from an exchange, like Coinbase or Binance?
I would love to automate adding my trade to the charts
Agreed, you find any solution for that yet?
@@FirstLast-gk6lg no. They have something called Pipe Script. But didn't see if you can do API calls with it . I think just modify the chart by adding indicators, etc.
Thanks Larry for all your videos, they have helped immensely over the past year. I’ve managed to get a bot working on ETH long/short and currently testing it in the wild. One issue that consistently comes up is my market orders won’t fill 100% every time (e.g. fills 84.5% of order) so when the bot comes to sell, I get ‘insufficient funds in account’ error and get stuck in the trade. Is there a way to instead get account balance using CCXT and sell using that figure in lieu of the TradingView alert quantity that comes in?
amazing stuff, thank you
Amazing video!!, thanks for share your knowledge :)
Wow wow wow! Is it for real if I would like to connect my Coinbase PRO account with Tradingview, then I need a programmer skills?
This is awesome sir. Thank you.
How often can you poll the api market values before it rate limits you?
Can i like this video twice :)
As always detailed videos, I have started based on your code and its working quite well. I see one caveat though the time it takes from tradingview to start the GCF is around 6 seconds, and another 10 seconds to process the whole buy and sell. Is there any way to reduce the time between tradingview alert being sent and GCF receives it? I increased the memory of GCF from 256 to 512 to reduce the time it takes to process but is that fine? Thanks for your inputs Larry!
Amazing video. I tried to follow this video step by step. But instead of coinbasepro i use the binance api. Everything works fine on my local vm. But as soon as i deploy this code to the google cloud i get an Server Error 500. Now im asking me if i may missed something about the setup in the google cloud. Anyone also got this problem? (localhost = OK, orders executed and google cloud = Error 500)
this is great.
Hi, is it possible to create a bot that connects to binance 'isolated margin'. iv been trying to do it with ccxt but struggling.
I have an error in my code, when I request the timestamp, the problem is finding the serverTime, what solution exists for this?
Hey Larry, if you want to cover another exchange in a future video, can you do TV to Bitvavo? It’s a lowkey European exchange and I can’t figure out the code to transfer my alerts to orders.
Thank you for breaking it down so nice. Can you please give us an example on a future video for partial take profit and maybe how to make a TradingView Strategy work instead of just an indicator alert. Can this be done with a different json message?
I believe the binance strategy alert video on this channel is what you are asking for. It has additional placeholders in the message that I talk about in that video.
@@parttimelarry Thank you for your quick response! I have one more please if you can. Where can i find the right function for python to execute the trades given by those placeholders? I'm looking on github ccxt ftx but i only see market buy/sell and limit buy/sell.Do I use a combination of these somehow or there is another one? Maybe something general from ccxt that works with all exchanges? I mean for strategies with partial profits and then close whats left either in profit or loss. I can share the source code of a great TradingView strategy i'm using with TP1, TP2 and then close the rest for maybe a future video. Please let me know how i can contact you to send you the script so you can have a look.
@@fr0st148 why not just calculate TP1 trade and TP2 trade and send as two different trades with the lot size distributed appropriately between the two?
Is there a way to create alerts based on certain indicators like the the fractals or alligator indicator. It looks like you can only trigger a alert based on price
Any video coming for Tradestation bot? thank you!
Nice video, Does pine support something like ffill/bfill method in pandas?
I love you because its free! PLEASE don't ever go with a paywall! Like this, you really give lots of hopium to the world!!!! I hate the attitude of you need money to make money..... fu those guys fu the system!
Great! does any one know is it possible to gather historical ohlc prices from trading view api????????
Hi Larry, thanks for sharing your video, how was the performance during the dips in recent days? People were saying Coinbase wasn't responsive and potentially caused a lot of people to liquidate (i.e. API unavailable)
Does your whole bot work if you close out TV and turn off your computer? Is everything happening in the cloud?
also wouldnt doing this like this.. every time it would hit your price it would limit order every time price hit that set price?
or it only does as long as the alert is set?
Can I use Kraken with this method ?
Hello my friend, can you make us a pump and dump program that works on the Hotbit platform
Does tradingview webhook requires pro version now? Which version do I need to use webhooks?
Can this use for binance?
Can you make a video on how to create a Coinmarketcap or Coingecko clone in python if you do not have one yet?
How to create a webhook on my site for connect TradingView webhooks?
ily
Larry, ive set everything up like you had it in the video (i think), but i cant get my cloud server to read the webhook from tradingview. Any ideas?
Would need more detail, is there anything in the log files? Is it working when you post from postman or insomnia?
⭐❤
Have you used Alertatron? It automates all the execution from a simple web hook. You should check it out :)
I love you
bro can do video on coinDCX API bro please
PEOPLE TRADING VIEW - HEIKIN ASHI
BUY = open < close
SELL = close > open
HOOOLY SHIT
Please teach as webhook instead of Google cloud on github
man is there a code free easy way to do this lol
Imagine coinbase just allowing you to connect as a broker like Gemini 🤦🏼♂️
STOP SLAMMING THE ENTER KEY... AND THE DAMN MOUSE
omfg
choosy lil beggar