Documentation ¶
Overview ¶
Code generated by mockery v1.0.0
Index ¶
- Constants
- func FloorFloat64ToStr(num float64, dig int) string
- func GetMd5HashSign(query string) (string, error)
- func GetParamHmacSHA256Base64Sign(secret, params string) (string, error)
- func NewHttpRequest(client *http.Client, reqType string, reqUrl string, postData string, ...) ([]byte, error)
- type BinanceActiveOrderResponse
- type BinanceApi
- func (h *BinanceApi) ActiveOrders() ([]*models.Order, error)
- func (h *BinanceApi) Address(c string) (string, error)
- func (h *BinanceApi) Balances() (map[string]float64, error)
- func (h *BinanceApi) CancelOrder(trading string, settlement string, ordertype models.OrderType, ...) error
- func (h *BinanceApi) CompleteBalance(coin string) (*models.Balance, error)
- func (h *BinanceApi) CompleteBalances() (map[string]*models.Balance, error)
- func (h *BinanceApi) CurrencyPairs() ([]models.CurrencyPair, error)
- func (h *BinanceApi) IsOrderFilled(trading string, settlement string, orderNumber string) (bool, error)
- func (h *BinanceApi) Order(trading string, settlement string, ordertype models.OrderType, price float64, ...) (string, error)
- func (b *BinanceApi) TradeFeeRate(trading string, settlement string) (TradeFee, error)
- func (h *BinanceApi) TradeFeeRates() (map[string]map[string]TradeFee, error)
- func (h *BinanceApi) Transfer(typ string, addr string, amount float64, additionalFee float64) error
- func (h *BinanceApi) TransferFee() (map[string]float64, error)
- type BinanceBalance
- type BinanceTransferFeeResponse
- type BitflyerApi
- func (b *BitflyerApi) ActiveOrders() ([]*models.Order, error)
- func (b *BitflyerApi) Address(c string) (string, error)
- func (b *BitflyerApi) Balances() (map[string]float64, error)
- func (b *BitflyerApi) CancelOrder(trading string, settlement string, ordertype models.OrderType, ...) error
- func (b *BitflyerApi) CompleteBalance(coin string) (*models.Balance, error)
- func (b *BitflyerApi) CompleteBalances() (map[string]*models.Balance, error)
- func (b *BitflyerApi) IsOrderFilled(trading string, settlement string, orderNumber string) (bool, error)
- func (b *BitflyerApi) Order(trading string, settlement string, ordertype models.OrderType, price float64, ...) (string, error)
- func (b *BitflyerApi) PurchaseFeeRate() (float64, error)
- func (b *BitflyerApi) TradeFeeRate(trading string, settlement string) (TradeFee, error)
- func (b *BitflyerApi) TradeFeeRates() (map[string]map[string]TradeFee, error)
- func (b *BitflyerApi) Transfer(typ string, addr string, amount float64, additionalFee float64) error
- func (b *BitflyerApi) TransferFee() (map[string]float64, error)
- type BitflyerApiConfig
- type ClientMode
- type Currency
- type HitbtcApi
- func (h *HitbtcApi) ActiveOrders() ([]*models.Order, error)
- func (h *HitbtcApi) Address(c string) (string, error)
- func (h *HitbtcApi) Balances() (map[string]float64, error)
- func (h *HitbtcApi) CancelOrder(trading string, settlement string, ordertype models.OrderType, ...) error
- func (h *HitbtcApi) CompleteBalance(coin string) (*models.Balance, error)
- func (h *HitbtcApi) CompleteBalances() (map[string]*models.Balance, error)
- func (h *HitbtcApi) IsOrderFilled(trading string, settlement string, orderNumber string) (bool, error)
- func (h *HitbtcApi) Order(trading string, settlement string, ordertype models.OrderType, price float64, ...) (string, error)
- func (b *HitbtcApi) TradeFeeRate(trading string, settlement string) (TradeFee, error)
- func (h *HitbtcApi) TradeFeeRates() (map[string]map[string]TradeFee, error)
- func (h *HitbtcApi) Transfer(typ string, addr string, amount float64, additionalFee float64) error
- func (h *HitbtcApi) TransferFee() (map[string]float64, error)
- type HuobiActiveOrderResponse
- type HuobiApi
- func (h *HuobiApi) ActiveOrders() ([]*models.Order, error)
- func (h *HuobiApi) Address(c string) (string, error)
- func (h *HuobiApi) Balances() (map[string]float64, error)
- func (h *HuobiApi) CancelOrder(trading string, settlement string, ordertype models.OrderType, ...) error
- func (h *HuobiApi) CompleteBalance(coin string) (*models.Balance, error)
- func (h *HuobiApi) CompleteBalances() (map[string]*models.Balance, error)
- func (h *HuobiApi) IsOrderFilled(trading string, settlement string, orderNumber string) (bool, error)
- func (h *HuobiApi) Order(trading string, settlement string, ordertype models.OrderType, price float64, ...) (string, error)
- func (b *HuobiApi) TradeFeeRate(trading string, settlement string) (TradeFee, error)
- func (h *HuobiApi) TradeFeeRates() (map[string]map[string]TradeFee, error)
- func (h *HuobiApi) Transfer(typ string, addr string, amount float64, additionalFee float64) error
- func (h *HuobiApi) TransferFee() (map[string]float64, error)
- type HuobiBalance
- type HuobiTransferFeeResponse
- type KucoinActiveOrderResponse
- type KucoinApi
- func (h *KucoinApi) ActiveOrders() ([]*models.Order, error)
- func (h *KucoinApi) Address(c string) (string, error)
- func (h *KucoinApi) Balances() (map[string]float64, error)
- func (h *KucoinApi) CancelOrder(trading string, settlement string, ordertype models.OrderType, ...) error
- func (h *KucoinApi) CompleteBalance(coin string) (*models.Balance, error)
- func (h *KucoinApi) CompleteBalances() (map[string]*models.Balance, error)
- func (h *KucoinApi) IsOrderFilled(trading string, settlement string, orderNumber string) (bool, error)
- func (h *KucoinApi) Order(trading string, settlement string, ordertype models.OrderType, price float64, ...) (string, error)
- func (b *KucoinApi) TradeFeeRate(trading string, settlement string) (TradeFee, error)
- func (h *KucoinApi) TradeFeeRates() (map[string]map[string]TradeFee, error)
- func (h *KucoinApi) Transfer(typ string, addr string, amount float64, additionalFee float64) error
- func (h *KucoinApi) TransferFee() (map[string]float64, error)
- type KucoinBalance
- type KucoinTransferFeeResponse
- type LbankActiveOrderResponse
- type LbankApi
- func (h *LbankApi) ActiveOrders() ([]*models.Order, error)
- func (h *LbankApi) Address(c string) (string, error)
- func (h *LbankApi) Balances() (map[string]float64, error)
- func (h *LbankApi) CancelOrder(trading string, settlement string, ordertype models.OrderType, ...) error
- func (h *LbankApi) CompleteBalance(coin string) (*models.Balance, error)
- func (h *LbankApi) CompleteBalances() (map[string]*models.Balance, error)
- func (h *LbankApi) IsOrderFilled(trading string, settlement string, orderNumber string) (bool, error)
- func (h *LbankApi) Order(trading string, settlement string, ordertype models.OrderType, price float64, ...) (string, error)
- func (b *LbankApi) TradeFeeRate(trading string, settlement string) (TradeFee, error)
- func (h *LbankApi) TradeFeeRates() (map[string]map[string]TradeFee, error)
- func (h *LbankApi) Transfer(typ string, addr string, amount float64, additionalFee float64) error
- func (h *LbankApi) TransferFee() (map[string]float64, error)
- type LbankBalance
- type LbankTransferFeeResponse
- type MockPrivateClient
- func (_m *MockPrivateClient) ActiveOrders() ([]*models.Order, error)
- func (_m *MockPrivateClient) Address(c string) (string, error)
- func (_m *MockPrivateClient) Balances() (map[string]float64, error)
- func (_m *MockPrivateClient) CancelOrder(trading string, settlement string, ordertype models.OrderType, ...) error
- func (_m *MockPrivateClient) CompleteBalance(coin string) (*models.Balance, error)
- func (_m *MockPrivateClient) CompleteBalances() (map[string]*models.Balance, error)
- func (_m *MockPrivateClient) IsOrderFilled(trading string, settlement string, orderNumber string) (bool, error)
- func (_m *MockPrivateClient) Order(trading string, settlement string, ordertype models.OrderType, price float64, ...) (string, error)
- func (_m *MockPrivateClient) TradeFeeRate(_a0 string, _a1 string) (TradeFee, error)
- func (_m *MockPrivateClient) TradeFeeRates() (map[string]map[string]TradeFee, error)
- func (_m *MockPrivateClient) Transfer(typ string, addr string, amount float64, additionalFee float64) error
- func (_m *MockPrivateClient) TransferFee() (map[string]float64, error)
- type OkexActiveOrderResponse
- type OkexApi
- func (o *OkexApi) ActiveOrders() ([]*models.Order, error)
- func (o *OkexApi) Address(c string) (string, error)
- func (o *OkexApi) Balances() (map[string]float64, error)
- func (o *OkexApi) CancelOrder(trading string, settlement string, ordertype models.OrderType, ...) error
- func (o *OkexApi) CompleteBalance(coin string) (*models.Balance, error)
- func (o *OkexApi) CompleteBalances() (map[string]*models.Balance, error)
- func (o *OkexApi) IsOrderFilled(trading string, settlement string, orderNumber string) (bool, error)
- func (o *OkexApi) Order(trading string, settlement string, ordertype models.OrderType, price float64, ...) (string, error)
- func (o *OkexApi) TradeFeeRate(trading string, settlement string) (TradeFee, error)
- func (o *OkexApi) TradeFeeRates() (map[string]map[string]TradeFee, error)
- func (o *OkexApi) Transfer(typ string, addr string, amount float64, additionalFee float64) error
- func (o *OkexApi) TransferFee() (map[string]float64, error)
- type OkexBalance
- type OkexTransferFeeResponse
- type P2pb2bActiveOrderResponse
- type P2pb2bApi
- func (h *P2pb2bApi) ActiveOrders() ([]*models.Order, error)
- func (h *P2pb2bApi) Address(c string) (string, error)
- func (h *P2pb2bApi) Balances() (map[string]float64, error)
- func (h *P2pb2bApi) CancelOrder(trading string, settlement string, ordertype models.OrderType, ...) error
- func (h *P2pb2bApi) CompleteBalance(coin string) (*models.Balance, error)
- func (h *P2pb2bApi) CompleteBalances() (map[string]*models.Balance, error)
- func (h *P2pb2bApi) IsOrderFilled(trading string, settlement string, orderNumber string) (bool, error)
- func (h *P2pb2bApi) Order(trading string, settlement string, ordertype models.OrderType, price float64, ...) (string, error)
- func (b *P2pb2bApi) TradeFeeRate(trading string, settlement string) (TradeFee, error)
- func (h *P2pb2bApi) TradeFeeRates() (map[string]map[string]TradeFee, error)
- func (h *P2pb2bApi) Transfer(typ string, addr string, amount float64, additionalFee float64) error
- func (h *P2pb2bApi) TransferFee() (map[string]float64, error)
- type P2pb2bBalance
- type P2pb2bTransferFeeResponse
- type PoloniexApi
- func (p *PoloniexApi) ActiveOrders() ([]*models.Order, error)
- func (p *PoloniexApi) Address(c string) (string, error)
- func (p *PoloniexApi) Balances() (map[string]float64, error)
- func (p *PoloniexApi) CancelOrder(trading string, settlement string, ordertype models.OrderType, ...) error
- func (p *PoloniexApi) CompleteBalance(coin string) (*models.Balance, error)
- func (p *PoloniexApi) CompleteBalances() (map[string]*models.Balance, error)
- func (p *PoloniexApi) IsOrderFilled(trading string, settlement string, orderNumber string) (bool, error)
- func (p *PoloniexApi) Order(trading string, settlement string, ordertype models.OrderType, price float64, ...) (string, error)
- func (b *PoloniexApi) TradeFeeRate(trading string, settlement string) (TradeFee, error)
- func (p *PoloniexApi) TradeFeeRates() (map[string]map[string]TradeFee, error)
- func (p *PoloniexApi) Transfer(typ string, addr string, amount float64, additionalFee float64) error
- func (p *PoloniexApi) TransferFee() (map[string]float64, error)
- type PrivateClient
- type TradeFee
Constants ¶
const ACCOUNT_URI = "account?"
const (
BINANCE_BASE_URL = "https://api.binance.com"
)
const (
BITFLYER_BASE_URL = "https://api.bitflyer.jp"
)
const (
HITBTC_BASE_URL = "https://api.hitbtc.com"
)
const (
HUOBI_BASE_URL = "https://api.huobi.pro"
)
const (
KUCOIN_BASE_URL = "https://api.kucoin.com"
)
const (
LBANK_BASE_URL = "https://api.lbkex.com"
)
const (
OKEX_BASE_URL = "https://www.okex.com"
)
const (
P2PB2B_BASE_URL = "https://api.p2pb2b.io/api/v1"
)
const (
POLONIEX_BASE_URL = "https://poloniex.com"
)
const SERVER_TIME_URL = "time"
Variables ¶
This section is empty.
Functions ¶
func FloorFloat64ToStr ¶
func GetMd5HashSign ¶
Types ¶
type BinanceApi ¶
type BinanceApi struct { ApiKeyFunc func() (string, error) SecretKeyFunc func() (string, error) BaseURL string RateCacheDuration time.Duration HttpClient http.Client // contains filtered or unexported fields }
func NewBinanceApi ¶
func (*BinanceApi) ActiveOrders ¶
func (h *BinanceApi) ActiveOrders() ([]*models.Order, error)
func (*BinanceApi) CancelOrder ¶
func (*BinanceApi) CompleteBalance ¶
func (h *BinanceApi) CompleteBalance(coin string) (*models.Balance, error)
func (*BinanceApi) CompleteBalances ¶
func (h *BinanceApi) CompleteBalances() (map[string]*models.Balance, error)
func (*BinanceApi) CurrencyPairs ¶
func (h *BinanceApi) CurrencyPairs() ([]models.CurrencyPair, error)
func (*BinanceApi) IsOrderFilled ¶
func (*BinanceApi) TradeFeeRate ¶
func (b *BinanceApi) TradeFeeRate(trading string, settlement string) (TradeFee, error)
func (*BinanceApi) TradeFeeRates ¶
func (h *BinanceApi) TradeFeeRates() (map[string]map[string]TradeFee, error)
func (*BinanceApi) TransferFee ¶
func (h *BinanceApi) TransferFee() (map[string]float64, error)
type BinanceBalance ¶
type BinanceTransferFeeResponse ¶
type BinanceTransferFeeResponse struct { Currency string // contains filtered or unexported fields }
type BitflyerApi ¶
type BitflyerApi struct { ApikeyFunc func() (string, error) ApiSecretFunc func() (string, error) BaseURL string RateCacheDuration time.Duration HttpClient http.Client Mode ClientMode // contains filtered or unexported fields }
func NewBitflyerPrivateApi ¶
func (*BitflyerApi) ActiveOrders ¶
func (b *BitflyerApi) ActiveOrders() ([]*models.Order, error)
func (*BitflyerApi) CancelOrder ¶
func (*BitflyerApi) CompleteBalance ¶
func (b *BitflyerApi) CompleteBalance(coin string) (*models.Balance, error)
func (*BitflyerApi) CompleteBalances ¶
func (b *BitflyerApi) CompleteBalances() (map[string]*models.Balance, error)
func (*BitflyerApi) IsOrderFilled ¶
func (*BitflyerApi) PurchaseFeeRate ¶
func (b *BitflyerApi) PurchaseFeeRate() (float64, error)
func (*BitflyerApi) TradeFeeRate ¶
func (b *BitflyerApi) TradeFeeRate(trading string, settlement string) (TradeFee, error)
func (*BitflyerApi) TradeFeeRates ¶
func (b *BitflyerApi) TradeFeeRates() (map[string]map[string]TradeFee, error)
func (*BitflyerApi) TransferFee ¶
func (b *BitflyerApi) TransferFee() (map[string]float64, error)
type BitflyerApiConfig ¶
type BitflyerApiConfig struct { }
type HitbtcApi ¶
type HitbtcApi struct { ApiKeyFunc func() (string, error) SecretKeyFunc func() (string, error) BaseURL string RateCacheDuration time.Duration HttpClient http.Client // contains filtered or unexported fields }
func NewHitbtcApi ¶
func (*HitbtcApi) CancelOrder ¶
func (*HitbtcApi) CompleteBalance ¶
func (*HitbtcApi) CompleteBalances ¶
func (*HitbtcApi) IsOrderFilled ¶
func (*HitbtcApi) TradeFeeRate ¶
func (*HitbtcApi) TradeFeeRates ¶
type HuobiApi ¶
type HuobiApi struct { ApiKeyFunc func() (string, error) SecretKeyFunc func() (string, error) BaseURL string RateCacheDuration time.Duration HttpClient http.Client // contains filtered or unexported fields }
func NewHuobiApi ¶
func (*HuobiApi) CancelOrder ¶
func (*HuobiApi) CompleteBalance ¶
func (*HuobiApi) CompleteBalances ¶
func (*HuobiApi) IsOrderFilled ¶
func (*HuobiApi) TradeFeeRate ¶
func (*HuobiApi) TradeFeeRates ¶
type HuobiBalance ¶
type HuobiTransferFeeResponse ¶
type HuobiTransferFeeResponse struct { Currency string // contains filtered or unexported fields }
type KucoinApi ¶
type KucoinApi struct { ApiKeyFunc func() (string, error) SecretKeyFunc func() (string, error) BaseURL string RateCacheDuration time.Duration HttpClient http.Client // contains filtered or unexported fields }
func NewKucoinApi ¶
func (*KucoinApi) CancelOrder ¶
func (*KucoinApi) CompleteBalance ¶
func (*KucoinApi) CompleteBalances ¶
func (*KucoinApi) IsOrderFilled ¶
func (*KucoinApi) TradeFeeRate ¶
func (*KucoinApi) TradeFeeRates ¶
type KucoinBalance ¶
type KucoinTransferFeeResponse ¶
type KucoinTransferFeeResponse struct { Currency string // contains filtered or unexported fields }
type LbankApi ¶
type LbankApi struct { ApiKeyFunc func() (string, error) SecretKeyFunc func() (string, error) BaseURL string RateCacheDuration time.Duration HttpClient http.Client // contains filtered or unexported fields }
func NewLbankApi ¶
func (*LbankApi) CancelOrder ¶
func (*LbankApi) CompleteBalance ¶
func (*LbankApi) CompleteBalances ¶
func (*LbankApi) IsOrderFilled ¶
func (*LbankApi) TradeFeeRate ¶
func (*LbankApi) TradeFeeRates ¶
type LbankBalance ¶
type LbankTransferFeeResponse ¶
type LbankTransferFeeResponse struct { Currency string // contains filtered or unexported fields }
type MockPrivateClient ¶
MockPrivateClient is an autogenerated mock type for the PrivateClient type
func (*MockPrivateClient) ActiveOrders ¶
func (_m *MockPrivateClient) ActiveOrders() ([]*models.Order, error)
ActiveOrders provides a mock function with given fields:
func (*MockPrivateClient) Address ¶
func (_m *MockPrivateClient) Address(c string) (string, error)
Address provides a mock function with given fields: c
func (*MockPrivateClient) Balances ¶
func (_m *MockPrivateClient) Balances() (map[string]float64, error)
Balances provides a mock function with given fields:
func (*MockPrivateClient) CancelOrder ¶
func (_m *MockPrivateClient) CancelOrder(trading string, settlement string, ordertype models.OrderType, orderNumber string) error
CancelOrder provides a mock function with given fields: trading, settlement, ordertype, orderNumber
func (*MockPrivateClient) CompleteBalance ¶
func (_m *MockPrivateClient) CompleteBalance(coin string) (*models.Balance, error)
CompleteBalance provides a mock function with given fields: coin
func (*MockPrivateClient) CompleteBalances ¶
func (_m *MockPrivateClient) CompleteBalances() (map[string]*models.Balance, error)
CompleteBalances provides a mock function with given fields:
func (*MockPrivateClient) IsOrderFilled ¶
func (_m *MockPrivateClient) IsOrderFilled(trading string, settlement string, orderNumber string) (bool, error)
IsOrderFilled provides a mock function with given fields: trading, settlement, orderNumber
func (*MockPrivateClient) Order ¶
func (_m *MockPrivateClient) Order(trading string, settlement string, ordertype models.OrderType, price float64, amount float64) (string, error)
Order provides a mock function with given fields: trading, settlement, ordertype, price, amount
func (*MockPrivateClient) TradeFeeRate ¶
func (_m *MockPrivateClient) TradeFeeRate(_a0 string, _a1 string) (TradeFee, error)
TradeFeeRate provides a mock function with given fields: _a0, _a1
func (*MockPrivateClient) TradeFeeRates ¶
func (_m *MockPrivateClient) TradeFeeRates() (map[string]map[string]TradeFee, error)
TradeFeeRates provides a mock function with given fields:
func (*MockPrivateClient) Transfer ¶
func (_m *MockPrivateClient) Transfer(typ string, addr string, amount float64, additionalFee float64) error
Transfer provides a mock function with given fields: typ, addr, amount, additionalFee
func (*MockPrivateClient) TransferFee ¶
func (_m *MockPrivateClient) TransferFee() (map[string]float64, error)
TransferFee provides a mock function with given fields:
type OkexActiveOrderResponse ¶
type OkexApi ¶
type OkexApi struct { ApiKeyFunc func() (string, error) SecretKeyFunc func() (string, error) BaseURL string RateCacheDuration time.Duration HttpClient http.Client // contains filtered or unexported fields }
func NewOkexApi ¶
func (*OkexApi) CancelOrder ¶
func (*OkexApi) CompleteBalance ¶
func (*OkexApi) CompleteBalances ¶
func (*OkexApi) IsOrderFilled ¶
func (*OkexApi) TradeFeeRate ¶
func (*OkexApi) TradeFeeRates ¶
type OkexBalance ¶
type OkexTransferFeeResponse ¶
type OkexTransferFeeResponse struct { Currency string // contains filtered or unexported fields }
type P2pb2bApi ¶
type P2pb2bApi struct { ApiKeyFunc func() (string, error) SecretKeyFunc func() (string, error) BaseURL string RateCacheDuration time.Duration HttpClient http.Client // contains filtered or unexported fields }
func NewP2pb2bApi ¶
func (*P2pb2bApi) CancelOrder ¶
func (*P2pb2bApi) CompleteBalance ¶
func (*P2pb2bApi) CompleteBalances ¶
func (*P2pb2bApi) IsOrderFilled ¶
func (*P2pb2bApi) TradeFeeRate ¶
func (*P2pb2bApi) TradeFeeRates ¶
type P2pb2bBalance ¶
type P2pb2bTransferFeeResponse ¶
type P2pb2bTransferFeeResponse struct { Currency string // contains filtered or unexported fields }
type PoloniexApi ¶
type PoloniexApi struct { ApiKeyFunc func() (string, error) SecretKeyFunc func() (string, error) BaseURL string RateCacheDuration time.Duration HttpClient http.Client // contains filtered or unexported fields }
func NewPoloniexApi ¶
func (*PoloniexApi) ActiveOrders ¶
func (p *PoloniexApi) ActiveOrders() ([]*models.Order, error)
func (*PoloniexApi) CancelOrder ¶
func (*PoloniexApi) CompleteBalance ¶
func (p *PoloniexApi) CompleteBalance(coin string) (*models.Balance, error)
func (*PoloniexApi) CompleteBalances ¶
func (p *PoloniexApi) CompleteBalances() (map[string]*models.Balance, error)
func (*PoloniexApi) IsOrderFilled ¶
func (*PoloniexApi) TradeFeeRate ¶
func (b *PoloniexApi) TradeFeeRate(trading string, settlement string) (TradeFee, error)
func (*PoloniexApi) TradeFeeRates ¶
func (p *PoloniexApi) TradeFeeRates() (map[string]map[string]TradeFee, error)
func (*PoloniexApi) TransferFee ¶
func (p *PoloniexApi) TransferFee() (map[string]float64, error)
type PrivateClient ¶
type PrivateClient interface { TransferFee() (map[string]float64, error) TradeFeeRates() (map[string]map[string]TradeFee, error) TradeFeeRate(string, string) (TradeFee, error) Balances() (map[string]float64, error) CompleteBalances() (map[string]*models.Balance, error) CompleteBalance(coin string) (*models.Balance, error) ActiveOrders() ([]*models.Order, error) IsOrderFilled(trading string, settlement string, orderNumber string) (bool, error) Order(trading string, settlement string, ordertype models.OrderType, price float64, amount float64) (string, error) CancelOrder(trading string, settlement string, ordertype models.OrderType, orderNumber string) error //FilledOrderInfo(orderNumber string) (models.FilledOrderInfo,error) Transfer(typ string, addr string, amount float64, additionalFee float64) error Address(c string) (string, error) }
func NewClient ¶
func NewClient(mode ClientMode, exchangeName string, apikey func() (string, error), seckey func() (string, error)) (PrivateClient, error)