Versions in this module Expand all Collapse all v1 v1.0.6 Sep 27, 2019 Changes in this version + var BASE_URL = "https://www.bitstamp.net/api/" + type Bitstamp struct + func NewBitstamp(client *http.Client, accessKey, secertkey, clientId string) *Bitstamp + func (bitstamp *Bitstamp) CancelOrder(orderId string, currency CurrencyPair) (bool, error) + func (bitstamp *Bitstamp) GetAccount() (*Account, error) + func (bitstamp *Bitstamp) GetDepth(size int, currency CurrencyPair) (*Depth, error) + func (bitstamp *Bitstamp) GetExchangeName() string + func (bitstamp *Bitstamp) GetKlineRecords(currency CurrencyPair, period, size, since int) ([]Kline, error) + func (bitstamp *Bitstamp) GetOneOrder(orderId string, currency CurrencyPair) (*Order, error) + func (bitstamp *Bitstamp) GetOrderHistorys(currency CurrencyPair, currentPage, pageSize int) ([]Order, error) + func (bitstamp *Bitstamp) GetTicker(currency CurrencyPair) (*Ticker, error) + func (bitstamp *Bitstamp) GetTrades(currencyPair CurrencyPair, since int64) ([]Trade, error) + func (bitstamp *Bitstamp) GetUnfinishOrders(currency CurrencyPair) ([]Order, error) + func (bitstamp *Bitstamp) LimitBuy(amount, price string, currency CurrencyPair) (*Order, error) + func (bitstamp *Bitstamp) LimitSell(amount, price string, currency CurrencyPair) (*Order, error) + func (bitstamp *Bitstamp) MarketBuy(amount, price string, currency CurrencyPair) (*Order, error) + func (bitstamp *Bitstamp) MarketSell(amount, price string, currency CurrencyPair) (*Order, error)