Documentation ¶
Index ¶
- type Exchange
- func (e Exchange) AccountInformation(exch string) (account.Holdings, error)
- func (e Exchange) CancelOrder(exch, orderID string) (bool, error)
- func (e Exchange) DepositAddress(exch string, currencyCode currency.Code) (out string, err error)
- func (e Exchange) Exchanges(enabledOnly bool) []string
- func (e Exchange) GetExchange(exch string) (exchange.IBotExchange, error)
- func (e Exchange) IsEnabled(exch string) bool
- func (e Exchange) OHLCV(exch string, pair currency.Pair, item asset.Item, start, end time.Time, ...) (kline.Item, error)
- func (e Exchange) Orderbook(exch string, pair currency.Pair, item asset.Item) (*orderbook.Base, error)
- func (e Exchange) Pairs(exch string, enabledOnly bool, item asset.Item) (*currency.Pairs, error)
- func (e Exchange) QueryOrder(exch, orderID string) (*order.Detail, error)
- func (e Exchange) SubmitOrder(submit *order.Submit) (*order.SubmitResponse, error)
- func (e Exchange) Ticker(exch string, pair currency.Pair, item asset.Item) (*ticker.Price, error)
- func (e Exchange) WithdrawalCryptoFunds(exch string, request *withdraw.Request) (out string, err error)
- func (e Exchange) WithdrawalFiatFunds(exch, bankAccountID string, request *withdraw.Request) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exchange ¶
type Exchange struct{}
Exchange implements all required methods for Wrapper
func (Exchange) AccountInformation ¶
AccountInformation returns account information (balance etc) for requested exchange
func (Exchange) CancelOrder ¶
CancelOrder wrapper to cancel order on exchange
func (Exchange) DepositAddress ¶
DepositAddress gets the address required to deposit funds for currency type
func (Exchange) GetExchange ¶
func (e Exchange) GetExchange(exch string) (exchange.IBotExchange, error)
GetExchange returns IBotExchange for exchange or error if exchange is not found
func (Exchange) OHLCV ¶
func (e Exchange) OHLCV(exch string, pair currency.Pair, item asset.Item, start, end time.Time, interval kline.Interval) (kline.Item, error)
OHLCV returns open high low close volume candles for requested exchange/pair/asset/start & end time
func (Exchange) Orderbook ¶
func (e Exchange) Orderbook(exch string, pair currency.Pair, item asset.Item) (*orderbook.Base, error)
Orderbook returns current orderbook requested exchange, pair and asset
func (Exchange) QueryOrder ¶
QueryOrder returns details of a valid exchange order
func (Exchange) SubmitOrder ¶
SubmitOrder submit new order on exchange
Click to show internal directories.
Click to hide internal directories.