MCPcopy
hub / github.com/thrasher-corp/gocryptotrader / GetCachedTicker

Method GetCachedTicker

exchanges/interfaces.go:45–45  ·  view source on GitHub ↗
(p currency.Pair, a asset.Item)

Source from the content-addressed store, hash-verified

43 GetSupportedFeatures() FeaturesSupported
44 GetTradingRequirements() protocol.TradingRequirements
45 GetCachedTicker(p currency.Pair, a asset.Item) (*ticker.Price, error)
46 UpdateTicker(ctx context.Context, p currency.Pair, a asset.Item) (*ticker.Price, error)
47 UpdateTickers(ctx context.Context, a asset.Item) error
48 GetCachedOrderbook(p currency.Pair, a asset.Item) (*orderbook.Book, error)

Callers 8

wsProcessPublicTickerMethod · 0.65
TestUpdateTickersFunction · 0.65
GetAllActiveTickersMethod · 0.65
syncTickerMethod · 0.65
GetTickerMethod · 0.65
GetCollateralMethod · 0.65
testWrappersFunction · 0.65

Calls

no outgoing calls

Tested by 1

TestUpdateTickersFunction · 0.52