File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed
Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 77
88namespace MTsocketAPI . MT4
99{
10- public class Asset
10+ public class Asset
1111 {
1212 //public string MSG { get; set; }
1313 public string NAME { get ; set ; }
@@ -39,7 +39,9 @@ public class Asset
3939 public string CURRENCY_MARGIN { get ; set ; }
4040 public string DESCRIPTION { get ; set ; }
4141 public string PATH { get ; set ; }
42- public override string ToString ( )
42+ public List < Dictionary < string , string > > SESSION_QUOTE { get ; set ; }
43+ public List < Dictionary < string , string > > SESSION_TRADE { get ; set ; }
44+ public override string ToString ( )
4345 {
4446 return JsonConvert . SerializeObject ( this ) ;
4547 }
Original file line number Diff line number Diff line change 11using Newtonsoft . Json ;
22using System ;
33using System . Collections . Generic ;
4+ using System . ComponentModel . DataAnnotations ;
45using System . Linq ;
56using System . Text ;
67using System . Threading . Tasks ;
@@ -33,4 +34,18 @@ public override string ToString()
3334 return JsonConvert . SerializeObject ( this ) ;
3435 }
3536 }
37+
38+ public class OHLC_Req
39+ {
40+ //public string MSG { get; set; }
41+ [ Required ]
42+ public string SYMBOL { get ; set ; }
43+ [ Required ]
44+ public string TIMEFRAME { get ; set ; }
45+ public int ? DEPTH { get ; set ; }
46+ public override string ToString ( )
47+ {
48+ return JsonConvert . SerializeObject ( this ) ;
49+ }
50+ }
3651}
You can’t perform that action at this time.
0 commit comments