Skip to end of metadata
Go to start of metadata

When we use the OpenXTablePortable<TKey, TRecord>() methods, the engine transforms all input TKey and TRecord data to anonymous (portable) data. The transformation logic can be either default (via the run-time generated expressions) or custom (via the provided implementations).

To explain the transformers logic lets consider an example with user data, where the key is of type long and the record is our well known type Tick:

 

public class Tick
{
    public string Symbol { get; set; }
    public DateTime Timestamp { get; set; }
    public double Bid { get; set; }
    public double Ask { get; set; }
    public int BidSize { get; set; }
    public int AskSize { get; set; }
    public string Provider { get; set; }
}

IData Tools    Go to Home    Custom Transformers

  • No labels