Versions in this module Expand all Collapse all v1 v1.0.0 Feb 14, 2018 Changes in this version + const ApiVersion + const Url + func CreateNonceFileIfNotExists() + func WriteNonce(data []byte) + type ActiveOrder struct + Amount float64 + Created string + Pair string + Rate float64 + Status uint8 + Type string + type ActiveOrdersResponse struct + Error string + Orders map[string]ActiveOrder + Success uint8 + type ApiCredential struct + Key string + Secret string + type CallArg struct + type CancelOrderResponse struct + Error string + Result CancelResult + Success uint8 + type CancelResult struct + Funds map[string]float64 + OrderId uint64 + type DepthResponse struct + Offers map[string]Offers + type ErrorResponse struct + Error string + Success uint8 + type GetInfoResponse struct + Data GetInfoReturn + Error string + Success uint8 + type GetInfoReturn struct + Funds map[string]float64 + FundsIncludeOrders map[string]float64 + OpenOrders int + Rights map[string]uint8 + ServerTime int64 + TransactionCount int + type HistoricOrder struct + Amount float64 + IsYourOrder uint8 + OrderId string + Pair string + Rate float64 + Timestamp string + Type string + type InfoResponse struct + Pairs map[string]PairInfo + ServerTime int64 + type LocalStorage struct + func NewStorage() *LocalStorage + func (s *LocalStorage) LoadCookies(url *url.URL) []*http.Cookie + func (s *LocalStorage) Release() + func (s *LocalStorage) SaveCookies(url *url.URL, cookies []*http.Cookie) + type Offer struct + Price float64 + Quantity float64 + func (n *Offer) UnmarshalJSON(buf []byte) error + type Offers struct + Asks []Offer + Bids []Offer + type OrderInfo struct + Amount float64 + Created string + Pair string + Rate float64 + StartAmount float64 + Status uint8 + Type string + type OrderInfoResponse struct + Error string + Orders map[string]OrderInfo + Success uint8 + type PairInfo struct + DecimalPlace uint16 + Fee float64 + Hidden uint8 + MaxPrice float64 + MinAmount float64 + MinPrice float64 + type Ticker struct + Avg float64 + Buy float64 + High float64 + Last float64 + Low float64 + Sell float64 + Updated int64 + Vol float64 + VolCur float64 + type TickerInfoResponse struct + Tickers map[string]Ticker + type Trade struct + Amount float64 + Price float64 + Tid uint64 + Timestamp int64 + Type string + type TradeHistoryResponse struct + Error string + Orders map[string]HistoricOrder + Success uint8 + type TradeResponse struct + Error string + Result TradeResult + Success uint8 + type TradeResult struct + Funds map[string]float64 + OrderId uint64 + Received float64 + Remains float64 + type TradesResponse struct + Trades map[string][]Trade + type Yobit struct + func New(credential ApiCredential) *Yobit + func (y *Yobit) ActiveOrders(pair string, ch chan<- ActiveOrdersResponse) + func (y *Yobit) CancelOrder(orderId string, ch chan CancelOrderResponse) + func (y *Yobit) Depth(pairs string, ch chan<- DepthResponse) + func (y *Yobit) DepthLimited(pairs string, limit int, ch chan<- DepthResponse) + func (y *Yobit) GetAndIncrementNonce() (nonce uint64) + func (y *Yobit) GetInfo(ch chan<- GetInfoResponse) + func (y *Yobit) Info(ch chan<- InfoResponse) + func (y *Yobit) IsMarketExists(market string) bool + func (y *Yobit) LoadCookies() + func (y *Yobit) OrderInfo(orderId string, ch chan<- OrderInfoResponse) + func (y *Yobit) PassCloudflare() + func (y *Yobit) Release() + func (y *Yobit) SaveCookies() + func (y *Yobit) SetCookies(cookies []*http.Cookie) + func (y *Yobit) Tickers24(pairs []string, ch chan<- TickerInfoResponse) + func (y *Yobit) Trade(pair string, tradeType string, rate float64, amount float64, ...) + func (y *Yobit) TradeHistory(pair string, ch chan<- TradeHistoryResponse) + func (y *Yobit) TradesLimited(pairs string, limit int, ch chan<- TradesResponse)