10 lines
371 B
Python
10 lines
371 B
Python
|
|
import asyncio, sys, os
|
||
|
|
sys.path.insert(0, '.')
|
||
|
|
from app.main import load_env; load_env()
|
||
|
|
from app.monitor.notifier import send
|
||
|
|
mode = os.getenv('KIS_MOCK', 'true')
|
||
|
|
dry = os.getenv('DRY_RUN', 'true')
|
||
|
|
label = '[모의투자]' if mode == 'true' else '[실거래]'
|
||
|
|
asyncio.run(send(f'{label} 자동매매 봇 시작 (DRY_RUN={dry})'))
|
||
|
|
print('Discord 알림 전송 완료')
|