mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-16 20:28:09 +00:00
Issue #23: Added empty constructor to class MqlRates, made public setters of properties
This commit is contained in:
+12
-11
@@ -1,7 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace MtApi5
|
namespace MtApi5
|
||||||
{
|
{
|
||||||
@@ -19,13 +16,17 @@ namespace MtApi5
|
|||||||
this.real_volume = real_volume;
|
this.real_volume = real_volume;
|
||||||
}
|
}
|
||||||
|
|
||||||
public DateTime time { get; private set; } // Period start time
|
public MqlRates()
|
||||||
public double open { get; private set; } // Open price
|
{
|
||||||
public double high { get; private set; } // The highest price of the period
|
}
|
||||||
public double low { get; private set; } // The lowest price of the period
|
|
||||||
public double close { get; private set; } // Close price
|
public DateTime time { get; set; } // Period start time
|
||||||
public long tick_volume { get; private set; } // Tick volume
|
public double open { get; set; } // Open price
|
||||||
public int spread { get; private set; } // Spread
|
public double high { get; set; } // The highest price of the period
|
||||||
public long real_volume { get; private set; } // Trade volume
|
public double low { get; set; } // The lowest price of the period
|
||||||
|
public double close { get; set; } // Close price
|
||||||
|
public long tick_volume { get; set; } // Tick volume
|
||||||
|
public int spread { get; set; } // Spread
|
||||||
|
public long real_volume { get; set; } // Trade volume
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user