feat: macro series
This commit is contained in:
@@ -663,6 +663,10 @@ def series_history(
|
||||
ff_params: list = [series_id]
|
||||
if from_date:
|
||||
ff_where.append("event_date >= ?"); ff_params.append(from_date)
|
||||
# Filter to the series' native currency to avoid mixing countries
|
||||
ff_currency = meta.get("ff_currency")
|
||||
if ff_currency:
|
||||
ff_where.append("currency = ?"); ff_params.append(ff_currency)
|
||||
|
||||
ff_rows = conn.execute(
|
||||
f"SELECT event_date, event_time, event_name, actual_value, "
|
||||
|
||||
Reference in New Issue
Block a user