From 5329e77eb923d7dc49d6bfee2bd6d840e7eacad7 Mon Sep 17 00:00:00 2001 From: kuds Date: Sat, 25 Jan 2025 12:52:26 -0600 Subject: [PATCH 01/10] Update pyproject.toml Add Python Version 3.11 to pyproject.toml --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index ac963aa8e..afa3c61d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,6 +17,7 @@ classifiers=[ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] From eeb4f42d92da471657322826fdc475a063e8b50c Mon Sep 17 00:00:00 2001 From: kuds Date: Sat, 25 Jan 2025 12:55:59 -0600 Subject: [PATCH 02/10] Update setup.py Add python version 3.11 to the supported list --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 47d25ec09..496310263 100644 --- a/setup.py +++ b/setup.py @@ -40,6 +40,7 @@ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ], From 11655b6a1885c10dc50d09f44ed4acc489122a53 Mon Sep 17 00:00:00 2001 From: kuds Date: Sat, 25 Jan 2025 13:03:27 -0600 Subject: [PATCH 03/10] Update pyproject.toml Update project dependencies to use up to python 3.11 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index afa3c61d7..3cd56446a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ keywords=["Reinforcement Learning", "Finance"] github = "https://github.com/finrl/finrl-library" [tool.poetry.dependencies] -python = "~3.10" +python = "~3.11" elegantrl = {git="https://github.com/AI4Finance-Foundation/ElegantRL.git#egg=elegantrl"} alpaca-trade-api = "^3" ccxt = "^3" From 950bd3b414df0cebd51c3e34d603c28800069b5a Mon Sep 17 00:00:00 2001 From: kuds Date: Sat, 25 Jan 2025 13:54:40 -0600 Subject: [PATCH 04/10] Update requirements.txt Add new libraries to requirements.txt --- requirements.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 11bbba0ec..117e9daeb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ alpaca_trade_api>=2.1.0 +alpaca-py ccxt>=1.66.32 # make sure that >=1.66.32 elegantrl exchange_calendars==3.6.3 # because raise exception with 4.1.1, success tested with 3.6.3 @@ -35,7 +36,8 @@ setuptools>=65.5.0 sphinx sphinx_rtd_theme - +selenium +webdriver-manager SQLAlchemy stable-baselines3[extra] stockstats>=0.4.0 From bd8f132bc21af823158cffddfe8b377c348ec41e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 25 Jan 2025 19:54:50 +0000 Subject: [PATCH 05/10] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- requirements.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index 117e9daeb..40b7027a0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ -alpaca_trade_api>=2.1.0 alpaca-py +alpaca_trade_api>=2.1.0 ccxt>=1.66.32 # make sure that >=1.66.32 elegantrl exchange_calendars==3.6.3 # because raise exception with 4.1.1, success tested with 3.6.3 @@ -28,6 +28,8 @@ recommonmark # Model Building Requirements scikit-learn>=0.21.0 +selenium + # packaging #setuptools>=41.4.0 setuptools>=65.5.0 @@ -35,15 +37,13 @@ setuptools>=65.5.0 # to build docs using sphinx sphinx sphinx_rtd_theme - -selenium -webdriver-manager SQLAlchemy stable-baselines3[extra] stockstats>=0.4.0 swig tensorboardX +webdriver-manager wheel>=0.33.6 wrds From 2494183422bb47e2bc6c76956913ba9d2730bd41 Mon Sep 17 00:00:00 2001 From: kuds Date: Sat, 25 Jan 2025 14:14:45 -0600 Subject: [PATCH 06/10] Update pyproject.toml --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 3cd56446a..09f37395c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,6 +40,10 @@ stable-baselines3 = {version = ">=2.0.0a5", extras = ["extra"]} stockstats = "^0.5" wrds = "^3" yfinance = "^0.2" +alpaca-py = "^0.37" +webdriver-manager = "^4" +selenium = "^4" + [tool.poetry.group.dev.dependencies] black = "^24" From 5470a42aae0ab8b0b9ff7f23343bbc829ca932d2 Mon Sep 17 00:00:00 2001 From: kuds Date: Sat, 25 Jan 2025 14:18:44 -0600 Subject: [PATCH 07/10] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 09f37395c..bda370932 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,7 @@ stable-baselines3 = {version = ">=2.0.0a5", extras = ["extra"]} stockstats = "^0.5" wrds = "^3" yfinance = "^0.2" -alpaca-py = "^0.37" +alpaca-py = ">=0.37" webdriver-manager = "^4" selenium = "^4" From 4bcfd54118a077e33728831f8c461f26dfe200f4 Mon Sep 17 00:00:00 2001 From: kuds Date: Sat, 25 Jan 2025 14:20:28 -0600 Subject: [PATCH 08/10] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index bda370932..09f37395c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,7 @@ stable-baselines3 = {version = ">=2.0.0a5", extras = ["extra"]} stockstats = "^0.5" wrds = "^3" yfinance = "^0.2" -alpaca-py = ">=0.37" +alpaca-py = "^0.37" webdriver-manager = "^4" selenium = "^4" From e4e748ab5c7d088dd1c7401dbec0b4e239aa8416 Mon Sep 17 00:00:00 2001 From: kuds Date: Sat, 25 Jan 2025 14:26:10 -0600 Subject: [PATCH 09/10] Update pyproject.toml Removing alpaca-trading-api due it being removed/no longer used --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 09f37395c..9c7567c78 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,6 @@ github = "https://github.com/finrl/finrl-library" [tool.poetry.dependencies] python = "~3.11" elegantrl = {git="https://github.com/AI4Finance-Foundation/ElegantRL.git#egg=elegantrl"} -alpaca-trade-api = "^3" ccxt = "^3" exchange-calendars = "^4" jqdatasdk = "^1" From f6e4bd884912208d010261d578db7b972f485fd9 Mon Sep 17 00:00:00 2001 From: kuds Date: Sat, 25 Jan 2025 14:40:02 -0600 Subject: [PATCH 10/10] Update pyproject.toml --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 9c7567c78..09f37395c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,6 +28,7 @@ github = "https://github.com/finrl/finrl-library" [tool.poetry.dependencies] python = "~3.11" elegantrl = {git="https://github.com/AI4Finance-Foundation/ElegantRL.git#egg=elegantrl"} +alpaca-trade-api = "^3" ccxt = "^3" exchange-calendars = "^4" jqdatasdk = "^1"