Documentation ¶
Index ¶
- Variables
- type Wrapper
- func (w Wrapper) AccountInformation(exch string) (account.Holdings, error)
- func (w Wrapper) CancelOrder(exch, orderid string) (bool, error)
- func (w Wrapper) DepositAddress(exch string, _ currency.Code) (string, error)
- func (w Wrapper) Exchanges(enabledOnly bool) []string
- func (w Wrapper) IsEnabled(exch string) (v bool)
- func (w Wrapper) OHLCV(exch string, p currency.Pair, a asset.Item, start, end time.Time, ...) (kline.Item, error)
- func (w Wrapper) Orderbook(exch string, pair currency.Pair, item asset.Item) (*orderbook.Base, error)
- func (w Wrapper) Pairs(exch string, _ bool, _ asset.Item) (*currency.Pairs, error)
- func (w Wrapper) QueryOrder(exch, _ string) (*order.Detail, error)
- func (w Wrapper) SubmitOrder(o *order.Submit) (*order.SubmitResponse, error)
- func (w Wrapper) Ticker(exch string, pair currency.Pair, item asset.Item) (*ticker.Price, error)
- func (w Wrapper) WithdrawalCryptoFunds(exch string, _ *withdraw.Request) (out string, err error)
- func (w Wrapper) WithdrawalFiatFunds(exch, _ string, _ *withdraw.Request) (out string, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IsTestExecution if test is executed under test conditions IsTestExecution atomic.Value )
Functions ¶
This section is empty.
Types ¶
type Wrapper ¶
type Wrapper struct{}
Wrapper for validator interface
func (Wrapper) AccountInformation ¶
AccountInformation validator for test execution/scripts
func (Wrapper) CancelOrder ¶
CancelOrder validator for test execution/scripts
func (Wrapper) DepositAddress ¶
DepositAddress validator for test execution/scripts
func (Wrapper) OHLCV ¶
func (w Wrapper) OHLCV(exch string, p currency.Pair, a asset.Item, start, end time.Time, i kline.Interval) (kline.Item, error)
OHLCV returns open high low close volume candles for requested exchange/pair/asset/start & end time
func (Wrapper) Orderbook ¶
func (w Wrapper) Orderbook(exch string, pair currency.Pair, item asset.Item) (*orderbook.Base, error)
Orderbook validator for test execution/scripts
func (Wrapper) QueryOrder ¶
QueryOrder validator for test execution/scripts
func (Wrapper) SubmitOrder ¶
SubmitOrder validator for test execution/scripts
func (Wrapper) WithdrawalCryptoFunds ¶
WithdrawalCryptoFunds validator for test execution/scripts
Click to show internal directories.
Click to hide internal directories.