public static ChartRangeResponse executeChartRangeCommand(SyncAPIConnector connector, ChartRangeInfoRecord info, bool prettyPrint) { return new ChartRangeResponse(connector.executeCommand(createChartRangeCommand(info, prettyPrint)).ToString()); }
public static ChartRangeCommand createChartRangeCommand(ChartRangeInfoRecord info, bool prettyPrint) { JSONObject args = new JSONObject(); args.Add("info", info.toJSONObject()); return new ChartRangeCommand(args, prettyPrint); }