Documentation ¶
Index ¶
- Constants
- type Exx
- func (exx *Exx) CancelOrder(orderId string, currency CurrencyPair) (bool, error)
- func (exx *Exx) CancelWithdraw(id string, currency Currency, safePwd string) (bool, error)
- func (exx *Exx) GetAccount() (*Account, error)
- func (exx *Exx) GetDepth(size int, currency CurrencyPair) (*Depth, error)
- func (exx *Exx) GetExchangeName() string
- func (exx *Exx) GetKlineRecords(currency CurrencyPair, period, size, since int) ([]Kline, error)
- func (exx *Exx) GetOneOrder(orderId string, currency CurrencyPair) (*Order, error)
- func (exx *Exx) GetOrderHistorys(currency CurrencyPair, currentPage, pageSize int) ([]Order, error)
- func (exx *Exx) GetTicker(currency CurrencyPair) (*Ticker, error)
- func (exx *Exx) GetTrades(currencyPair CurrencyPair, since int64) ([]Trade, error)
- func (exx *Exx) GetUnfinishOrders(currency CurrencyPair) ([]Order, error)
- func (exx *Exx) LimitBuy(amount, price string, currency CurrencyPair, ...) (*Order, error)
- func (exx *Exx) LimitSell(amount, price string, currency CurrencyPair, ...) (*Order, error)
- func (exx *Exx) MarketBuy(amount, price string, currency CurrencyPair) (*Order, error)
- func (exx *Exx) MarketSell(amount, price string, currency CurrencyPair) (*Order, error)
- func (exx *Exx) Withdraw(amount string, currency Currency, fees, receiveAddr, safePwd string) (string, error)
Constants ¶
View Source
const ( EXX = "EXX" API_BASE_URL = "https://api.exx.com/" MARKET_URL = "http://api.exx.com/data/v1/" TICKER_API = "ticker?currency=%s" DEPTH_API = "depth?currency=%s" TRADE_URL = "https://trade.exx.com/api/" GET_ACCOUNT_API = "getBalance" GET_ORDER_API = "getOrder" GET_UNFINISHED_ORDERS_API = "getUnfinishedOrdersIgnoreTradeType" CANCEL_ORDER_API = "cancelOrder" PLACE_ORDER_API = "order" WITHDRAW_API = "withdraw" CANCELWITHDRAW_API = "cancelWithdraw" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exx ¶
type Exx struct {
// contains filtered or unexported fields
}
func (*Exx) CancelOrder ¶
func (*Exx) CancelWithdraw ¶
func (*Exx) GetAccount ¶
func (*Exx) GetExchangeName ¶
func (*Exx) GetKlineRecords ¶
func (*Exx) GetOneOrder ¶
func (*Exx) GetOrderHistorys ¶
func (*Exx) GetUnfinishOrders ¶
func (*Exx) MarketSell ¶
Click to show internal directories.
Click to hide internal directories.