feat: 엔트리포인트 및 로깅 설정 완료, 테스트 mock 개선

Made-with: Cursor
This commit is contained in:
21in7
2026-03-01 12:54:21 +09:00
parent 726e9cfd65
commit a90618896d
3 changed files with 54 additions and 11 deletions

18
main.py Normal file
View File

@@ -0,0 +1,18 @@
import asyncio
from dotenv import load_dotenv
from src.config import Config
from src.bot import TradingBot
from src.logger_setup import setup_logger
load_dotenv()
async def main():
setup_logger(log_level="INFO")
config = Config()
bot = TradingBot(config)
await bot.run()
if __name__ == "__main__":
asyncio.run(main())