资源加载中... loading...

EnableLog

Turn on or off logging of order information.

EnableLog(enable)

If the enable parameter is set to a false value, e.g. false, the order log (i.e. the log generated by functions like exchange.Buy()) is not printed and is not written to the database of the live trading. enable true bool

function main() {
    EnableLog(false)
}
def main():
    EnableLog(False)
void main() {
    EnableLog(false);
}

{@fun/Trade/exchange.Buy exchange.Buy}, {@fun/Trade/exchange.Sell exchange.Sell}, {@fun/Trade/exchange.CancelOrder exchange.CancelOrder}

LogStatus Chart