ReadonlynameThe name of the exchange
ReadonlytestnetWhether the exchange is connected to testnet
Format an asset to a trading symbol
The base asset (e.g., "ETH")
The quote asset (default: "USDT")
Formatted symbol (e.g., "ETHUSDT")
Parse a symbol into base and quote assets
The trading pair symbol
Object with base and quote assets
Initialize the Coinbase exchange with API credentials
API key name and private key
Verify that the API credentials are valid
True if credentials are valid
Get account balances
Optionalasset: stringOptional specific asset to filter
Array of balances
Get current price for a trading pair Note: Coinbase SDK doesn't have a direct price endpoint, we simulate it
Trading pair symbol (e.g., "BTCUSD")
Current price information
Get all available trading pairs
Array of trading pair symbols
Place a market buy order using Coinbase trade feature
Trading pair symbol
Amount to buy
If true, quantity is in quote currency
The created order
Place a market sell order
Trading pair symbol
Amount to sell
The created order
Place a limit buy order Note: Coinbase SDK doesn't support limit orders directly
Place a limit sell order Note: Coinbase SDK doesn't support limit orders directly
Place a stop loss order Note: Coinbase SDK doesn't support stop orders directly
Optional_limitPrice: numberPlace a take profit order Note: Coinbase SDK doesn't support take profit orders directly
Optional_limitPrice: numberCancel an existing order Note: Coinbase SDK trades are immediate
Get order status Note: Coinbase SDK trades are immediate
Get open orders Note: Coinbase SDK doesn't maintain open orders
Optional_symbol: string
Coinbase exchange implementation using the official Coinbase SDK