diff --git a/lumibot/credentials.py b/lumibot/credentials.py index 1393940e7..9aba555b3 100644 --- a/lumibot/credentials.py +++ b/lumibot/credentials.py @@ -148,9 +148,7 @@ def find_and_load_dotenv(base_dir) -> bool: # Add ALPACA_API_KEY, ALPACA_API_SECRET, and ALPACA_IS_PAPER to your .env file or set them as secrets "API_KEY": os.environ.get("ALPACA_API_KEY"), "API_SECRET": os.environ.get("ALPACA_API_SECRET"), - "PAPER": os.environ.get("ALPACA_IS_PAPER").lower() == "true" - if os.environ.get("ALPACA_IS_PAPER") - else True, + "PAPER": os.environ.get("ALPACA_IS_PAPER").lower() == "true" if os.environ.get("ALPACA_IS_PAPER") else True, } # Tradier Configuration diff --git a/requirements.txt b/requirements.txt index 53466ec6d..51034b9e3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,40 +1,28 @@ -polygon-api-client +polygon-api-client>=1.13.3 +alpaca-py>=0.28.1 alpha_vantage ibapi==9.81.1.post1 -yfinance +yfinance>=0.2.46 matplotlib>=3.3.3 -quandl -pandas>=2.0.0 -pandas_datareader +numpy>=1.20.0 +pandas>=2.2.0 pandas_market_calendars>=4.3.1 -plotly -flask>=2.2.2 -flask-socketio -flask-sqlalchemy -flask-marshmallow -flask-security -marshmallow-sqlalchemy -email_validator -bcrypt +plotly>=5.18.0 +sqlalchemy pytest scipy>=1.13.0 -ipython # required for quantstats, but not in their dependency list for some reason -quantstats-lumi -python-dotenv # Secret Storage -ccxt==4.2.85 +quantstats-lumi>=0.3.3 +python-dotenv +ccxt>=4.3.74 termcolor jsonpickle -apscheduler -alpaca-py +apscheduler==3.10.4 appdirs -pyarrow tqdm +lumiwealth-tradier>=0.1.14 pytz -lumiwealth-tradier -tabulate +exchange_calendars duckdb -uuid -numpy +tabulate thetadata -holidays==0.53 -websocket-client +psutil \ No newline at end of file diff --git a/setup.py b/setup.py index e856c17c1..840bae035 100644 --- a/setup.py +++ b/setup.py @@ -20,43 +20,27 @@ "ibapi==9.81.1.post1", "yfinance>=0.2.46", "matplotlib>=3.3.3", - "quandl", "numpy>=1.20.0", "pandas>=2.2.0", - "pandas_datareader", "pandas_market_calendars>=4.3.1", "plotly>=5.18.0", - "flask>=2.2.2", "sqlalchemy", - "flask-socketio", - "flask-sqlalchemy", - "flask-marshmallow", - "flask-security", - "marshmallow-sqlalchemy", - "email_validator", - "bcrypt", "pytest", "scipy>=1.13.0", - "ipython", # required for quantstats, but not in their dependency list for some reason "quantstats-lumi>=0.3.3", - "python-dotenv", # Secret Storage + "python-dotenv", "ccxt>=4.3.74", "termcolor", "jsonpickle", "apscheduler==3.10.4", "appdirs", - "pyarrow", "tqdm", "lumiwealth-tradier>=0.1.14", "pytz", - "psycopg2-binary", - "exchange_calendars>=4.5.2", + "exchange_calendars", "duckdb", - "uuid", "tabulate", "thetadata", - "holidays", - "websocket-client", "psutil", ], classifiers=[