public void AddPrice(Price price, string symbol) { }
public static Price FromDto(PriceDto dto) { var price = new Price(); price.Id = dto.Id; price.AssetId = dto.AssetId; price.Date = dto.PriceDate; price.CloseDelta = dto.DeltaClosePrice; price.Direction2D = dto.PriceDirection2D; price.Direction3D = dto.PriceDirection3D; price.PriceGap = dto.PriceGap; price.PeakByClose = dto.PeakByCloseEvaluation; price.PeakByHigh = dto.PeakByHighEvaluation; price.TroughByClose = dto.TroughByCloseEvaluation; price.TroughByLow = dto.TroughByLowEvaluation; price.CloseRatio = dto.CloseRatio; price.ExtremumRatio = dto.ExtremumRatio; return price; }
public void UpdatePrice(Price price, string symbol) { }