WLD DeepCoin 단계별 구조 재편 및 설정·문서 통합
로고스/루트 레거시를 제거하고 deepcoin 패키지·scripts 01~05 CLI·docs/reference로 데이터·GT·분석·매칭·운영 단계를 정리했다. config와 .env 기반 설정, trade_anaysis.html 동기화 포함. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
34
deepcoin/ops/monitor_coin.py
Normal file
34
deepcoin/ops/monitor_coin.py
Normal file
@@ -0,0 +1,34 @@
|
||||
"""
|
||||
WLD(월드코인) 실시간 모니터 — BB·일목 위치·추세 출력 (자동 매매 없음).
|
||||
"""
|
||||
|
||||
from datetime import datetime
|
||||
import time
|
||||
|
||||
from config import COIN_NAME, MONITOR_LOOP_SLEEP_SEC, SYMBOL
|
||||
from deepcoin.ops.monitor import Monitor
|
||||
|
||||
|
||||
class MonitorCoin(Monitor):
|
||||
"""WLD 시장 상태 주기 출력."""
|
||||
|
||||
def monitor_wld(self) -> None:
|
||||
"""전 봉 BB·일목·추세를 콘솔에 출력합니다."""
|
||||
print(
|
||||
"[{}] {} ({})".format(
|
||||
datetime.now().strftime("%Y-%m-%d %H:%M:%S"),
|
||||
COIN_NAME,
|
||||
SYMBOL,
|
||||
)
|
||||
)
|
||||
self.process_wld_market_status(SYMBOL)
|
||||
|
||||
def run_schedule(self) -> None:
|
||||
"""MONITOR_LOOP_SLEEP_SEC 간격으로 상태를 출력합니다."""
|
||||
while True:
|
||||
self.monitor_wld()
|
||||
time.sleep(MONITOR_LOOP_SLEEP_SEC)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
MonitorCoin(cooldown_file=None).run_schedule()
|
||||
Reference in New Issue
Block a user