Favourite is that I can move my low fee Coinbase Pro coins to Coinbace for free - it would be great to automate that too (if it's possible?). Rhett, you are an absolute legend for this (and your other) tutorials -you really have a great teaching style dude thank you ♥ EDIT: I thought your explanation was perfect, the AWS thing I thought was not needed, but having said that I am right now watching your AWS video :-D
Thanks for the kind words :) I have a video/task in the backlog to make a script to move funds from CBPro to CB. Will add an update to RUclips when that code is available, might not be for a while - have some busy months coming up
I AM BLOWN AWAY! I followed your tutorial and it worked perfectly first time. I now have automated recurring crypto purchases! Investing while I sleep 😎 What can I say Rhett! I am extremly grateful, thank you so much. Now an avid follower of yours 👏
True geek right here. Nothing wrong with it. Just a little more than I was looking for right now. But, but I am giving this video a thumbs up. And saving it for when I'm ready for it. Thank you.
Haha thank you :) check out some of the Strike videos if you’re looking for cheap bitcoin DCA unfortunately I don’t know of another way to automate buys on exchanges with sub 1% fees :(
Dude! This is awesome! I was looking at $15-20/month in Coinbase fees to DCA my crypto purchases. This is going to save me a bundle. I’m a software dev myself so the scripting aspect isn’t intimidating… but you explained it so well, just about anyone can set this up! Thank you!!!
Thank you Rhett! I wish I knew about using API to do DCA earlier. Your tutorial was super clear and I was able to implement it without any issues. Thank you again!!!
Yo this man is so clutch! I was about to get robbed blind... Now I can invest daily. I was so scared at first haha. I have a BIG 0 knowledge in coding. My man so much value here. Much thanks and you earned a sub from me!!!
Epic 🔥🔥🔥 glad to help Aaron :) let me know if you get stuck setting up and I’ll help you out on Twitter! Hopefully we can show people coding isn’t all that scary 😁
Holy shit it's happening...! Strike and their receiving payroll in BTC just made this video obsolete... Feels kind of strange feeling usually ahead of the curve but now Strike is really setting up the pace. Thanks for the video, it's great content gracefully explained 🙌🏻
Exactly! I’ll have a video up about Strike’s pay me in Bitcoin in the next couple weeks :) their fees are lower than Coinbase Pro and much easier to implement!
Thanks so much Rhett! Works great! Gemini is definitely the way to go but I dabble in the coins on CBpro that are not on gemini. Once again, you are a boss!!! Thanks
If your function disappears on you like it did for me, it's because your time zone/location is different than what it was set to when creating the function. I created mine in Ohio East -2, after logging out and in again, AWS was set to N. Virginia East -1. My BuyCryptoCoinbasePro function was missing! How I figured this out, I don't know. I've never used AWS, an API, or python, hahahah. I successfully got it set up, though. Hellz yeah :)
Good point. Haha glad you found it yourself :) - this info should also be in the FAQs in the description (although, maybe it’s only on the Gemini version of the video 🤦🏻♂️ my fault)
This is absolutley amazing what you are able to do here? Thanks so much for the upload. Where did you learn all of this? I take it Amazon AWS is made for developers who want to automate certain functions on different sites etc? Wow man, You are a genuis! You must be loaded!
Glad to help :D Yeah AWS is basically what the whole internet runs on :) it lets big companies like Netflix outsource their IT infrastructure to some massive Amazon server farm somewhere. Probably not a genius, and definitely not loaded - yet haha 😁
When hit the TEST button of the Lambda function, I get the error {'message': 'Forbidden'} between "START RequestId" and "End RequestID". Am I doing something wrong? (I double checked all the steps). Thanks
Dear Rhett! Hope all is weel. I did implement all your instructions you've provided in this video and really excited to automate buying process on Coinbase pro, however I am getting the error "Insufficient funds" even I do have enough money on my account funded via ACH. I would really appreciate your help! Also I am very interesting to automate depositing and withdraw process as well! Thank you in advance and appreciate all you doing for us!!!
Feel free to dm me screenshots on Twitter. Insufficient funds is coming when you don't have enough funds in your account. If you're trading euros or something other than USD pairs you'll need that currency.
Thanks a lot. It worked perfectly. Just one heads up. In my AWS, pressing the ´´Deploy´´ button is a msut before adding layer. Otherwise the code is not saved in function. Anyways, thanks again.
I'd love to see a version that buys every Sunday at midnight IF the EMA12 is below EMA26. Can you direct me to how I can compare the EMAs (EMA12 and EMA26)? Thanks
My current AWS bill is $0.00 per month 🥳 If you just use the Lambda functions and Cloudwatch / Eventbridge stuff that we do in this video it's 100% free :) You start getting charged if you make more than 1 million lambda requests per month (which no one should be doing with this strategy) or if you set up custom alarms on cloudwatch (which we don't do)
Really glad I found your video. I was assuming it was just impossible to do this. Thankfully google led me to you! In had been paying a steady 1% fee DCAing on blockfi.... Looking forward to the 95% savings incoming! Will update once I get a second to go at this API beast for my first noob coding session 🧐 you are the real MVP
Was happy to pay the 1% because of blockfi's convince and being able to get the nice GUSD interest... But now that blockfi just got wrekd recently, had been contemplating a new solution. Cheers homie 🍻
Cheers :D glad to help! If you’re interested, Gemini’s API gives even lower fees 0.1% vs 0.5% on Coinbase Pro. Video here: ruclips.net/video/h6r1h3am6kA/видео.html
Hey Rhett, so I have been using this API to DCA on Coinbase pro for the past 9 months or so. (Coin Base is my only option for an on ramp) It looks like Coinbase pro is byebye, and now I will need to try and use advanced trade. I saw on regular Coinbase there is an option to make an API. Is there a way to set this up with Coinbase new advance trade (so I can try and keep the low fees as I DCA in?) Really appreciate any help. If you know of a way to do this please point me in the right direction, I was hoping I could just make a new API with the advanced trade and swap a few lines of code on the AWS thing your video already guided me to make! Thanks bro !
@@RhettReisman my man!!! So far, Coinbase pro hasn't kicked me off yet, and the original API is still working nicely. Looking forward to your video! Thanks bro
Rhett with all this sneak dissing I'm gonna need you to drop a video explaining your beef with ALT coins 😆. Genuinely curious as a noob I mostly got into crypto for the NFTs. I'm in sponge mode so I'd like to hear your nonfinancial advice.
😂 Some people have called me the Drake 🦉 of sneak dissing altcoins haha That’s a good idea, I’ll make a video. Mostly comes down to altcoins not really being decentralized. I view altcoins as early stage tech startups (doesn’t mean some won’t succeed and doesn’t mean you can’t make money trading the volatility) but I view Bitcoin as digital gold / sound money which I think is very likely to succeed and very difficult to stop (because it is truly decentralized). IMO the risk/reward of bitcoin is the best of any asset so that’s what I’m interested in - I don’t like having to trade around I’m a more boring buy and hold long term kind of guy. Not financial advice etc obv
Hi Rhett, thank you so much for sharing this to the community. I watched your video on gemini and that really helped a lot!! One question though, I noticed you create the api keys in CB pro instead of CB. Is there a reason why not creating the api keys in CB, since it has the option to generate the keys in there as well. Is it because of the fees in CB even though you're generating the keys from there? I don't use CB pro - newbie here - so I was wondering if I can do in CB. If the fees are high in CB then I'll venture out in using CB pro instead.
If you run it with 0 dollars the script will just fail, nothing else should happen. You can turn off the automation by disabling the EventBridge/Cloudwatch piece of it in AWS
Very good content here. thank you. I would be interested on knowing how to reduce my fees on Coinbase Pro if there are any to be learned and yes, a video on automated transfers to my hardware wallet and deposits from my bank would be nice to know. thanks again for the informative content. All the best!
Cheers Michael :) Video on automatic transfers using coinbase pro here: ruclips.net/video/oAoGwxtlebE/видео.html You can’t lower fees on coinbase pro even using the API. If you want lower fees I suggest you check out the Gemini API tutorials: ruclips.net/p/PL-p_L_HbK7jVzSOBTTjk_7D1u_cMOZakW
Yeah you can do all of that, it might take more programming experience if you want to put it all in the same script. Otherwise I think it’s better to make multiple scripts then you can automate them on separate schedules (ie. Buy bitcoin everyday, buy ETH once a week)
@@RhettReisman If I understand correctly, say I uploaded layer.zip and then created lamba functions or BuyBTCEveryday. Here is the question, now I am creating a new function called BuyETHEveryday, do I have to create the layer.zip again for this or can I piggy bag on the same layer.zip? Thanks in advance
This is a great video, but I have a question. What happens if you don't have the USD to cover the buy in your Coinbase Pro account? I feel like automating this is somewhat pointless if I have to log in to deposit USD before every buy.
I have another video that shows you how to automate your deposits :) (if you want even lower fees, I made similar videos showing how to deposit/buy/transfer crypto on Gemini - fee is 0.1% vs 0.5% on CBPro) If you don’t have any funds deposited your buy order will fail, but you won’t go into debt or anything on the platform. CBPro Deposits: ruclips.net/video/oAoGwxtlebE/видео.html Gemini Playlist: ruclips.net/video/h6r1h3am6kA/видео.html
Yep! I think it’s better to make separate scripts one for each coin (so you can automate them on different schedules), but you could put multiple coins in the same script.
With Coinbase Pro going away, and Coinbase Advanced Trade taking its place, will the processes you detail still be relevant, or will they require tweaks to work with Coinbase Advanced Trade? If API transfers and purchases are available on Advanced Trade, do you have videos for that?
You are awesome, just to let you know. I will be setting up my account in AWS and I will ping you if I have any further question and definitely compensate your time. Thanks again.
Will add it to the backlog! :D In the meantime there are some scripts up on that Notion page that you might be able to figure out if you have some coding experience. Think the hardest part about deposits is finding out the bank ID for you linked bank account. If you get stuck DM me on Twitter @rhettre and I’ll try to help you get unstuck
Great video! Two questions (1) I set this up to purchase low, and sell high, and to search every 5 minutes. However, it occurred to me, that if the currency is at the threshold I coded to buy, and it lingers at that price, and my code searches every 5 minutes, it'll keep buying it multiple times in a row before it has a chance to sell. Is there any way to avoid this? (2) If I say to buy at .37 cents, and the price increases to .372, skipping .37, will it not buy? In other words, does it have to be EXACT?
You can program the scripts to do whatever you want them to do. There should be a function to read if there are any open orders for the token you’re trading. If yes -> don’t place another order (or something like that) Hopefully that helps?
@@RhettReisman Hmm, can it just not buy another order, until I sell the one I bought? If I bought at $10, and the order closed, and the currency was still at $10, it'll buy another one.
You could immediately post a sell order for $15 (or whatever price above $10) and then check in the code if there are any open sell orders for your token and not buy if there are open orders.
Hey thanks for this helpful video man. I would like to request a video on how to automate deposits via coinbase pro api to make this a fully automated system. That would be great!
Rhett- thanks so much for this. Got it set up in no time. It worked for 4 weeks, but after that- I'm getting a message return in my logs that "trading is disabled." I did NOT disable trading in coinbase pro. Any ideas what might be causing this?
Thank you for the tutorial! I set it up successfully the first time. Now I need it for Bitpanda Pro. I guess "only" layer.zip and the Python script need to be adapted. Any ideas on how to do that would be highly appreciated!
You'll need to write all new code and create a new layer.zip to interact with a different service. I've never heard of Bitpanda Pro but if you google to see if they have a REST API that would be the place to start
@@RhettReisman Ah, you got even more good stuff with automatic deposits and withdrawals! Nice :) Any chance I can adjust the recurring buys only below certain price?
Hello, Rhett. I've been watching your video today, following step by step, and when I get to the point of adding the Custom Layer, nothing shows up in the dropdown menu. I followed every instruction for setting up the Lambda file, input all of my information from CB, and still nothing. I'm not sure what I'm doing wrong. Do you have any suggestions?
Hey Rhett is it possible yet to replicate this approach on Strike? Relatively low limits and super limited interface but still unchallenged in terms of fees as far as I can tell. Would be great to automate one day.
Hey Brennan, Strike is rolling out the pay me in bitcoin feature to its waitlist now: payday.strike.me/ I received part of my last paycheck in Strike and it works really well. I was getting a little less than 0.3% execution fee (really great - better than Coinbase). Unfortunately, it’s not as customizable as the Gemini api solution and Gemini’s fees are still better. But strike is MUCH less work to set up. I’ll have a video up about that feature in a few weeks
Thanks for the reply and looking forward to any content you’ve got in the works on Strike:) I set up my Apple Cash withdrawals to arrive in my Strike account as 100% btc and am loving it.
Yeah Gemini is better for transfers because you get the 10 free transfers each month. IMO coinbase is only better if you're looking for some coin that isn't on Gemini
Hey again. Is the free transfer just the Gemini withdrawal fees or are they covering the blockchain fee? I.e. Ethereum. If so that’s a game changer. Also finally do you have the script to withdrawal from coinbase pro to external Wallet please?
Gemini covers the on chain transaction fee - it’s huge for ETH and other ERC-20s. Script should be up in Notion, I haven’t tested it recently. I’ll make another video on it and walk through using it in the next couple months
What about if your withdraw requires a Tag/ID/Memo? When testing the code I get an error that says it requires a destination tag. It's a success message but doesn't fully execute the withdraw. Tried putting destination_tag as a variable with my Coinbase Pro Whitelist ID and entering it in the code block but then it gives the error that the request expected 4 parameters and got 5. Appreciate it, if you get to it.
I’m not sure how we can automate withdrawals like that - I don’t think the cbpro Python package supports it (as you found with the expected 4 got 5 message - someone else had this same problem :/) Are your withdrawal addresses whitelisted? That’s the only thing I can think of. Might have to look into the API documentation and see if it’s possible at all.
Could you do a video on coinbase announcing automatic DCAing feeless deducted from your salary that recently got announced? If/when its actually explained how.
I think I need some help. I have copied the code and ran the test, I got the correct exit code 200 and the body massage "You bought 20 USD of BTC!" but I am not seeing that reflected on Coinbase Pro.
Should have a new video out on Monday. I haven’t gotten an email on Coinbase Pro going end of life yet and the website is still up so not sure what the deal is.
@@RhettReisman @Rhett Reisman - Level Up Your Brain Thanks. I got an email sometime back saying CBPro account has been transferred to CB and you are ready to use Advanced Trade on CB. Currently, Pro account allows you to create only the VIEW API Key. Trade & Transfer API Key creation is disabled.
Ahhh got it. I've seen more and more people asking about it, I guess mine still works because the keys were already created. I'll get that video out on Monday :)
@@RhettReisman thank you so much Rhett! I deleted my first api and created a new one, now it worked! Idk what I did wrong the first time - probably noted down things in the wrong order? anyways thanks - I came to coinbase because of Cardano, would otherwise stay at gemini for lower fees but so glad to have found this video 👍
Your API keys don't have the right permissions. Double check that they are the same as what's in the video (Coinbase changed the order of how they appear on screen)
@@RhettReisman Yes they do. I have been staking DOT and ETH using the kraken API. However, I am trying to set it up on AWS but I am having trouble with the layer.zip on the lambda function. Does your layer.zip file in the video include the python requests library?
I watch your content from El Salvador, and want you to make a video about our government issued crypto wallet. We can convert USD to BTC for very cheap. I can give you access to my wallet so that you see its functionality and we can test it for a video HMU 🔥🔥
Hey Eugeneberg, you can: 1) delete your API keys from Coinbase pro which will sever the connection to the script OR 2) delete your lambda function - no lambda function, nothing to run OR 3) go into eventbridge/Cloudwatch and click disable on the automation rule - no rule, no automation OR 4) Watch the whole video and see me disable the rule at 15:05 Typical me providing FREE alpha 😎
What's your favorite / least favorite part about Coinbase?
Favourite is that I can move my low fee Coinbase Pro coins to Coinbace for free - it would be great to automate that too (if it's possible?). Rhett, you are an absolute legend for this (and your other) tutorials -you really have a great teaching style dude thank you ♥
EDIT: I thought your explanation was perfect, the AWS thing I thought was not needed, but having said that I am right now watching your AWS video :-D
Thanks for the kind words :)
I have a video/task in the backlog to make a script to move funds from CBPro to CB. Will add an update to RUclips when that code is available, might not be for a while - have some busy months coming up
I AM BLOWN AWAY! I followed your tutorial and it worked perfectly first time. I now have automated recurring crypto purchases! Investing while I sleep 😎 What can I say Rhett! I am extremly grateful, thank you so much. Now an avid follower of yours 👏
EPIC 🔥🔥🔥 glad it worked :D
Thank you 🙏
Great video Rhett! Looking forward to your video on automating deposits into Gemini!
Yes! Should be out some time in October, I think it's going to be a game changer for people.
+
+1
True geek right here. Nothing wrong with it. Just a little more than I was looking for right now. But, but I am giving this video a thumbs up. And saving it for when I'm ready for it. Thank you.
Haha thank you :) check out some of the Strike videos if you’re looking for cheap bitcoin DCA unfortunately I don’t know of another way to automate buys on exchanges with sub 1% fees :(
Dude! This is awesome! I was looking at $15-20/month in Coinbase fees to DCA my crypto purchases. This is going to save me a bundle. I’m a software dev myself so the scripting aspect isn’t intimidating… but you explained it so well, just about anyone can set this up! Thank you!!!
Epic 🔥🔥🔥 yeah I think for software devs it’s even easier :) glad to help!
@@RhettReisman Just got everything set up and tested. Going to start weekly buys next week. Thanks again!!
Cheers! Let me know how it goes :)
Crystal clear. Thank you!! Could you please create a tutorial for automating bank deposits into Coinbase Pro?
Will add that to the backlog!
I just watched the vid and had to search for this comment b4 entering mine.
Video is live here: ruclips.net/video/oAoGwxtlebE/видео.html
Hope that helps :)
Thank you Rhett! I wish I knew about using API to do DCA earlier. Your tutorial was super clear and I was able to implement it without any issues. Thank you again!!!
Cheers Kenny glad to help :)
This video was so clear and helpful. Thank you! Very excited to watch the video on recurring deposits from my bank next.
Epic 🔥 glad to help! Let me know how it goes
Yo this man is so clutch! I was about to get robbed blind... Now I can invest daily. I was so scared at first haha. I have a BIG 0 knowledge in coding. My man so much value here. Much thanks and you earned a sub from me!!!
Epic 🔥🔥🔥 glad to help Aaron :) let me know if you get stuck setting up and I’ll help you out on Twitter! Hopefully we can show people coding isn’t all that scary 😁
Fantastic just followed you! I’ll be seeing you around!
🥳🧠🚀🌙
Holy shit it's happening...! Strike and their receiving payroll in BTC just made this video obsolete...
Feels kind of strange feeling usually ahead of the curve but now Strike is really setting up the pace.
Thanks for the video, it's great content gracefully explained 🙌🏻
Exactly! I’ll have a video up about Strike’s pay me in Bitcoin in the next couple weeks :) their fees are lower than Coinbase Pro and much easier to implement!
Works great simple to follow instructions thanks
Epic 🔥🔥 glad it worked 🙏
Thanks so much Rhett! Works great! Gemini is definitely the way to go but I dabble in the coins on CBpro that are not on gemini. Once again, you are a boss!!! Thanks
Glad you got it working! Yeah I think thats the big advantage of Coinbase Pro right now is they have better access to some of these other coins :)
Excellent Bro! Keep it up!
Thank you king 🤴🏻 🙏
If your function disappears on you like it did for me, it's because your time zone/location is different than what it was set to when creating the function. I created mine in Ohio East -2, after logging out and in again, AWS was set to N. Virginia East -1. My BuyCryptoCoinbasePro function was missing! How I figured this out, I don't know. I've never used AWS, an API, or python, hahahah. I successfully got it set up, though. Hellz yeah :)
Good point. Haha glad you found it yourself :) - this info should also be in the FAQs in the description (although, maybe it’s only on the Gemini version of the video 🤦🏻♂️ my fault)
This is absolutley amazing what you are able to do here? Thanks so much for the upload. Where did you learn all of this? I take it Amazon AWS is made for developers who want to automate certain functions on different sites etc? Wow man, You are a genuis! You must be loaded!
Glad to help :D
Yeah AWS is basically what the whole internet runs on :) it lets big companies like Netflix outsource their IT infrastructure to some massive Amazon server farm somewhere.
Probably not a genius, and definitely not loaded - yet haha 😁
When hit the TEST button of the Lambda function, I get the error {'message': 'Forbidden'} between "START RequestId" and "End RequestID". Am I doing something wrong? (I double checked all the steps). Thanks
Your API keys don’t have the right permissions
@@RhettReisman Perfect! These options appeared in a different order on my system, and I hadn't noticed. Thank you very much!
Glad to help! Other people had similar problem :/ too bad they changed the order
Dear Rhett! Hope all is weel. I did implement all your instructions you've provided in this video and really excited to automate buying process on Coinbase pro, however I am getting the error "Insufficient funds" even I do have enough money on my account funded via ACH. I would really appreciate your help! Also I am very interesting to automate depositing and withdraw process as well! Thank you in advance and appreciate all you doing for us!!!
Feel free to dm me screenshots on Twitter. Insufficient funds is coming when you don't have enough funds in your account. If you're trading euros or something other than USD pairs you'll need that currency.
Thanks a lot. It worked perfectly. Just one heads up. In my AWS, pressing the ´´Deploy´´ button is a msut before adding layer. Otherwise the code is not saved in function. Anyways, thanks again.
Yeah you need to hit deploy any time you make a code change :)
I'd love to see a version that buys every Sunday at midnight IF the EMA12 is below EMA26. Can you direct me to how I can compare the EMAs (EMA12 and EMA26)? Thanks
What are the EMA12 and EMA26? Price moving averages?
@@RhettReisman yes moving averages in coinbase pro
And id be very interested in a vid about automating deposits into Gemini!
I'll have Gemini video out in next couple weeks :)
Great content! Just one question, how much does it cost you to use AWS per month?
My current AWS bill is $0.00 per month 🥳
If you just use the Lambda functions and Cloudwatch / Eventbridge stuff that we do in this video it's 100% free :)
You start getting charged if you make more than 1 million lambda requests per month (which no one should be doing with this strategy) or if you set up custom alarms on cloudwatch (which we don't do)
Really glad I found your video. I was assuming it was just impossible to do this. Thankfully google led me to you! In had been paying a steady 1% fee DCAing on blockfi.... Looking forward to the 95% savings incoming! Will update once I get a second to go at this API beast for my first noob coding session 🧐 you are the real MVP
Was happy to pay the 1% because of blockfi's convince and being able to get the nice GUSD interest... But now that blockfi just got wrekd recently, had been contemplating a new solution. Cheers homie 🍻
Cheers :D glad to help! If you’re interested, Gemini’s API gives even lower fees 0.1% vs 0.5% on Coinbase Pro. Video here: ruclips.net/video/h6r1h3am6kA/видео.html
Hey Rhett, so I have been using this API to DCA on Coinbase pro for the past 9 months or so. (Coin Base is my only option for an on ramp) It looks like Coinbase pro is byebye, and now I will need to try and use advanced trade. I saw on regular Coinbase there is an option to make an API. Is there a way to set this up with Coinbase new advance trade (so I can try and keep the low fees as I DCA in?) Really appreciate any help. If you know of a way to do this please point me in the right direction, I was hoping I could just make a new API with the advanced trade and swap a few lines of code on the AWS thing your video already guided me to make!
Thanks bro !
I’ll have a video out in January with new option for Coinbase :)
@@RhettReisman my man!!! So far, Coinbase pro hasn't kicked me off yet, and the original API is still working nicely. Looking forward to your video! Thanks bro
Rhett with all this sneak dissing I'm gonna need you to drop a video explaining your beef with ALT coins 😆. Genuinely curious as a noob I mostly got into crypto for the NFTs. I'm in sponge mode so I'd like to hear your nonfinancial advice.
😂 Some people have called me the Drake 🦉 of sneak dissing altcoins haha
That’s a good idea, I’ll make a video. Mostly comes down to altcoins not really being decentralized. I view altcoins as early stage tech startups (doesn’t mean some won’t succeed and doesn’t mean you can’t make money trading the volatility) but I view Bitcoin as digital gold / sound money which I think is very likely to succeed and very difficult to stop (because it is truly decentralized). IMO the risk/reward of bitcoin is the best of any asset so that’s what I’m interested in - I don’t like having to trade around I’m a more boring buy and hold long term kind of guy.
Not financial advice etc obv
Hi Rhett, thank you so much for sharing this to the community. I watched your video on gemini and that really helped a lot!! One question though, I noticed you create the api keys in CB pro instead of CB. Is there a reason why not creating the api keys in CB, since it has the option to generate the keys in there as well.
Is it because of the fees in CB even though you're generating the keys from there?
I don't use CB pro - newbie here - so I was wondering if I can do in CB. If the fees are high in CB then I'll venture out in using CB pro instead.
Maybe it would work, you can try it. When I made this video, Coinbase had much higher fees than Coinbase Pro, not sure if still true.
Is it ok to keep this running if I have 0 dollars in the account? if not, how do I turn it off? Thanks for the help
If you run it with 0 dollars the script will just fail, nothing else should happen. You can turn off the automation by disabling the EventBridge/Cloudwatch piece of it in AWS
@@RhettReisman thanks man ! Good tutorial
No problem! Thanks 😊
Very good content here. thank you. I would be interested on knowing how to reduce my fees on Coinbase Pro if there are any to be learned and yes, a video on automated transfers to my hardware wallet and deposits from my bank would be nice to know. thanks again for the informative content. All the best!
Cheers Michael :)
Video on automatic transfers using coinbase pro here: ruclips.net/video/oAoGwxtlebE/видео.html
You can’t lower fees on coinbase pro even using the API. If you want lower fees I suggest you check out the Gemini API tutorials: ruclips.net/p/PL-p_L_HbK7jVzSOBTTjk_7D1u_cMOZakW
Can you put multiple pairs at the same time (I.e BTC-USD AND ETH-USD)? How about different amounts ($10 of BTC-USD and $5 of ETH-USD)?
Yeah you can do all of that, it might take more programming experience if you want to put it all in the same script. Otherwise I think it’s better to make multiple scripts then you can automate them on separate schedules (ie. Buy bitcoin everyday, buy ETH once a week)
@@RhettReisman If I understand correctly, say I uploaded layer.zip and then created lamba functions or BuyBTCEveryday. Here is the question, now I am creating a new function called BuyETHEveryday, do I have to create the layer.zip again for this or can I piggy bag on the same layer.zip?
Thanks in advance
You can use the same layer.zip for all coinbase pro functions. But you need to add the layer.zip to every function
This is a great video, but I have a question. What happens if you don't have the USD to cover the buy in your Coinbase Pro account? I feel like automating this is somewhat pointless if I have to log in to deposit USD before every buy.
I have another video that shows you how to automate your deposits :) (if you want even lower fees, I made similar videos showing how to deposit/buy/transfer crypto on Gemini - fee is 0.1% vs 0.5% on CBPro)
If you don’t have any funds deposited your buy order will fail, but you won’t go into debt or anything on the platform.
CBPro Deposits: ruclips.net/video/oAoGwxtlebE/видео.html
Gemini Playlist: ruclips.net/video/h6r1h3am6kA/видео.html
@@RhettReisman good to know! Thanks for the additional info!
No problem 🙏
Hi DJ, Absolutely, what I have done I deposit 5k worth of USD in coinbase pro and then the script is definitely worth it
Thks been looking for this. Do you know if it works on the new Coinbase? They stopped allowing deposits from coinbase to coinbase pro.
Solution still works, might need updating when they retire pro
Great vid!!!!
Thank you 🙏
@@RhettReisman Could we add multiple coins to the code?
Yep! I think it’s better to make separate scripts one for each coin (so you can automate them on different schedules), but you could put multiple coins in the same script.
With Coinbase Pro going away, and Coinbase Advanced Trade taking its place, will the processes you detail still be relevant, or will they require tweaks to work with Coinbase Advanced Trade? If API transfers and purchases are available on Advanced Trade, do you have videos for that?
Once the switch is made and CB Pro is retired, I’ll release any updates if they’re needed
You are awesome, just to let you know. I will be setting up my account in AWS and I will ping you if I have any further question and definitely compensate your time. Thanks again.
Thanks Joy 🙏 no problem! Ping me on twitter if you get stuck :)
Can you please create a video for auto depositing into Coinbase Pro?
Will add it to the backlog! :D
In the meantime there are some scripts up on that Notion page that you might be able to figure out if you have some coding experience. Think the hardest part about deposits is finding out the bank ID for you linked bank account. If you get stuck DM me on Twitter @rhettre and I’ll try to help you get unstuck
Great video! Two questions (1) I set this up to purchase low, and sell high, and to search every 5 minutes. However, it occurred to me, that if the currency is at the threshold I coded to buy, and it lingers at that price, and my code searches every 5 minutes, it'll keep buying it multiple times in a row before it has a chance to sell. Is there any way to avoid this? (2) If I say to buy at .37 cents, and the price increases to .372, skipping .37, will it not buy? In other words, does it have to be EXACT?
You can program the scripts to do whatever you want them to do. There should be a function to read if there are any open orders for the token you’re trading. If yes -> don’t place another order (or something like that)
Hopefully that helps?
@@RhettReisman Hmm, can it just not buy another order, until I sell the one I bought? If I bought at $10, and the order closed, and the currency was still at $10, it'll buy another one.
You could immediately post a sell order for $15 (or whatever price above $10) and then check in the code if there are any open sell orders for your token and not buy if there are open orders.
Hey thanks for this helpful video man. I would like to request a video on how to automate deposits via coinbase pro api to make this a fully automated system. That would be great!
Will do! I’ll try to get it out later this month or in December :)
Great video, thanks for the help!
Cheers :) glad to help
Hi Rhett! Amazing video. Wondering if everything is still valid since it was created in 2021. Thanks :)
Yep everything still works :)
AWS Cloudwatch is now EventBridge, but it’s the exact same data you fill out after you create the rule
Rhett- thanks so much for this. Got it set up in no time.
It worked for 4 weeks, but after that- I'm getting a message return in my logs that "trading is disabled." I did NOT disable trading in coinbase pro. Any ideas what might be causing this?
Weird. I just tested one of the functions and it filled. I wonder what is going on? Should time of day matter?
Time of day shouldn’t matter. I’m not sure what that error is about :/ maybe they were doing scheduled maintenance or something 🤷🏻♂️
Oh also, I tried to be tricky and change BTC-USD to DOT-USD and it did not work.
Dm me the output on Twitter @rhettre and I’ll help you debug :)
nice man, keep it up !
Thanks! Cheers 🥳🥳
Thank you for the tutorial! I set it up successfully the first time.
Now I need it for Bitpanda Pro. I guess "only" layer.zip and the Python script need to be adapted. Any ideas on how to do that would be highly appreciated!
You'll need to write all new code and create a new layer.zip to interact with a different service. I've never heard of Bitpanda Pro but if you google to see if they have a REST API that would be the place to start
VERY EASY TO FOLLOW THANKS FOR THE TIP,
Cheers Robert :D glad to help!
Thank you, perfect! Works great :)
Cheers! Glad to help
@@RhettReisman Ah, you got even more good stuff with automatic deposits and withdrawals! Nice :)
Any chance I can adjust the recurring buys only below certain price?
Yeah you could wrap the buy function in an if statement. Something like:
If price
@@RhettReisman that would be awesome! I love your style, straight to the point with no time wasted. I'd love to subscribe to such a course.
Hello, Rhett. I've been watching your video today, following step by step, and when I get to the point of adding the Custom Layer, nothing shows up in the dropdown menu. I followed every instruction for setting up the Lambda file, input all of my information from CB, and still nothing. I'm not sure what I'm doing wrong. Do you have any suggestions?
Never Mind. I figured it out. Missed a step.
There are a lot of steps haha. New coinbase tutorials are out here, not sure if Coinbase Pro still works: ruclips.net/video/Oh6v-ELzA-g/видео.html
Hey Rhett is it possible yet to replicate this approach on Strike? Relatively low limits and super limited interface but still unchallenged in terms of fees as far as I can tell. Would be great to automate one day.
Hey Brennan, Strike is rolling out the pay me in bitcoin feature to its waitlist now: payday.strike.me/
I received part of my last paycheck in Strike and it works really well. I was getting a little less than 0.3% execution fee (really great - better than Coinbase). Unfortunately, it’s not as customizable as the Gemini api solution and Gemini’s fees are still better. But strike is MUCH less work to set up.
I’ll have a video up about that feature in a few weeks
Thanks for the reply and looking forward to any content you’ve got in the works on Strike:) I set up my Apple Cash withdrawals to arrive in my Strike account as 100% btc and am loving it.
Yeah Strike is epic 🔥🔥🔥 I’ll try to get that video out soon!
will free version of AWS allow me to do all this?
Yes! Lambda functions and Cloudwatch are part of the always free tier
amazing cant wait to try it out
🔥🔥🔥
I want to transfer my crypto to another wallet after my weekly buy. Gemini still is the better option for that right?
Yeah Gemini is better for transfers because you get the 10 free transfers each month. IMO coinbase is only better if you're looking for some coin that isn't on Gemini
Hey again. Is the free transfer just the Gemini withdrawal fees or are they covering the blockchain fee? I.e. Ethereum. If so that’s a game changer. Also finally do you have the script to withdrawal from coinbase pro to external Wallet please?
Gemini covers the on chain transaction fee - it’s huge for ETH and other ERC-20s. Script should be up in Notion, I haven’t tested it recently. I’ll make another video on it and walk through using it in the next couple months
@@RhettReisman just a real shame Gemini has such a limited coin base right now.
Bitcoin is all I need 😎
I really don’t get the cron expressions. I want to do every Saturday at 12am. I’ve tried everything it just doesn’t accept
Try 0 12 * * ? SAT
What about if your withdraw requires a Tag/ID/Memo? When testing the code I get an error that says it requires a destination tag. It's a success message but doesn't fully execute the withdraw. Tried putting destination_tag as a variable with my Coinbase Pro Whitelist ID and entering it in the code block but then it gives the error that the request expected 4 parameters and got 5. Appreciate it, if you get to it.
I’m not sure how we can automate withdrawals like that - I don’t think the cbpro Python package supports it (as you found with the expected 4 got 5 message - someone else had this same problem :/)
Are your withdrawal addresses whitelisted? That’s the only thing I can think of. Might have to look into the API documentation and see if it’s possible at all.
Could you do a video on coinbase announcing automatic DCAing feeless deducted from your salary that recently got announced? If/when its actually explained how.
Yes! Once it's released I'll make a video and maybe compare it to the Strike feature that has been rolled out
I think I need some help. I have copied the code and ran the test, I got the correct exit code 200 and the body massage "You bought 20 USD of BTC!" but I am not seeing that reflected on Coinbase Pro.
CB Pro is currently in Partially Degraded Service mode which I think might be the problem...
Yeah that could be. I haven’t been following the updates with Coinbase getting rid of Coinbase Pro, not sure when that switch is happening
I don't see the Notion link anywhere... unless I'm missing something
Second link in the description
@@RhettReisman Yea I was just seeing the description for your channel. Figured it out already, works great. Thanks man.
Cheers :)
I would love to see a fully automated system that buys daily and transfers to a wallet once a month.
You can do that using this video and the video on transfers: ruclips.net/video/oAoGwxtlebE/видео.html
Coinbase have changed the APIs. It will help if you can post an updated video.
Should have a new video out on Monday.
I haven’t gotten an email on Coinbase Pro going end of life yet and the website is still up so not sure what the deal is.
@@RhettReisman @Rhett Reisman - Level Up Your Brain Thanks. I got an email sometime back saying CBPro account has been transferred to CB and you are ready to use Advanced Trade on CB. Currently, Pro account allows you to create only the VIEW API Key. Trade & Transfer API Key creation is disabled.
Ahhh got it. I've seen more and more people asking about it, I guess mine still works because the keys were already created. I'll get that video out on Monday :)
@@RhettReisman Thank you. Looking forward to it,
Absolute God.
Glad to help 😁🧠🚀🌙
how do i set retry untill succes
Here’s the docs for retries: docs.aws.amazon.com/lambda/latest/dg/invocation-retries.html
I'm getting an error: {'message': 'Forbidden'}. is this script still in use as of today?
You need the right api permissions. They changed the order on the website. Script still works.
@@RhettReisman thank you so much Rhett! I deleted my first api and created a new one, now it worked! Idk what I did wrong the first time - probably noted down things in the wrong order? anyways thanks - I came to coinbase because of Cardano, would otherwise stay at gemini for lower fees but so glad to have found this video 👍
Cheers :) glad it works
Amazing. Im 50 and was able to do this.lol
That’s awesome 👏 not too late to start your career in programming haha 🚀
Hi.For me not working.I am getting this response: {'message': 'Forbidden'}
Your API keys don't have the right permissions. Double check that they are the same as what's in the video (Coinbase changed the order of how they appear on screen)
Rhett, this was an amazing video! Could you do a video on purchasing and staking currencies via the Kracken API?
Will look into the Kraken API, that would be cool if they allow staking with it :)
@@RhettReisman They do allow staking I recently figured out how to do it
They allow staking via their API?
@@RhettReisman Yes they do. I have been staking DOT and ETH using the kraken API. However, I am trying to set it up on AWS but I am having trouble with the layer.zip on the lambda function. Does your layer.zip file in the video include the python requests library?
I watch your content from El Salvador, and want you to make a video about our government issued crypto wallet. We can convert USD to BTC for very cheap. I can give you access to my wallet so that you see its functionality and we can test it for a video HMU 🔥🔥
DM me on Twitter @rhettre and we’ll talk :)
Hey Goldberg, what’s the point of teaching some how to do this script without teaching them how to turn it off.
Typical tech solution.
Hey Eugeneberg, you can:
1) delete your API keys from Coinbase pro which will sever the connection to the script
OR
2) delete your lambda function - no lambda function, nothing to run
OR
3) go into eventbridge/Cloudwatch and click disable on the automation rule - no rule, no automation
OR
4) Watch the whole video and see me disable the rule at 15:05
Typical me providing FREE alpha 😎
@@RhettReisman I feel like a dumbass
I love you ❤️ I do too sometimes 😞 we’ll get smarter together 🧠🚀🌙
I think Kracken pro is cheaper no?
Full comparison here: ruclips.net/video/zysi14QAfh0/видео.html