Options
All
  • Public
  • Public/Protected
  • All
Menu

gemini-node-api

Index

Classes

Interfaces

Type Aliases

Variables

Functions

Type Aliases

BasicOrderOptions: AccountName & { amount: number; client_order_id?: string; min_amount?: number; options?: [OrderEexecutionOptions]; price: number; stop_price?: number; type: "exchange limit" | "exchange stop limit" } & SymbolFilter
Candle: [number, number, number, number, number, number]
CandlesType: "candles_1m_updates" | "candles_5m_updates" | "candles_15m_updates" | "candles_30m_updates" | "candles_1h_updates" | "candles_6h_updates" | "candles_1d_updates"
OrderEexecutionOptions: "maker-or-cancel" | "immediate-or-cancel" | "fill-or-kill" | "auction-only" | "indication-of-interest"
OrderType: "exchange limit" | "stop-limit" | "auction-only exchange limit" | "market buy" | "market sell" | "indication-of-interest"
PastTradesFilter: SymbolFilter & { limit_trades?: number; timestamp?: number } & AccountName
Subscriptions: { name: string; symbols: string[] }[]
Ticker: TickerV1 | TickerV2
WSMarket: SymbolFilter & WSMarketQS
WSOrderOptions: WSOrderQS & AccountName

Variables

ApiLimit: 500 = 500
ApiUri: "https://api.gemini.com" = "https://api.gemini.com"
DefaultCurrency: "usd" = "usd"
DefaultSymbol: "btcusd" = "btcusd"
Headers: { Accept: string; Cache-Control: string; Content-Length: string; Content-Type: string; User-Agent: string } = ...

Type declaration

  • Accept: string
  • Cache-Control: string
  • Content-Length: string
  • Content-Type: string
  • User-Agent: string
SandboxApiUri: "https://api.sandbox.gemini.com" = "https://api.sandbox.gemini.com"
SandboxWsUri: "wss://api.sandbox.gemini.com" = "wss://api.sandbox.gemini.com"
WsUri: "wss://api.gemini.com" = "wss://api.gemini.com"

Functions