Skip to content

Commit

Permalink
cleaned up dependencies, python 3.13 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Al4ise committed Dec 9, 2024
1 parent 78cef9a commit 7f52f76
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 48 deletions.
4 changes: 1 addition & 3 deletions lumibot/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
42 changes: 15 additions & 27 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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
20 changes: 2 additions & 18 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=[
Expand Down

0 comments on commit 7f52f76

Please sign in to comment.