protected override Task <T[]?> GetImpl <T>(TimeFrame timeFrame, string symbol, DateTime start, DateTime endExclusive, HistoricalDataQueryParameters retrieveOptions)
 => ClusterClient.GetGrain <HistoricalDataChunkGrain>(
     HistoricalDataChunkGrainKey.GetKey(timeFrame, symbol, start, endExclusive, retrieveOptions.Exchange, retrieveOptions.ExchangeArea, typeof(Binance.BinanceFuturesKlineItem))
     )
 .Get <T>(retrieveOptions.Options);
Exemplo n.º 2
0
    public override Task OnActivateAsync()
    {
        DataKey = HistoricalDataChunkGrainKey.Parse(this.GetPrimaryKeyString());

        return(base.OnActivateAsync());
    }