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...

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

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

    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

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

      Hey Larry,
      You have great content. As an upcoming developer it’s people like you that pay forward for people like me. Thank you!

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

      @@maquandawkins3434 Thanks, glad you have been enjoying it. Hope you build lots of cool stuff!

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

      Hey Larry, you haven't posted in 3 weeks, just checking on you man, hope all is well

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

      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

    • @firemanjohn98
      @firemanjohn98 5 месяцев назад

      Hi Larry, any chance you can do an update to this video. Coinbasepro is now Coinbase Advanced Trade.

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

    the way that you explain your debugging process and what goes on in your head is the most useful thing ever

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

    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 😃

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

      Love to hear this! That's awesome that you got it running. I know it is more challenging than it appears on video!

  • @AnyFactor
    @AnyFactor 3 года назад +16

    Larry, can you do a video on all the paid and free services you use? Charts, Blogs, Data, Insider Data etc.

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

    Thanks for your educational videos Larry .

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

    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!!

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

      Glad it was interesting! Cheers and happy holiday!

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

    Bravo Larry ! very nice video

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

    Hi Larry please a chapter for plotting charts

  • @Johnsormani
    @Johnsormani 6 месяцев назад

    Brilliant! I was already installing the tradekit on my vultr server to deploy a trading bot on but this looks like a cleaner solution

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

    Great content!! you even did a limit order, I've learned so much from you!

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

    excellent

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

    Larry, I have been searching for you since 2017. Thank you for sharing!

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

    saw alpaca promoting your videos....very cool!

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

    Love your videos man

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

    good evening as well ;-)

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

    Webhook with IB 🙏🏽🙏🏽

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

      Must!

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

      yes please i would like it too

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

    WE NEEDS MORE VIDEOS, QUICKER!!!!!!

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

    Thx for video!

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

    Looking smart bro thank you for sharing knowledge !!

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

    This helped my trading strategy ! Thank you Larry ! What a legend

  • @2010karatekid
    @2010karatekid 3 года назад +2

    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

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

    maybe an episode of this same thing but for making entries when price drops or rises by a certain % or somthing like that?

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

    Good evening))

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

    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.

  • @drewcamp
    @drewcamp 11 месяцев назад +1

    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

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

    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!

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

    PTL, if Cardano suddenly takes off I’m gonna build a bot that trades everything you do and call it “accidental fortune”. 😉

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

    Excellent.

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

    Great videos man!

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

    gr8 content man

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

    Have you tried CCXT Pro's WebSocket implementation for Binance/CoinbasePro ?

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

    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

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

      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.

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

    interesting

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

    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.

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

    Thank you so much Larry! Very well explained!

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

    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?

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

    Hi Larry, I'm worried about you, I hope you are well

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

    Hello Larry! Excellent videos!

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

    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

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

    Thank you

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

    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.

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

    Hey Larry, where have you been for so long ? we are missing you !

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

    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.

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

    Brutal... Gracias!!

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

    Hi Larry, Please do an updated video. Since coinbase took away pro if you have just coinbase API keys this code doesn't work.

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

    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

    • @FirstLast-gk6lg
      @FirstLast-gk6lg 2 года назад

      Agreed, you find any solution for that yet?

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

      @@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.

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

    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?

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

    amazing stuff, thank you

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

    Amazing video!!, thanks for share your knowledge :)

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

    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?

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

    This is awesome sir. Thank you.

  • @Steve-xb7dn
    @Steve-xb7dn 4 месяца назад

    How often can you poll the api market values before it rate limits you?

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

    Can i like this video twice :)

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

    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!

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

    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)

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

    this is great.

  • @channelcartoon-childrentv8286
    @channelcartoon-childrentv8286 Год назад

    Hi, is it possible to create a bot that connects to binance 'isolated margin'. iv been trying to do it with ccxt but struggling.

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

    I have an error in my code, when I request the timestamp, the problem is finding the serverTime, what solution exists for this?

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

    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.

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

    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?

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

      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.

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

      @@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.

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

      @@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?

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

    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

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

    Any video coming for Tradestation bot? thank you!

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

    Nice video, Does pine support something like ffill/bfill method in pandas?

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

    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!

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

    Great! does any one know is it possible to gather historical ohlc prices from trading view api????????

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

    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)

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

    Does your whole bot work if you close out TV and turn off your computer? Is everything happening in the cloud?

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

    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?

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

    Can I use Kraken with this method ?

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

    Hello my friend, can you make us a pump and dump program that works on the Hotbit platform

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

    Does tradingview webhook requires pro version now? Which version do I need to use webhooks?

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

    Can this use for binance?

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

    Can you make a video on how to create a Coinmarketcap or Coingecko clone in python if you do not have one yet?

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

    How to create a webhook on my site for connect TradingView webhooks?

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

    ily

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

    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?

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

      Would need more detail, is there anything in the log files? Is it working when you post from postman or insomnia?

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

    ⭐❤

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

    Have you used Alertatron? It automates all the execution from a simple web hook. You should check it out :)

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

    I love you

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

    bro can do video on coinDCX API bro please

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

    PEOPLE TRADING VIEW - HEIKIN ASHI
    BUY = open < close
    SELL = close > open
    HOOOLY SHIT

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

    Please teach as webhook instead of Google cloud on github

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

    man is there a code free easy way to do this lol

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

    Imagine coinbase just allowing you to connect as a broker like Gemini 🤦🏼‍♂️

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

    STOP SLAMMING THE ENTER KEY... AND THE DAMN MOUSE
    omfg

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

      choosy lil beggar