Пример #1
0
 public ChartRangeInfoRecord(string symbol, PERIOD_CODE period, long? start, long? end, long? ticks)
 {
     this.symbol = symbol;
     this.period = period;
     this.start = start;
     this.end = end;
     this.ticks = ticks;
 }
Пример #2
0
 public ChartLastInfoRecord(string symbol, PERIOD_CODE period, long? start)
 {
     this.symbol = symbol;
     this.period = period;
     this.start = start;
 }
Пример #3
0
 public static ChartLastCommand createChartLastCommand(string symbol, PERIOD_CODE period, long? start, bool prettyPrint)
 {
     JSONObject args = new JSONObject();
     args.Add("info", (new ChartLastInfoRecord(symbol, period, start)).toJSONObject());
     return new ChartLastCommand(args, prettyPrint);
 }
Пример #4
0
 public static ChartRangeResponse executeChartRangeCommand(SyncAPIConnector connector, string symbol, PERIOD_CODE period, long? start, long? end, long? ticks, bool prettyPrint)
 {
     return new ChartRangeResponse(connector.executeCommand(createChartRangeCommand(symbol, period, start, end, ticks, prettyPrint)).ToString());
 }