Use Sina-only market K-lines and editable admin login synced to .env.
Market page uses Sina for quotes and bars with an auto-follow toggle and incremental chart updates while panning. Settings lets users change username and password, persisting to the database and .env. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+1
-1
@@ -137,7 +137,7 @@ class KlineStreamHub:
|
||||
sub.period,
|
||||
db_path,
|
||||
force_remote=True,
|
||||
trading_mode=get_mode_fn() if get_mode_fn else None,
|
||||
prefer_ctp=False,
|
||||
)
|
||||
if kline_data.get("bars"):
|
||||
self.publish(sub, "kline", kline_data)
|
||||
|
||||
Reference in New Issue
Block a user