MCPcopy Create free account
hub / github.com/NoFxAiOS/nofx / FetchMarketData

Method FetchMarketData

kernel/engine.go:933–935  ·  view source on GitHub ↗

============================================================================ External & Quant Data ============================================================================ FetchMarketData fetches market data based on strategy configuration

(symbol string)

Source from the content-addressed store, hash-verified

931
932// FetchMarketData fetches market data based on strategy configuration
933func (e *StrategyEngine) FetchMarketData(symbol string) (*market.Data, error) {
934 return market.Get(symbol)
935}
936
937// FetchExternalData fetches external data sources
938func (e *StrategyEngine) FetchExternalData() (map[string]interface{}, error) {

Callers

nothing calls this directly

Calls 1

GetFunction · 0.92

Tested by

no test coverage detected