Coder Social home page Coder Social logo

coinbasepro-powershell's Introduction

Powershell Module for accessing the Coinbase Pro currency exchange API.

Install (Requires PowerShellGet)

Install-Module -Name CoinbasePro-Powershell

Usage

Public Requests
  • Get-CoinbaseProProducts - Gets a list of all tradable products on the exchange
  • Get-CoinbaseProCurrencies - Lists all currencies on the exchange
  • Get-CoinbaseProTime - Gets current time on the exchange
  • Get-CoinbaseProProductOrderBook - Gets a list of the orders on the order book for a specific product
  • Get-CoinbaseProProductTicker - Gets ticker information for a specific product
  • Get-CoinbaseProProductTrades - Get a list of recent trades for a specific product
  • Get-CoinbaseProProductStats - Lists stats about a specific product
Authenticated Requests
  • Get-CoinbaseAccounts - Gets a list of your Coinbase accounts. (Requires view or trade permission)
  • Get-CoinbaseProAccounts - Gets a list of your Coinbase Pro accounts or specify a specific account to query. (Requires view or trade permission)
  • Get-CoinbaseProAccountHistory - Lists the history of a specific account ID (Paginated) (Requires view or trade permission)
  • Get-CoinbaseProAccountHolds - Lists funds on hold on a specific account ID (Requires view or trade permission)
  • Get-CoinbaseProFills - Lists orders which have filled on a specific account ID (Paginated). (Requires view or trade permission)
  • Get-CoinbaseProOrder - Lists order status for specific order. (Requires view or trade permission)
  • Get-CoinbaseProOrders - Lists orders for specific product (Paginated). (Requires view or trade permission)
  • Get-CoinbaseProFees - Lists taker & maker fees as well as 30 day trailing volume.
  • New-CoinbaseProLimitOrder - Creates a new limit order for a product. (Requires trade permission)
  • New-CoinbaseProMarketOrder - Creates a new market order for a product. (Requires trade permission)
  • New-CoinbaseProStopOrder - Creates a new stop order for a product. (Requires trade permission)
  • Remove-CoinbaseProOrder - Cancels a specific order or all orders if no ID is specified for the specified product. (Requires trade permission)
  • Get-CoinbaseProPaymentMethods - Gets list of payment methods listed in Coinbase Pro (Requires transfer permission)
  • Invoke-CoinbaseProWithdrawal - Withdraws funds from selected currency to a payment method, coinbase account or crypto address. (Requires transfer permission)
  • Invoke-CoinbaseProDeposit - Deposit funds from payment method or coinbase account. (Requires transfer permission)

Authenticating with API key

Keys and secrets are only stored in memory and should be passed to the module when running commands. Editing PSDefaultParameterValues can be a useful way of passing the API details to the module.

$PSDefaultParameterValues = @{"*Coinbase*:APIKEY" = "KEYHERE";"*Coinbase*:APIPHRASE" = "PHRASEHERE";"*Coinbase*:APISECRET" = "SECRETHERE"}

coinbasepro-powershell's People

Contributors

invertee avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.