Documentation ¶
Index ¶
- type ExchangeClient
- func (_m *ExchangeClient) Authenticate(ctx context.Context, creds *sharesies.Credentials) (*sharesies.ProfileResponse, error)
- func (_m *ExchangeClient) Buy(ctx context.Context, costBuy *sharesies.CostBuyResponse) (*sharesies.ProfileResponse, error)
- func (_m *ExchangeClient) CostBuy(ctx context.Context, fundId string, amount float64) (*sharesies.CostBuyResponse, error)
- func (_m *ExchangeClient) CostSell(ctx context.Context, foundId string, shareAmount float64) (*sharesies.CostSellResponse, error)
- func (_m *ExchangeClient) Sell(ctx context.Context, sellBuy *sharesies.CostSellResponse) (*sharesies.ProfileResponse, error)
- type Scheduler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExchangeClient ¶
ExchangeClient is an autogenerated mock type for the ExchangeClient type
func (*ExchangeClient) Authenticate ¶
func (_m *ExchangeClient) Authenticate(ctx context.Context, creds *sharesies.Credentials) (*sharesies.ProfileResponse, error)
Authenticate provides a mock function with given fields: ctx, creds
func (*ExchangeClient) Buy ¶
func (_m *ExchangeClient) Buy(ctx context.Context, costBuy *sharesies.CostBuyResponse) (*sharesies.ProfileResponse, error)
Buy provides a mock function with given fields: ctx, costBuy
func (*ExchangeClient) CostBuy ¶
func (_m *ExchangeClient) CostBuy(ctx context.Context, fundId string, amount float64) (*sharesies.CostBuyResponse, error)
CostBuy provides a mock function with given fields: ctx, fundId, amount
func (*ExchangeClient) CostSell ¶
func (_m *ExchangeClient) CostSell(ctx context.Context, foundId string, shareAmount float64) (*sharesies.CostSellResponse, error)
CostSell provides a mock function with given fields: ctx, foundId, shareAmount
func (*ExchangeClient) Sell ¶
func (_m *ExchangeClient) Sell(ctx context.Context, sellBuy *sharesies.CostSellResponse) (*sharesies.ProfileResponse, error)
Sell provides a mock function with given fields: ctx, sellBuy
Click to show internal directories.
Click to hide internal directories.