mirror of
https://github.com/QuantEngines/fx_quant_engine.git
synced 2026-07-29 03:17:46 +00:00
Initial commit: fx_quant_engine and options_quant_engine scaffold
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
from pathlib import Path
|
||||
|
||||
from options_quant_engine.utils.config import load_all_configs
|
||||
|
||||
|
||||
def test_load_all_configs() -> None:
|
||||
root = Path(__file__).resolve().parents[1]
|
||||
cfg = load_all_configs(root / "config")
|
||||
assert "universe" in cfg
|
||||
assert "data_sources" in cfg
|
||||
assert cfg["data_sources"]["enabled_sources"]["nse"] is True
|
||||
Reference in New Issue
Block a user