Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BybitClient ¶
type BybitClient struct {
// contains filtered or unexported fields
}
func NewBybitClient ¶
func NewBybitClient(cfg *bybitutils.BybitClientCfg) (*BybitClient, error)
func (*BybitClient) GetFundAccountBalance ¶
func (bb *BybitClient) GetFundAccountBalance() (*types.GetAccountBalanceResp, error)
GetFundAccountBalance get Funding wallet balance
func (*BybitClient) GetUnifiedAccountBalance ¶
func (bb *BybitClient) GetUnifiedAccountBalance() (*types.GetWalletBalanceResp, error)
GetUnifiedAccountBalance(Unified Account API): UNIFIED (trade spot/linear/options) Note: the Unified account supports inverse trading. However, the margin used is from the inverse derivatives wallet instead of the unified wallet. doc: https://bybit-exchange.github.io/docs/v5/intro#current-api-coverage
func (*BybitClient) GetUnifiedAccountContractBalance ¶
func (bb *BybitClient) GetUnifiedAccountContractBalance() (*types.GetWalletBalanceResp, error)
GetContractAccountBalance(Unified Account API): CONTRACT(trade inverse)
Click to show internal directories.
Click to hide internal directories.