Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPIClient ¶
type MockAPIClient struct{}
MockAPIClient is a no-op API client.
func (*MockAPIClient) GetMultiBars ¶ added in v4.1.16
func (mac *MockAPIClient) GetMultiBars(symbols []string, opts api.GetBarsParams) (map[string][]api.Bar, error)
GetMultiBars returns an empty api response.
func (*MockAPIClient) GetSnapshots ¶
GetSnapshots returns an empty response.
func (*MockAPIClient) ListAssets ¶
func (mac *MockAPIClient) ListAssets(status *string) ([]v1.Asset, error)
ListAssets returns an empty api response.
type MockMarketStoreWriter ¶
type MockMarketStoreWriter struct { WrittenCSM io.ColumnSeriesMap Err error }
MockMarketStoreWriter is a no-op MarketStoreWriter.
func (*MockMarketStoreWriter) Write ¶
func (m *MockMarketStoreWriter) Write(csm io.ColumnSeriesMap) error
Write stores the argument to the struct and does nothing else.
type MockSymbolsManager ¶
type MockSymbolsManager struct {
Symbols []string
}
MockSymbolsManager is a no-op SymbolsManager.
func (MockSymbolsManager) GetAllSymbols ¶
func (msm MockSymbolsManager) GetAllSymbols() []string
GetAllSymbols returns the static symbols.
func (MockSymbolsManager) UpdateSymbols ¶ added in v4.1.16
func (msm MockSymbolsManager) UpdateSymbols()
UpdateSymbols does nothing.
type MockTimeChecker ¶
type MockTimeChecker struct{}
MockTimeChecker always returns Open.
Click to show internal directories.
Click to hide internal directories.