コード例 #1
0
ファイル: SimulationService.cs プロジェクト: mielk/waluty
 public void AddAdx(Adx adx, string symbol)
 {
 }
コード例 #2
0
ファイル: Adx.cs プロジェクト: mielk/waluty
        public static Adx FromDto(AdxDto dto)
        {
            var adx = new Adx();
            adx.Id = dto.Id;
            adx.AssetId = dto.AssetId;
            adx.Date = dto.PriceDate;
            adx.Tr = dto.Tr;
            adx.Dm1Pos = dto.Dm1Pos;
            adx.Dm1Neg = dto.Dm1Neg;
            adx.Tr14 = dto.Tr14;
            adx.Dm14Pos = dto.Dm14Pos;
            adx.Dm14Neg = dto.Dm14Neg;
            adx.Di14Pos = dto.Di14Pos;
            adx.Di14Neg = dto.Di14Neg;
            adx.Di14Diff = dto.Di14Diff;
            adx.Di14Sum = dto.Di14Sum;
            adx.Dx = dto.Dx;
            adx.AdxValue = dto.Adx;
            adx.DaysUnder20 = dto.DaysUnder20;
            adx.DaysUnder15 = dto.DaysUnder15;
            adx.Cross20 = dto.Cross20;
            adx.DeltaDiPos = dto.DeltaDiPos;
            adx.DeltaDiNeg = dto.DeltaDiNeg;
            adx.DeltaAdx = dto.DeltaAdx;
            adx.DiPosDirection3D = dto.DiPosDirection3D;
            adx.DiPosDirection2D = dto.DiPosDirection2D;
            adx.DiNegDirection3D = dto.DiNegDirection3D;
            adx.DiNegDirection2D = dto.DiNegDirection2D;
            adx.AdxDirection3D = dto.AdxDirection3D;
            adx.AdxDirection2D = dto.AdxDirection2D;
            adx.DiPosDirectionChanged = dto.DiPosDirectionChanged;
            adx.DiNegDirectionChanged = dto.DiNegDirectionChanged;
            adx.AdxDirectionChanged = dto.AdxDirectionChanged;
            adx.DiDifference = dto.DiDifference;
            adx.DiLinesCrossing = dto.DiLinesCrossing;

            return adx;
        }
コード例 #3
0
ファイル: SimulationService.cs プロジェクト: mielk/waluty
 public void UpdateAdx(Adx adx, string symbol)
 {
 }