Skip to content

Commit

Permalink
Remove | for Python 3.8 comp
Browse files Browse the repository at this point in the history
  • Loading branch information
saeedamen committed Apr 27, 2024
1 parent eb2f957 commit 6245d8d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ individual data providers)

# Release Notes

* 0.1.36 - findatapy (27 Apr 2024)
* 0.1.35 - findatapy (10 Apr 2024)
* 0.1.34 - findatapy (08 Apr 2024)
* 0.1.33 - findatapy (01 Apr 2024)
Expand Down Expand Up @@ -142,6 +143,8 @@ individual data providers)

# Coding log

* 27 Apr 2024
* Removed additional list typecheck (to make code Python 3.8 compatible)
* 09 Apr 2024
* Bugfix for reading Parquet files with columns
* 08 Apr 2024
Expand Down
2 changes: 1 addition & 1 deletion findatapy/market/ioengine.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ def write_r_compatible_hdf_dataframe(self,
store_export.put("df_for_r", data_frame32, data_columns=cols)
store_export.close()

def read_time_series_cache_from_disk(self, fname: str | List[str],
def read_time_series_cache_from_disk(self, fname: str,
engine: str ="hdf5",
start_date: str = None,
finish_date: str = None,
Expand Down
6 changes: 3 additions & 3 deletions findatapy/market/marketdatarequest.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ def __init__(self, data_source: str = None,
category: str = None, freq_mult: int = 1, freq: str = "daily",
gran_freq: str =None, cut: str ="NYC",
fields: List[str] = ["close"],
cache_algo: str ="internet_load_return",
vendor_tickers: str | List[str] = None,
vendor_fields: str | List[str] =None,
cache_algo: str = "internet_load_return",
vendor_tickers: List[str] = None,
vendor_fields: List[str] =None,
environment: str = None,
trade_side: str = "trade",
expiry_date: str = None,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
tickers, using configuration files. There is also functionality which is particularly useful for those downloading FX market data."""

setup(name='findatapy',
version='0.1.35',
version='0.1.36',
description='Market data library',
author='Saeed Amen',
author_email='[email protected]',
Expand Down

0 comments on commit 6245d8d

Please sign in to comment.