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;
 }
Beispiel #2
0
 public ChartLastInfoRecord(string symbol, PERIOD_CODE period, long? start)
 {
     this.symbol = symbol;
     this.period = period;
     this.start = start;
 }
Beispiel #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);
 }
Beispiel #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());
 }