Documentation ¶
Index ¶
- type PortfolioMarginAccountClient
- func (p *PortfolioMarginAccountClient) GetAccountInformation(ctx context.Context) (*types.GetAccountInfoResp, error)
- func (p *PortfolioMarginAccountClient) GetAssetBalance(ctx context.Context, param types.GetBalanceParam) (*types.GetBalanceResp, error)
- func (p *PortfolioMarginAccountClient) GetBalance(ctx context.Context) (*types.GetAllBalanceResp, error)
- type PortfolioMarginAccountClientCfg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PortfolioMarginAccountClient ¶
type PortfolioMarginAccountClient struct { *pmutils.PortfolioMarginClient // contains filtered or unexported fields }
func NewPortfolioMarginAccountClient ¶
func NewPortfolioMarginAccountClient(cfg *pmutils.PortfolioMarginClientCfg) (*PortfolioMarginAccountClient, error)
func (*PortfolioMarginAccountClient) GetAccountInformation ¶
func (p *PortfolioMarginAccountClient) GetAccountInformation(ctx context.Context) (*types.GetAccountInfoResp, error)
func (*PortfolioMarginAccountClient) GetAssetBalance ¶
func (p *PortfolioMarginAccountClient) GetAssetBalance(ctx context.Context, param types.GetBalanceParam) (*types.GetBalanceResp, error)
func (*PortfolioMarginAccountClient) GetBalance ¶
func (p *PortfolioMarginAccountClient) GetBalance(ctx context.Context) (*types.GetAllBalanceResp, error)
Click to show internal directories.
Click to hide internal directories.