21 lines
657 B
Python
21 lines
657 B
Python
import sys, os
|
|
sys.path.append(os.path.dirname(os.path.abspath(__file__)) + '/..')
|
|
from kis_trader.utils.env import get_env_bool, get_env_from_db
|
|
|
|
keys = [
|
|
"LS_CONDITION_HISTORY_ENABLED",
|
|
"LS_WS_FOLLOW_CONDITION_UNIVERSE",
|
|
"UNIVERSE_HISTORY_SAVE",
|
|
"BACKTEST_UNIVERSE_HISTORY_SOURCE",
|
|
"LIVE_UNIVERSE_HISTORY_SOURCE",
|
|
"MOMENTUM_LIVE_UNIVERSE_HISTORY_SOURCE",
|
|
"BREAKOUT_LIVE_UNIVERSE_HISTORY_SOURCE",
|
|
"SCALP_LIVE_UNIVERSE_HISTORY_SOURCE",
|
|
"SHORT_LIVE_UNIVERSE_HISTORY_SOURCE",
|
|
"UNIVERSE_SOURCE",
|
|
]
|
|
print("[LS 조건검색 관련 ENV 값]")
|
|
for k in keys:
|
|
val = get_env_from_db(k, None)
|
|
print(f" {k} = {val!r}")
|