public OhlcDataAdapter(OhlcResolutionContext adapterContext) { Ctx = adapterContext; _adapters.Add(_adapterMinute = new OhlcResolutionAdapter(new OhlcResolutionAdapterContext(Ctx) { TimeResolution = TimeResolution.Minute })); _adapters.Add(_adapterHour = new OhlcResolutionAdapter(new OhlcResolutionAdapterContext(Ctx) { TimeResolution = TimeResolution.Hour })); _adapters.Add(_adapterDay = new OhlcResolutionAdapter(new OhlcResolutionAdapterContext(Ctx) { TimeResolution = TimeResolution.Day })); }
public OhlcResolutionDataAdapterApi(OhlcResolutionAdapter adapter) { _adapter = adapter; Ctx = adapter.Ctx; L = new NullLogger(); }
public OhlcResolutionDataAdapterDb(OhlcResolutionAdapter adapter) { Ctx = adapter.Ctx; _adapter = adapter; }