Knocks/BackEnd/Knoks.Core/Entities/TickerData.cs

23 lines
795 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace Knoks.Core.Entities
{
public class TickerData
{
public int TickerId { get; set; }
public DateTime TickerTime { get; set; }
public char Interval { get; set; }// 'M' for minute interval
public int TickState { get; set; }//Some exchanges returns not working hours info
public decimal? Open { get; set; }//It would be wrong to save zero volume values as it could be last or first in interval
public decimal? High { get; set; }
public decimal? Close { get; set; }
public decimal? Low { get; set; }
public decimal Volume { get; set; }
public string ExchangeName { get; set; }
public string PairSymbol { get; set; }
}
}