We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5704930 commit 9323cbdCopy full SHA for 9323cbd
1 file changed
torq.q
@@ -59,7 +59,8 @@ stdoptionusage:@[value;`stdoptionusage;"Standard options:
59
[-localtime]:\t\t\tuse local time instead of GMT
60
[-usage]:\t\t\tprint usage info
61
[-test]:\t\t\tset to run unit tests
62
- [-jsonlogs]:\t\t\toutput logs in json format"]
+ [-jsonlogs]:\t\t\toutput logs in json format"
63
+ [-backtest]:\t\t\tset to run backtest mode]
64
65
// extra info - used to extend the usage info
66
extrausage:@[value;`extrausage;""]
@@ -711,3 +712,8 @@ if[(`test in key .proc.params);
711
712
.lg.e[`init;"environment variable KDBTESTS undefined"]
713
]
714
];
715
+
716
+// Overwrite pub/sub channels when in backtest mode
717
+if[`backtest in key .proc.params;
718
+ .backtest.init[];
719
+ ];
0 commit comments