-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thanks for the great start. #1
Comments
Hi! To be honest this is something I haven't thought about for a little while but now logging into Coinbase it looks like a few things have changed. I'd like to keep the module current as there is no point it being available if it's not in a usable state. I've just read through your suggestions and they're great, loads of detail. I've thought of a way to implement a few of them so I'll give it a go in the next few weeks if I find the time. Thank you! |
Invertee, I hope you are doing well. I'm just letting you know that if you do decide to update your PowerShell module, I'm still interested and would likely use it. I realize I may be in a minority and you might not have many users, it appears a few others might also be interested in having a PowerShell interface to Coinbase (https://stackoverflow.com/questions/28800386/coinbase-exchange-api-with-powershell). I know PowerShell best. What I'd like to do is write something like this (https://jasonpearce.com/static/coin-by-percent-waterfall.html ; something I wrote in JavaScript) that will actually set Limit Buy or Sell orders for the Coinbase Pro coins that interest me. Right now, I use this table I created to manually dollar-cost-average in/out of positions as prices increase or decrease. But I have to copy and paste all of these calculations and orders into Coinbase Pro. My hope is that your PowerShell module will provide me enough tools to write a PowerShell script that will perform similar percentage increase/decrease calculations for all of Coinbase Pro's coins, then let me set buy/sell limit orders for various USD trading pairs. To accomplish this task, I think I would need the following tools beyond all of your Authentication cmdlets: Get-CoinbaseCurrencies -Market All|USD|USDC|BTC|DAI|ETH Get-CoinbaseOrders -Status Open|Filled -Market BTC-USD|ETH-USD|ETC-USD -Properties Size|Filled|Price|Fee|Time Get-CoinbaseWalletBalances -Asset USD|BTC|ETH|Etc -Holdings % -Balance $ -AvailableQty 0.1 -Price $ Trade-Coinbase -Market BTC-USD|ETH-USD -Order Buy|Sell -Type Market|Limit|Stop -Amount -LimitPrice -StopPrice Coinbase vs Coinbase Pro: Thank you |
Hello! It's taken me a little longer than I expected simply to find the time to look at this again but I am here now! I've just published a few new changes which to the module which may help met your needs and broadly speaking this now covers all of the methods listed in the CoinbasePro API. Firstly on the initial module import it will now reach out the API and download a list of active markets and currencies and saves them in appdata, this should mean that currencies and products are always kept up to date. The only downside to this is that products can no longer be tab completed as it uses a validation script instead of a set array of values. Secondly I've added some functions for depositing and withdrawing funds into Coinbase Pro from registered payment methods, Coinbase accounts or crypto addresses which could be useful for moving funds off the platform automatically to a cold wallet. On some of your points unless I'm mistaken these should already be covered:
If you're trying to access the individual markets available on CoinbasePro you will want to use the Open orders and filled orders can be retrieved with the I'd recommend in your script to assign the id (with New-GUID for example) of the order yourself with the Trading can be carried out with the three functions Wallet balances can be queried with the All of these functions are for Coinbase Pro except for Please get in touch to let me know how you get on, it'd be cool to know you've built something good with it. Absolutely loving that waterfall table generator, presumably build on NodeJS? |
Thank you. I've already started playing with this and figuring out what I can retrieve, change, and do. I'll be happy to share. My WaterFall generator is hand-written JavaScript. This was a project I chose to help me learn some basics. I may then rewrite it using a JavaScript framework. Glad you like it. |
I love this. I'd like to make some suggestions, ask questions, and submit some tickets. Please know I'm grateful for what you've already created and do not expect anything in return. But if you are interested in working on this more, here are my thoughts in a few issues I'll soon open.
The text was updated successfully, but these errors were encountered: