Show trade record prices at exchange tick precision.

API enriches entry/SL/TP with price_to_precision display strings; OKX formatter now uses the same path as Gate/Binance.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-18 15:41:49 +08:00
parent 0a14fe73c1
commit faf21da955
7 changed files with 84 additions and 5 deletions
+1
View File
@@ -9530,6 +9530,7 @@ register_trade_records_api(
to_effective_trade_dict=to_effective_trade_dict,
filter_trade_records_excluding_miss=filter_trade_records_excluding_miss,
app_tz=APP_TZ,
format_price_fn=format_price_for_symbol,
)
def _dashboard_enrich_orders(items):