We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6df2530 commit 352f48dCopy full SHA for 352f48d
src/configs/universe.yaml
@@ -0,0 +1,10 @@
1
+universe:
2
+ exchanges: ["okx"]
3
+ # Use canonical_symbol or exchange_symbol based on planner logic.
4
+ symbols:
5
+ okx:
6
+ - "BTC-USDT-SWAP"
7
+ - "ETH-USDT-SWAP"
8
+ # candles timeframes
9
+ timeframes: ["1m", "5m"]
10
+ endpoints: ["candles", "funding", "open_interest"]
src/orchestrator/planner.py
@@ -31,6 +31,8 @@ class UniverseRow:
31
32
33
def _load_yaml(path: Path) -> dict:
34
+ if not path.exists():
35
+ return {}
36
with path.open("r", encoding="utf-8") as f:
37
return yaml.safe_load(f) or {}
38
0 commit comments