Live Trading
Runtime Statistics
Runtime Statistics
Runtime statistics are custom defined banner statistics displayed across the top of your live algorithm.

You can add your own runtime statistics using the SetRuntimeStatistic(string name, string value);
method. In the image above, the user displays the current value of BTC: SetRuntimeStatistic("BTC", data["BTC"].Close);
// User displays the current value of BTC SetRuntimeStatistic("BTC", data["BTC"].Close);
# User displays the current value of BTC btc = self.Securities["BTC"].Symbol self.SetRuntimeStatistic("BTC", data[btc].Close)