Documentation ¶
Index ¶
- type OptionsAccountClient
- func (o *OptionsAccountClient) CancelAllOrdersBySymbol(ctx context.Context, param types.CancelAllOrdersParam) error
- func (o *OptionsAccountClient) CancelAllOrdersByUnderlying(ctx context.Context, param types.CancelAllOrdersByUnderlyingParam) error
- func (o *OptionsAccountClient) CancelOrder(ctx context.Context, param types.CancelOrderParam) (*types.Order, error)
- func (o *OptionsAccountClient) GetAccountInfo(ctx context.Context) (*types.AccountInfo, error)
- func (o *OptionsAccountClient) GetExerciseRecord(ctx context.Context, param types.GetExerciseRecordParam) ([]*types.UserTrade, error)
- func (o *OptionsAccountClient) GetFundingFlow(ctx context.Context, param types.GetFundingFlowParam) ([]*types.FundingFlow, error)
- func (o *OptionsAccountClient) GetOpenOrders(ctx context.Context, param types.GetCurrentOpenOrdersParam) ([]*types.Order, error)
- func (o *OptionsAccountClient) GetOrderHistory(ctx context.Context, param types.GetOrderHistoryParam) ([]*types.Order, error)
- func (o *OptionsAccountClient) GetPositionInfo(ctx context.Context, param types.GetPositionInfoParam) ([]*types.Position, error)
- func (o *OptionsAccountClient) GetSingleOrder(ctx context.Context, param types.GetSingleOrderParam) (*types.Order, error)
- func (o *OptionsAccountClient) GetTradeList(ctx context.Context, param types.GetTradeListParam) ([]*types.UserTrade, error)
- func (o *OptionsAccountClient) NewOrder(ctx context.Context, param types.NewOrderParam) (*types.Order, error)
- type OptionsAccountClientCfg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OptionsAccountClient ¶
type OptionsAccountClient struct { *eoutils.OptionsClient // contains filtered or unexported fields }
func NewOptionsAccountClient ¶
func NewOptionsAccountClient(cfg *eoutils.OptionsClientCfg) (*OptionsAccountClient, error)
func (*OptionsAccountClient) CancelAllOrdersBySymbol ¶
func (o *OptionsAccountClient) CancelAllOrdersBySymbol(ctx context.Context, param types.CancelAllOrdersParam) error
func (*OptionsAccountClient) CancelAllOrdersByUnderlying ¶
func (o *OptionsAccountClient) CancelAllOrdersByUnderlying(ctx context.Context, param types.CancelAllOrdersByUnderlyingParam) error
func (*OptionsAccountClient) CancelOrder ¶
func (o *OptionsAccountClient) CancelOrder(ctx context.Context, param types.CancelOrderParam) (*types.Order, error)
func (*OptionsAccountClient) GetAccountInfo ¶
func (o *OptionsAccountClient) GetAccountInfo(ctx context.Context) (*types.AccountInfo, error)
func (*OptionsAccountClient) GetExerciseRecord ¶
func (o *OptionsAccountClient) GetExerciseRecord(ctx context.Context, param types.GetExerciseRecordParam) ([]*types.UserTrade, error)
func (*OptionsAccountClient) GetFundingFlow ¶
func (o *OptionsAccountClient) GetFundingFlow(ctx context.Context, param types.GetFundingFlowParam) ([]*types.FundingFlow, error)
func (*OptionsAccountClient) GetOpenOrders ¶
func (o *OptionsAccountClient) GetOpenOrders(ctx context.Context, param types.GetCurrentOpenOrdersParam) ([]*types.Order, error)
func (*OptionsAccountClient) GetOrderHistory ¶
func (o *OptionsAccountClient) GetOrderHistory(ctx context.Context, param types.GetOrderHistoryParam) ([]*types.Order, error)
func (*OptionsAccountClient) GetPositionInfo ¶
func (o *OptionsAccountClient) GetPositionInfo(ctx context.Context, param types.GetPositionInfoParam) ([]*types.Position, error)
func (*OptionsAccountClient) GetSingleOrder ¶
func (o *OptionsAccountClient) GetSingleOrder(ctx context.Context, param types.GetSingleOrderParam) (*types.Order, error)
func (*OptionsAccountClient) GetTradeList ¶
func (o *OptionsAccountClient) GetTradeList(ctx context.Context, param types.GetTradeListParam) ([]*types.UserTrade, error)
func (*OptionsAccountClient) NewOrder ¶
func (o *OptionsAccountClient) NewOrder(ctx context.Context, param types.NewOrderParam) (*types.Order, error)
Click to show internal directories.
Click to hide internal directories.