Some checks failed
ci/woodpecker/push/woodpecker Pipeline was canceled
3 tables (kevin_signal_bridge_state, kevin_backtest_runs, kevin_backtest_trades) all UUID-keyed for consistency with Trade/Position. KEVIN_STRATEGY_UUID constant pinned for FK joins from Trade.strategy_id.
11 lines
414 B
Python
11 lines
414 B
Python
"""Constants shared across the Kevin strategy code.
|
|
|
|
KEVIN_STRATEGY_UUID is the fixed UUID for the seeded `strategies.kevin` row.
|
|
Pinning the UUID at code level lets the live bridge, backtest, API filters,
|
|
and dashboard all reference the same identity without a runtime lookup.
|
|
"""
|
|
|
|
import uuid
|
|
|
|
KEVIN_STRATEGY_UUID: uuid.UUID = uuid.UUID("4b8d1c2a-5e7f-4d3b-9a1c-6f8b2e4d7a90")
|
|
KEVIN_STRATEGY_NAME: str = "kevin"
|