обновление расписания торгов
parent
89f4ec6126
commit
3a865a117a
|
@ -4,17 +4,16 @@ namespace KLHZ.Trader.Core.Exchange.Utils
|
||||||
{
|
{
|
||||||
internal static class ExchangeScheduler
|
internal static class ExchangeScheduler
|
||||||
{
|
{
|
||||||
private readonly static TimeOnly _openTimeMain = new(6, 10);
|
private readonly static TimeOnly _openTimeMain = new(6, 15);
|
||||||
private readonly static TimeOnly _closeTimeMain = new(20, 45);
|
private readonly static TimeOnly _closeTimeMain = new(20, 00);
|
||||||
|
|
||||||
private readonly static TimeOnly _openTimeHoliday = new(7, 10);
|
private readonly static TimeOnly _openTimeHoliday = new(7, 10);
|
||||||
private readonly static TimeOnly _closeTimeHoliday = new(17, 45);
|
private readonly static TimeOnly _closeTimeHoliday = new(17, 45);
|
||||||
|
|
||||||
private readonly static TimeOnly _firstClearingStart = new(10, 45);
|
private readonly static TimeOnly _firstClearingStart = new(10, 40);
|
||||||
private readonly static TimeOnly _firstClearingEnd = new(11, 10);
|
private readonly static TimeOnly _firstClearingEnd = new(11, 20);
|
||||||
|
|
||||||
private readonly static TimeOnly _mainClearingStart = new(15, 45);
|
private readonly static TimeOnly _mainClearingStart = new(15, 40);
|
||||||
private readonly static TimeOnly _mainClearingEnd = new(16, 10);
|
private readonly static TimeOnly _mainClearingEnd = new(16, 20);
|
||||||
|
|
||||||
internal static ExchangeState GetCurrentState(DateTime? currentDt = null)
|
internal static ExchangeState GetCurrentState(DateTime? currentDt = null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue