diff --git a/iguana/exchanges/LP_stats.c b/iguana/exchanges/LP_stats.c index 4478b00ba..8ef41afb7 100644 --- a/iguana/exchanges/LP_stats.c +++ b/iguana/exchanges/LP_stats.c @@ -523,6 +523,7 @@ cJSON *LP_ohlc_json(struct LP_ohlc *bar,struct LP_ohlc *prevbar) if ( bar->numtrades == 0 ) { tmp = *prevbar; + tmp.timestamp = bar->timestamp; tmp.numtrades = 0; tmp.relsum = tmp.basesum = 0.; } else tmp = *bar;