-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 0f7a7e8 Author: Doug Ransom <[email protected]> Date: Fri Feb 2 09:33:50 2024 -0800 Fixed logging intialization in sample_plots deleted extraneous and incorrect powershell script test.ps1 Changed from 'flit build' to 'build' to build the package. commit 52f0c2d Author: Doug Ransom <[email protected]> Date: Sat Jul 22 12:10:45 2023 -0700 add vix1d commit 4e32d47 Author: Doug Ransom <[email protected]> Date: Wed Jul 19 14:03:43 2023 -0700 fixed gaps in 2013 futures. commit c971912 Author: Doug Ransom <[email protected]> Date: Tue Jul 18 09:24:22 2023 -0700 added a test to check for same dates on SHORTVOL and futures trade dates. commit 54bac5d Author: Doug Ransom <[email protected]> Date: Sat Jul 15 13:47:48 2023 -0700 checkpoint commit cd86c99 Author: Doug Ransom <[email protected]> Date: Sat Jul 15 10:49:49 2023 -0700 checkpoint commit 81737ee Author: Doug Ransom <[email protected]> Date: Sat Jul 15 10:20:45 2023 -0700 checkpoint commit c662987 Author: Doug Ransom <[email protected]> Date: Sat Jul 15 10:03:23 2023 -0700 checkpiont commit c1ea665 Author: Doug Ransom <[email protected]> Date: Sat Jul 15 10:02:11 2023 -0700 checkpoint commit 00435cc Author: Doug Ransom <[email protected]> Date: Sat Jul 15 09:24:16 2023 -0700 checkpoint commit b956c7f Author: Doug Ransom <[email protected]> Date: Sat Jul 15 06:23:23 2023 -0700 basis prototype commit 7210b0c Author: Doug Ransom <[email protected]> Date: Wed Jul 5 16:38:15 2023 -0700 updating commit 8cf936c Author: Doug Ransom <[email protected]> Date: Wed Jul 5 14:02:47 2023 -0700 updating commit 9d3577f Author: Doug Ransom <[email protected]> Date: Wed Jul 5 13:59:35 2023 -0700 updating from main commit c62789c Author: Doug Ransom <[email protected]> Date: Wed Jul 5 13:57:35 2023 -0700 updating from main commit e4258d6 Author: Doug Ransom <[email protected]> Date: Wed Jul 5 13:09:27 2023 -0700 python_publish.yml commit 198d93b Author: Doug Ransom <[email protected]> Date: Wed Jul 5 10:54:07 2023 -0700 Renamed function to be more appropriate. commit fe724b2 Author: Doug Ransom <[email protected]> Date: Wed Jul 5 10:51:21 2023 -0700 The monthly interpolation of expiry date is close to working. Same with the weighted front two months. A couple unit tests might reveal some subtly bugs. commit 4814544 Author: Doug Ransom <[email protected]> Date: Wed Jul 5 07:02:34 2023 -0700 checkpoint commit f6988a6 Author: Doug Ransom <[email protected]> Date: Wed Jul 5 06:04:14 2023 -0700 checkpoint. commit 7a8746c Author: Doug Ransom <[email protected]> Date: Tue Jul 4 16:41:03 2023 -0700 removed unused test file commit 60d0183 Author: Doug Ransom <[email protected]> Date: Tue Jul 4 16:38:02 2023 -0700 corrected weight calculations commit 43ca576 Author: Doug Ransom <[email protected]> Date: Tue Jul 4 14:24:27 2023 -0700 added ovx commit 1d0a8f5 Author: Doug Ransom <[email protected]> Date: Tue Jul 4 14:12:04 2023 -0700 added shortvol, longvol commit fe4eafb Author: Doug Ransom <[email protected]> Date: Tue Jul 4 14:06:18 2023 -0700 added vvix and VXTLT, GVZ to sample plot. commit 073fd88 Author: Doug Ransom <[email protected]> Date: Tue Jul 4 13:38:07 2023 -0700 . commit 78531b6 Author: Doug Ransom <[email protected]> Date: Tue Jul 4 13:21:58 2023 -0700 checkpoint, tests work when pandas_market_calendars work. commit 70233be Author: Doug Ransom <[email protected]> Date: Tue Jul 4 13:18:07 2023 -0700 checkpoint. commit 7f080d5 Author: Doug Ransom <[email protected]> Date: Tue Jul 4 12:24:02 2023 -0700 checkpoint
- Loading branch information
1 parent
cc23081
commit 6a4cca9
Showing
18 changed files
with
4,191 additions
and
245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,25 @@ | ||
name: Publish Package 📦 to Test PyPI | ||
name: Publish Package 📦 to PyPI | ||
on: | ||
release: | ||
types: [published] # with prerelease and release | ||
|
||
permissions: | ||
contents: read | ||
|
||
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing | ||
jobs: | ||
publish: | ||
# Set up the environment `CI` references the secret `TEST_PYPI_API_TOKEN` in repository settings | ||
build_and_publish: | ||
# Set up the environment `CI` references the secret `PYPI_API_TOKEN` in repository settings | ||
# https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#referencing-an-environment | ||
environment: CI | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Installing build Dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install flit | ||
- name: Building package with flit | ||
run: | | ||
flit build | ||
- name: Publishing 📦 to PyPI | ||
# Regarding building artifacts within Platform specific environment see https://github.com/pypa/gh-action-pypi-publish#non-goals | ||
python -m pip install --upgrade pip | ||
pip install build | ||
- name: Build package | ||
run: python -m build | ||
- name: Publish package | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
password: ${{ secrets.PYPI_API_TOKEN }} | ||
repository-url: https://upload.pypi.org/legacy/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 3, | ||
"id": "1631065c", | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"import xarray as xa, numpy as np" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"id": "f612f82b", | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [] | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "Python 3 (ipykernel)", | ||
"language": "python", | ||
"name": "python3" | ||
}, | ||
"language_info": { | ||
"codemirror_mode": { | ||
"name": "ipython", | ||
"version": 3 | ||
}, | ||
"file_extension": ".py", | ||
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.11.2" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 5 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import xarray as xr, pandas as pd, numpy as np | ||
|
||
data = xr.DataArray(np.random.randn(2, 3), dims=("x", "y"), coords={"x": [10, 20]}) | ||
print(f"data{data}") | ||
a = xr.DataArray(np.random.randn(3), [data.coords["y"]]) | ||
b = xr.DataArray(np.random.randn(4), dims="z") | ||
3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.