diff --git a/crypto/brian/index.py b/crypto/brian/index.py index 18b1e10..397e46e 100644 --- a/crypto/brian/index.py +++ b/crypto/brian/index.py @@ -4,6 +4,7 @@ import asyncio if sys.platform == 'win32': asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy()) +from dotenv import load_dotenv import os import time import ccxt.async_support as ccxt @@ -304,4 +305,5 @@ async def main_backtest(): await exchange.close() if __name__ == "__main__": + load_dotenv() asyncio.run(main_backtest()) \ No newline at end of file