repo hygiene: track the PINK launcher import closure
67 production .py modules that the running PINK service imports but which were never committed: prod/bingx/ (HTTP client, market/user streams, journal, config), prod/clean_arch/ adapters/persistence/runtime/dita/dita_v2 production modules and their co-located tests. Rule going forward: every module imported by launch_dolphin_pink.py / pink_direct.py must appear in git ls-files. Excludes _backup dirs, __pycache__, and non-code files. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
22
prod/bingx/enums.py
Normal file
22
prod/bingx/enums.py
Normal file
@@ -0,0 +1,22 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from enum import Enum
|
||||
|
||||
from nautilus_trader.model.identifiers import Venue
|
||||
|
||||
|
||||
BINGX_VENUE = Venue("BINGX")
|
||||
PINK_DEFAULT_ENV = None # resolved later
|
||||
|
||||
|
||||
class BingxEnvironment(str, Enum):
|
||||
LIVE = "prod-live"
|
||||
VST = "prod-vst"
|
||||
|
||||
@property
|
||||
def is_vst(self) -> bool:
|
||||
return self is BingxEnvironment.VST
|
||||
|
||||
|
||||
# Deferred assignment after enum definition
|
||||
PINK_DEFAULT_ENV = BingxEnvironment.VST
|
||||
Reference in New Issue
Block a user