Documentation ¶
Index ¶
- Variables
- type 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)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
BASE_URL = "https://www.bitstamp.net/api/"
)
Functions ¶
This section is empty.
Types ¶
type Bitstamp ¶
type Bitstamp struct {
// contains filtered or unexported fields
}
func NewBitstamp ¶
func (*Bitstamp) CancelOrder ¶
func (*Bitstamp) GetAccount ¶
func (*Bitstamp) GetExchangeName ¶
func (*Bitstamp) GetKlineRecords ¶
func (*Bitstamp) GetOneOrder ¶
func (*Bitstamp) GetOrderHistorys ¶
func (*Bitstamp) GetUnfinishOrders ¶
func (*Bitstamp) MarketSell ¶
Click to show internal directories.
Click to hide internal directories.