You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a stock price model, with multiple field-value, like this:
public class IndexSeries
{
public int IndexId {get;set;}
public long TradingDate {get;set;} //Unix Epoch milliseconds
public decimal OpenIndex { get; set; }
public decimal CloseIndex { get; set; }
public decimal HighestIndex { get; set; }
public decimal LowestIndex { get; set; }
public long TotalMatchVolume { get; set; }
public long MatchValue { get; set; }
public long MatchVolume { get; set; }
...
}
Data is received with high frequency (at least one second), and I want to use RedisTimeSeries to store/retrieve. How can I do this?
The text was updated successfully, but these errors were encountered:
Each time series in RedisTimeSeries can store a single metric. However, you can create multiple time series, each with a different metric.
Hence, in your example, for each stock - you should create 7 time series.
You can also set series metadata for each series (e.g., stock = 1234, datatype = openIndex). You can then aggregate over multiple time series (e.g., over all time series with datatype = openIndex).
I have a stock price model, with multiple field-value, like this:
Data is received with high frequency (at least one second), and I want to use RedisTimeSeries to store/retrieve. How can I do this?
The text was updated successfully, but these errors were encountered: