Documentation
¶
Index ¶
- Variables
- func Sym2duo(pair string) q.D
- type Bitstamp
- func (Bitstamp *Bitstamp) AllTicker(SymPair map[string]q.D) (mdt *sync.Map, err error)
- func (Bitstamp *Bitstamp) Balances() (availables, frozens *sync.Map, err error)
- func (Bitstamp *Bitstamp) CancelOrder(orderId string, currency CurrencyPair) (bool, error)
- func (Bitstamp *Bitstamp) Fee() float64
- func (Bitstamp *Bitstamp) GetAccount() (*Account, error)
- func (Bitstamp *Bitstamp) GetAttr() (a q.Attr)
- func (Bitstamp *Bitstamp) GetDepth(size int, currency CurrencyPair) (*Depth, error)
- func (Bitstamp *Bitstamp) GetKlineRecords(currency CurrencyPair, period KlinePeriod, size int, ...) ([]Kline, error)
- func (Bitstamp *Bitstamp) GetOneOrder(orderId string, currency CurrencyPair) (*Order, error)
- func (Bitstamp *Bitstamp) GetOrderHistorys(currency CurrencyPair, optional ...OptionalParameter) ([]Order, error)
- func (Bitstamp *Bitstamp) GetTicker(currency CurrencyPair) (*Ticker, error)
- func (Bitstamp *Bitstamp) GetTrades(currencyPair CurrencyPair, since int64) ([]Trade, error)
- func (Bitstamp *Bitstamp) GetUnfinishedOrders(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)
- func (Bitstamp *Bitstamp) OneTicker(d q.D) (ticker q.Bbo, err error)
- func (Bitstamp *Bitstamp) PairArray() (map[string]q.D, map[q.D]q.P, error)
- func (Bitstamp *Bitstamp) PlaceOrders(places [3]q.Order) (orders [3]q.Order, err error)
- func (Bitstamp *Bitstamp) String() string
- func (Bitstamp *Bitstamp) Test() bool
- func (Bitstamp *Bitstamp) TradeFee() (map[string]q.TradeFee, error)
- func (Bitstamp *Bitstamp) WithdrawFee() (sf []q.NetworkWithdraw, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
BASE_URL = "https://www.bitstamp.net/api/"
)
Functions ¶
Types ¶
type Bitstamp ¶
type Bitstamp struct {
// contains filtered or unexported fields
}
func NewBitstamp ¶
func (*Bitstamp) CancelOrder ¶
func (*Bitstamp) GetAccount ¶
func (*Bitstamp) GetKlineRecords ¶
func (*Bitstamp) GetOneOrder ¶
func (*Bitstamp) GetOrderHistorys ¶
func (*Bitstamp) GetUnfinishedOrders ¶
func (*Bitstamp) MarketSell ¶
func (*Bitstamp) PlaceOrders ¶
func (*Bitstamp) WithdrawFee ¶
func (Bitstamp *Bitstamp) WithdrawFee() (sf []q.NetworkWithdraw, err error)
Click to show internal directories.
Click to hide internal directories.