pwb-toolbox 0.1.2__tar.gz → 0.1.3__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.
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: pwb-toolbox
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: A toolbox library for quant traders
5
5
  Home-page: https://github.com/paperswithbacktest/pwb-toolbox
6
6
  Author: Your Name
@@ -14,6 +14,7 @@ Description-Content-Type: text/markdown
14
14
  License-File: LICENSE.txt
15
15
  Requires-Dist: datasets
16
16
  Requires-Dist: pandas
17
+ Dynamic: license-file
17
18
 
18
19
  <div align="center">
19
20
  <img src="static/images/systematic-trading.jpeg" height=200 alt=""/>
@@ -866,6 +866,7 @@ def get_pricing(
866
866
  fields=["close"],
867
867
  start_date="1980-01-01",
868
868
  end_date=date.today().isoformat(),
869
+ extend=False,
869
870
  ):
870
871
  """
871
872
  Get pricing data for a list of symbols
@@ -878,11 +879,11 @@ def get_pricing(
878
879
  raise ValueError("Invalid field")
879
880
  df = pd.concat(
880
881
  [
881
- load_dataset("Stocks-Daily-Price", symbol_list),
882
- load_dataset("ETFs-Daily-Price", symbol_list),
883
- load_dataset("Cryptocurrencies-Daily-Price", symbol_list),
884
- load_dataset("Bonds-Daily-Price", symbol_list),
885
- load_dataset("Commodities-Daily-Price", symbol_list),
882
+ load_dataset("Stocks-Daily-Price", symbol_list, extend=extend),
883
+ load_dataset("ETFs-Daily-Price", symbol_list, extend=extend),
884
+ load_dataset("Cryptocurrencies-Daily-Price", symbol_list, extend=extend),
885
+ load_dataset("Bonds-Daily-Price", symbol_list, extend=extend),
886
+ load_dataset("Commodities-Daily-Price", symbol_list, extend=extend),
886
887
  ]
887
888
  )
888
889
  df["date"] = pd.to_datetime(df["date"])
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: pwb-toolbox
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: A toolbox library for quant traders
5
5
  Home-page: https://github.com/paperswithbacktest/pwb-toolbox
6
6
  Author: Your Name
@@ -14,6 +14,7 @@ Description-Content-Type: text/markdown
14
14
  License-File: LICENSE.txt
15
15
  Requires-Dist: datasets
16
16
  Requires-Dist: pandas
17
+ Dynamic: license-file
17
18
 
18
19
  <div align="center">
19
20
  <img src="static/images/systematic-trading.jpeg" height=200 alt=""/>
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = pwb-toolbox
3
- version = 0.1.2
3
+ version = 0.1.3
4
4
  author = Your Name
5
5
  author_email = hello@paperswithbacktest.com
6
6
  description = A toolbox library for quant traders
File without changes
File without changes
File without changes