hyperdrive 2.1.0__tar.gz → 2.1.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/.github/workflows/pr.yml +84 -17
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/.github/workflows/release.yml +37 -17
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/PKG-INFO +4 -2
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/hyperdrive/_version.py +2 -2
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/pyproject.toml +10 -1
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/uv.lock +5 -1
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/.github/dependabot.yml +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/.github/workflows/api.yml +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/.github/workflows/dividends.yml +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/.github/workflows/indicators.yml +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/.github/workflows/indices.yml +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/.github/workflows/integration.yml +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/.github/workflows/intraday.yml +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/.github/workflows/keepalive.yml +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/.github/workflows/model.yml +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/.github/workflows/ohlc.yml +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/.github/workflows/optimize.yml +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/.github/workflows/predict.yml +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/.github/workflows/splits.yml +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/.github/workflows/spreadsheet.yml +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/.github/workflows/test.yml +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/.github/workflows/unrate.yml +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/.github/workflows/visualize.yml +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/.gitignore +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/.python-version +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/AGENTS.md +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/CLAUDE.md +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/LICENSE +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/Makefile +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/README.md +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/assets/qr_bnb.png +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/assets/qr_btc.png +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/assets/qr_eth.png +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/assets/qr_xmr.png +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/docs/internal/stocktwits.md +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/docs/internal/testing.md +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/encrypted/create_model.py.encrypted +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/encrypted/generate_preview.py.encrypted +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/encrypted/optimize_portfolio.py.encrypted +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/encrypted/predict_signal.py.encrypted +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/hyperdrive/Algotrader.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/hyperdrive/Broker.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/hyperdrive/Calculus.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/hyperdrive/Constants.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/hyperdrive/Crypt.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/hyperdrive/DataSource.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/hyperdrive/Exchange.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/hyperdrive/FileOps.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/hyperdrive/History.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/hyperdrive/Precognition.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/hyperdrive/Staking.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/hyperdrive/Storage.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/hyperdrive/TimeMachine.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/hyperdrive/Transformer.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/hyperdrive/Utils.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/hyperdrive/Workflow.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/hyperdrive/__init__.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/check_dist.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/delete_data_dir.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/delete_dir.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/dune_validator_rewards.sql +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/execute_order.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/login.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/qr.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/sleep.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/update_api.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/update_dividends.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/update_hist_dividends.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/update_hist_intraday.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/update_hist_ohlc.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/update_hist_splits.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/update_indicators.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/update_indices.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/update_intraday.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/update_ndx_api.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/update_ohlc.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/update_repo.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/update_splits.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/update_spreadsheet.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/update_symbols.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/update_unrate.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/upload_data.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/scripts/visualize.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/tests/integration/test_broker_live.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/tests/integration/test_datasource_live.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/tests/integration/test_exchange_live.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/tests/integration/test_storage_live.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/tests/smoke.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/tests/unit/conftest.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/tests/unit/test_Algotrader.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/tests/unit/test_Broker.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/tests/unit/test_Calculus.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/tests/unit/test_Constants.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/tests/unit/test_Crypt.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/tests/unit/test_DataSource.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/tests/unit/test_Exchange.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/tests/unit/test_FileOps.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/tests/unit/test_History.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/tests/unit/test_Precognition.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/tests/unit/test_Scripts.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/tests/unit/test_Staking.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/tests/unit/test_Storage.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/tests/unit/test_TimeMachine.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/tests/unit/test_Transformer.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/tests/unit/test_Utils.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/tests/unit/test_Workflow.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/util/decrypt.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/util/encrypt.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/util/get_loc.sh +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/util/git_cleanup.sh +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/util/install_ta_lib.sh +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/util/keepalive.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/util/process.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/util/pypi.py +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/util/pypi_cleanup.sh +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/util/sync.sh +0 -0
- {hyperdrive-2.1.0 → hyperdrive-2.1.2}/util/update.py +0 -0
|
@@ -222,35 +222,102 @@ jobs:
|
|
|
222
222
|
VERSION="${{ needs.version.outputs.pypi_version }}"
|
|
223
223
|
MAX_ATTEMPTS=40
|
|
224
224
|
SLEEP_SECONDS=15
|
|
225
|
+
RELEASE_JSON="$RUNNER_TEMP/release.json"
|
|
226
|
+
DIST="$RUNNER_TEMP/testpypi"
|
|
225
227
|
|
|
226
|
-
#
|
|
227
|
-
#
|
|
228
|
-
#
|
|
229
|
-
#
|
|
230
|
-
#
|
|
231
|
-
#
|
|
228
|
+
# Read this version's own JSON page instead of the project's simple
|
|
229
|
+
# index. The CDN can serve a simple index from before the upload for
|
|
230
|
+
# over 10 minutes: three alkalescent/silicon pull request runs on
|
|
231
|
+
# 2026-11-25 saw one such page on all 40 attempts. This job is the
|
|
232
|
+
# first to request its version's page, after the upload, so no edge
|
|
233
|
+
# holds an older copy of it. Only a 404 is retried; any other status
|
|
232
234
|
# fails at once.
|
|
233
235
|
for i in $(seq 1 $MAX_ATTEMPTS); do
|
|
234
|
-
|
|
235
|
-
"
|
|
236
|
-
|
|
237
|
-
echo "
|
|
238
|
-
|
|
236
|
+
STATUS=$(curl -sS -o "$RELEASE_JSON" -w '%{http_code}' \
|
|
237
|
+
"https://test.pypi.org/pypi/${NAME}/${VERSION}/json")
|
|
238
|
+
if [ "$STATUS" = 200 ]; then
|
|
239
|
+
echo "Found ${NAME} ${VERSION} on attempt $i"
|
|
240
|
+
break
|
|
239
241
|
fi
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
echo "Install failed with an error other than a missing release"
|
|
242
|
+
if [ "$STATUS" != 404 ]; then
|
|
243
|
+
echo "TestPyPI returned HTTP $STATUS for ${NAME} ${VERSION}"
|
|
243
244
|
exit 1
|
|
244
245
|
fi
|
|
245
|
-
|
|
246
|
+
if [ "$i" = "$MAX_ATTEMPTS" ]; then
|
|
247
|
+
echo "Timed out after $((MAX_ATTEMPTS * SLEEP_SECONDS)) seconds"
|
|
248
|
+
exit 1
|
|
249
|
+
fi
|
|
250
|
+
echo "Attempt $i/$MAX_ATTEMPTS: not on TestPyPI yet, waiting ${SLEEP_SECONDS}s..."
|
|
246
251
|
sleep $SLEEP_SECONDS
|
|
247
252
|
done
|
|
248
|
-
|
|
249
|
-
|
|
253
|
+
|
|
254
|
+
# The page lists one wheel. Check its SHA-256, then install it from a
|
|
255
|
+
# local directory so pip still matches the name and version.
|
|
256
|
+
WHEEL_INFO=$(jq -er '[.urls[] | select(.packagetype == "bdist_wheel")]
|
|
257
|
+
| if length == 1 then .[0] | "\(.url) \(.digests.sha256)"
|
|
258
|
+
else error("expected one wheel, found \(length)") end' "$RELEASE_JSON")
|
|
259
|
+
read -r URL SHA256 <<< "$WHEEL_INFO"
|
|
260
|
+
case "$URL" in
|
|
261
|
+
https://test-files.pythonhosted.org/packages/*) ;;
|
|
262
|
+
*) echo "Unexpected wheel URL: $URL"; exit 1 ;;
|
|
263
|
+
esac
|
|
264
|
+
mkdir -p "$DIST"
|
|
265
|
+
WHEEL="$DIST/${URL##*/}"
|
|
266
|
+
curl -fsSL --retry 3 -o "$WHEEL" "$URL"
|
|
267
|
+
echo "$SHA256 $WHEEL" | sha256sum -c -
|
|
268
|
+
pip install --no-deps --no-index --find-links "$DIST" "${NAME}==${VERSION}"
|
|
250
269
|
|
|
251
270
|
- name: Run smoke tests
|
|
252
271
|
run: python tests/smoke.py
|
|
253
272
|
|
|
273
|
+
# `pip install hyperdrive` resolves the newest dependencies the pyproject
|
|
274
|
+
# bounds allow, ignoring uv.lock. This job installs the built wheel the same
|
|
275
|
+
# way and runs the smoke and unit tests on it, so a dependency release that
|
|
276
|
+
# breaks hyperdrive fails a pull request before a release reaches PyPI,
|
|
277
|
+
# where Smoke PyPI would first see it.
|
|
278
|
+
smoke-fresh-install:
|
|
279
|
+
name: Smoke Fresh Install
|
|
280
|
+
needs: test
|
|
281
|
+
runs-on: ubuntu-latest
|
|
282
|
+
steps:
|
|
283
|
+
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
|
|
284
|
+
with:
|
|
285
|
+
fetch-depth: 0 # Full history needed for hatch-vcs
|
|
286
|
+
persist-credentials: false
|
|
287
|
+
|
|
288
|
+
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
|
|
289
|
+
with:
|
|
290
|
+
python-version: '3.11'
|
|
291
|
+
|
|
292
|
+
- name: Install uv
|
|
293
|
+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
|
|
294
|
+
|
|
295
|
+
- name: Build wheel
|
|
296
|
+
run: uv build --wheel --out-dir "$RUNNER_TEMP/dist"
|
|
297
|
+
|
|
298
|
+
- name: Install wheel with fresh dependencies
|
|
299
|
+
run: |
|
|
300
|
+
pip install "$RUNNER_TEMP"/dist/*.whl
|
|
301
|
+
pip show vectorbt plotly polars pyarrow numpy | grep -E '^(Name|Version):'
|
|
302
|
+
|
|
303
|
+
- name: Run smoke tests
|
|
304
|
+
run: python tests/smoke.py
|
|
305
|
+
|
|
306
|
+
# After the smoke tests, so those run on a user's install alone. pip keeps
|
|
307
|
+
# the installed versions unless a test tool needs another.
|
|
308
|
+
- name: Install test tools
|
|
309
|
+
run: |
|
|
310
|
+
python -m pip install --upgrade pip # --group needs pip 25.1 or later
|
|
311
|
+
pip install --group dev
|
|
312
|
+
pip show vectorbt plotly polars pyarrow numpy | grep -E '^(Name|Version):'
|
|
313
|
+
|
|
314
|
+
- name: Run unit tests
|
|
315
|
+
# python -m puts the checkout first on sys.path, as uv's editable install
|
|
316
|
+
# does for make cov, so test_Scripts.py can import scripts/, which the
|
|
317
|
+
# wheel leaves out. The code matches the wheel's; the dependencies are
|
|
318
|
+
# the fresh set installed above.
|
|
319
|
+
run: python -m pytest tests/unit
|
|
320
|
+
|
|
254
321
|
# The release's build and Check built version steps, run against a local
|
|
255
322
|
# throwaway tag. Nothing is pushed or published.
|
|
256
323
|
release-build:
|
|
@@ -145,30 +145,50 @@ jobs:
|
|
|
145
145
|
VERSION="${{ needs.version.outputs.pypi_version }}"
|
|
146
146
|
MAX_ATTEMPTS=40
|
|
147
147
|
SLEEP_SECONDS=15
|
|
148
|
+
RELEASE_JSON="$RUNNER_TEMP/release.json"
|
|
149
|
+
DIST="$RUNNER_TEMP/pypi"
|
|
148
150
|
|
|
149
|
-
#
|
|
150
|
-
#
|
|
151
|
-
#
|
|
152
|
-
#
|
|
153
|
-
#
|
|
154
|
-
#
|
|
155
|
-
#
|
|
151
|
+
# Read this version's own JSON page instead of the project's simple
|
|
152
|
+
# index. The CDN can serve a simple index from before the upload for
|
|
153
|
+
# over 10 minutes: alkalescent/interstellar's v1.5.0 release run on
|
|
154
|
+
# 2026-11-25 saw one such page on all 40 attempts, starting 22 s after
|
|
155
|
+
# the upload. This job is the first to request its version's page,
|
|
156
|
+
# after the upload, so no edge holds an older copy of it. Only a 404
|
|
157
|
+
# is retried; any other status fails at once.
|
|
156
158
|
for i in $(seq 1 $MAX_ATTEMPTS); do
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
STATUS=$(curl -sS -o "$RELEASE_JSON" -w '%{http_code}' \
|
|
160
|
+
"https://pypi.org/pypi/${NAME}/${VERSION}/json")
|
|
161
|
+
if [ "$STATUS" = 200 ]; then
|
|
162
|
+
echo "Found ${NAME} ${VERSION} on attempt $i"
|
|
163
|
+
break
|
|
161
164
|
fi
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
echo "Install failed with an error other than a missing release"
|
|
165
|
+
if [ "$STATUS" != 404 ]; then
|
|
166
|
+
echo "PyPI returned HTTP $STATUS for ${NAME} ${VERSION}"
|
|
165
167
|
exit 1
|
|
166
168
|
fi
|
|
167
|
-
|
|
169
|
+
if [ "$i" = "$MAX_ATTEMPTS" ]; then
|
|
170
|
+
echo "Timed out after $((MAX_ATTEMPTS * SLEEP_SECONDS)) seconds"
|
|
171
|
+
exit 1
|
|
172
|
+
fi
|
|
173
|
+
echo "Attempt $i/$MAX_ATTEMPTS: not on PyPI yet, waiting ${SLEEP_SECONDS}s..."
|
|
168
174
|
sleep $SLEEP_SECONDS
|
|
169
175
|
done
|
|
170
|
-
|
|
171
|
-
|
|
176
|
+
|
|
177
|
+
# The page lists one wheel. Check its SHA-256, then install that file,
|
|
178
|
+
# with its dependencies from PyPI's index as a user's install takes them.
|
|
179
|
+
WHEEL_INFO=$(jq -er '[.urls[] | select(.packagetype == "bdist_wheel")]
|
|
180
|
+
| if length == 1 then .[0] | "\(.url) \(.digests.sha256)"
|
|
181
|
+
else error("expected one wheel, found \(length)") end' "$RELEASE_JSON")
|
|
182
|
+
read -r URL SHA256 <<< "$WHEEL_INFO"
|
|
183
|
+
case "$URL" in
|
|
184
|
+
https://files.pythonhosted.org/packages/*) ;;
|
|
185
|
+
*) echo "Unexpected wheel URL: $URL"; exit 1 ;;
|
|
186
|
+
esac
|
|
187
|
+
mkdir -p "$DIST"
|
|
188
|
+
WHEEL="$DIST/${URL##*/}"
|
|
189
|
+
curl -fsSL --retry 3 -o "$WHEEL" "$URL"
|
|
190
|
+
echo "$SHA256 $WHEEL" | sha256sum -c -
|
|
191
|
+
pip install "$WHEEL"
|
|
172
192
|
|
|
173
193
|
- name: Run smoke tests
|
|
174
194
|
run: python tests/smoke.py
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: hyperdrive
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.2
|
|
4
4
|
Summary: An algorithmic trading platform
|
|
5
5
|
Project-URL: Homepage, https://github.com/alkalescent/hyperdrive
|
|
6
6
|
Project-URL: Bug Reports, https://github.com/alkalescent/hyperdrive/issues
|
|
@@ -19,15 +19,17 @@ Requires-Dist: imbalanced-learn>=0.13.0
|
|
|
19
19
|
Requires-Dist: lxml>=5.4.0
|
|
20
20
|
Requires-Dist: numpy>=1.26.4
|
|
21
21
|
Requires-Dist: pandas>=2.2.3
|
|
22
|
+
Requires-Dist: plotly<7
|
|
22
23
|
Requires-Dist: polars>=1.0.0
|
|
23
24
|
Requires-Dist: polygon-api-client>=1.11.0
|
|
24
25
|
Requires-Dist: pyarrow>=14.0.0
|
|
26
|
+
Requires-Dist: pyotp<2.12,>=2.9.0
|
|
25
27
|
Requires-Dist: python-binance>=1.0.28
|
|
26
28
|
Requires-Dist: python-dotenv>=1.1.0
|
|
27
29
|
Requires-Dist: pytz>=2025.2
|
|
28
30
|
Requires-Dist: requests
|
|
29
31
|
Requires-Dist: robin-stocks>=3.4.0
|
|
30
|
-
Requires-Dist: scikit-learn
|
|
32
|
+
Requires-Dist: scikit-learn<1.8,>=1.6.1
|
|
31
33
|
Requires-Dist: scipy>=1.15.3
|
|
32
34
|
Requires-Dist: selenium>=4.27.1
|
|
33
35
|
Requires-Dist: ta>=0.11.0
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '2.1.
|
|
22
|
-
__version_tuple__ = version_tuple = (2, 1,
|
|
21
|
+
__version__ = version = '2.1.2'
|
|
22
|
+
__version_tuple__ = version_tuple = (2, 1, 2)
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|
|
@@ -14,11 +14,20 @@ dependencies = [
|
|
|
14
14
|
"polygon-api-client>=1.11.0",
|
|
15
15
|
"pytz>=2025.2",
|
|
16
16
|
"vectorbt>=0.28.0",
|
|
17
|
+
# vectorbt registers its plotly templates at import, and plotly 7.2.0 fails
|
|
18
|
+
# on them ("Bad property path: scattermapbox"). vectorbt sets no upper bound.
|
|
19
|
+
"plotly<7",
|
|
17
20
|
"ta>=0.11.0",
|
|
18
21
|
"scipy>=1.15.3",
|
|
19
|
-
|
|
22
|
+
# scikit-learn 1.8.0 raises LinAlgError where 1.7 warned on a class whose
|
|
23
|
+
# covariance is not full rank, so run_classifiers fails at its QDA step.
|
|
24
|
+
"scikit-learn>=1.6.1,<1.8",
|
|
20
25
|
"cryptography>=44.0.3",
|
|
21
26
|
"python-binance>=1.0.28",
|
|
27
|
+
# Broker.py imports pyotp, which robin-stocks also requires. pyotp 2.12.0
|
|
28
|
+
# refuses TOTP secrets under 112 bits, and a 16-character base32 secret
|
|
29
|
+
# holds 80.
|
|
30
|
+
"pyotp>=2.9.0,<2.12",
|
|
22
31
|
"imbalanced-learn>=0.13.0",
|
|
23
32
|
"icosphere>=0.1.3",
|
|
24
33
|
"numpy>=1.26.4",
|
|
@@ -1418,9 +1418,11 @@ dependencies = [
|
|
|
1418
1418
|
{ name = "lxml" },
|
|
1419
1419
|
{ name = "numpy" },
|
|
1420
1420
|
{ name = "pandas" },
|
|
1421
|
+
{ name = "plotly" },
|
|
1421
1422
|
{ name = "polars" },
|
|
1422
1423
|
{ name = "polygon-api-client" },
|
|
1423
1424
|
{ name = "pyarrow" },
|
|
1425
|
+
{ name = "pyotp" },
|
|
1424
1426
|
{ name = "python-binance" },
|
|
1425
1427
|
{ name = "python-dotenv" },
|
|
1426
1428
|
{ name = "pytz" },
|
|
@@ -1467,15 +1469,17 @@ requires-dist = [
|
|
|
1467
1469
|
{ name = "lxml", specifier = ">=5.4.0" },
|
|
1468
1470
|
{ name = "numpy", specifier = ">=1.26.4" },
|
|
1469
1471
|
{ name = "pandas", specifier = ">=2.2.3" },
|
|
1472
|
+
{ name = "plotly", specifier = "<7" },
|
|
1470
1473
|
{ name = "polars", specifier = ">=1.0.0" },
|
|
1471
1474
|
{ name = "polygon-api-client", specifier = ">=1.11.0" },
|
|
1472
1475
|
{ name = "pyarrow", specifier = ">=14.0.0" },
|
|
1476
|
+
{ name = "pyotp", specifier = ">=2.9.0,<2.12" },
|
|
1473
1477
|
{ name = "python-binance", specifier = ">=1.0.28" },
|
|
1474
1478
|
{ name = "python-dotenv", specifier = ">=1.1.0" },
|
|
1475
1479
|
{ name = "pytz", specifier = ">=2025.2" },
|
|
1476
1480
|
{ name = "requests" },
|
|
1477
1481
|
{ name = "robin-stocks", specifier = ">=3.4.0" },
|
|
1478
|
-
{ name = "scikit-learn", specifier = ">=1.6.1" },
|
|
1482
|
+
{ name = "scikit-learn", specifier = ">=1.6.1,<1.8" },
|
|
1479
1483
|
{ name = "scipy", specifier = ">=1.15.3" },
|
|
1480
1484
|
{ name = "selenium", specifier = ">=4.27.1" },
|
|
1481
1485
|
{ name = "ta", specifier = ">=0.11.0" },
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|