fix(auto): trim market status message for ui
This commit is contained in:
@@ -59,7 +59,7 @@ class AutoExecutionQualityMixin:
|
|||||||
|
|
||||||
state.market_is_open = status.is_open
|
state.market_is_open = status.is_open
|
||||||
state.market_status = status.code.value
|
state.market_status = status.code.value
|
||||||
state.market_status_message = status.ui_line
|
state.market_status_message = str(status.ui_line or "").strip()
|
||||||
state.market_status_updated_at = time.monotonic()
|
state.market_status_updated_at = time.monotonic()
|
||||||
|
|
||||||
if status.is_open:
|
if status.is_open:
|
||||||
|
|||||||
Reference in New Issue
Block a user