finalytics 0.2.3__tar.gz → 0.2.5__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.
@@ -938,9 +938,9 @@ dependencies = [
938
938
 
939
939
  [[package]]
940
940
  name = "finalytics"
941
- version = "0.2.3"
941
+ version = "0.2.5"
942
942
  dependencies = [
943
- "finalytics 0.3.4",
943
+ "finalytics 0.3.6",
944
944
  "plotly-fork",
945
945
  "polars",
946
946
  "pyo3",
@@ -949,9 +949,9 @@ dependencies = [
949
949
 
950
950
  [[package]]
951
951
  name = "finalytics"
952
- version = "0.3.4"
952
+ version = "0.3.6"
953
953
  source = "registry+https://github.com/rust-lang/crates.io-index"
954
- checksum = "b78fb04ac2b111386fd8612ef9e6d3c8dc2561f5b70056123bcde99dcf19d77a"
954
+ checksum = "4919c4bb2bbd038eea74150b6dbeb44bad7ef79663e6b29417e8f4f832fe188b"
955
955
  dependencies = [
956
956
  "charming",
957
957
  "chrono",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "finalytics"
3
- version = "0.2.3"
3
+ version = "0.2.5"
4
4
  edition = "2021"
5
5
 
6
6
  [lib]
@@ -8,7 +8,7 @@ name = "finalytics"
8
8
  crate-type = ["cdylib"]
9
9
 
10
10
  [dependencies]
11
- finalytics = {version = "0.3.4", features = ["kaleido", "charming_ssr"]}
11
+ finalytics = {version = "0.3.6", features = ["kaleido", "charming_ssr"]}
12
12
  polars = "0.33.0"
13
13
  tokio = { version = "1.32.0", features = ["full"] }
14
14
  pyo3 = { version = "0.20.0", features = ["extension-module", "generate-import-lib"] }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: finalytics
3
- Version: 0.2.3
3
+ Version: 0.2.5
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -17,6 +17,8 @@ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
17
17
  ![License](https://img.shields.io/crates/l/finalytics)
18
18
  [![Homepage](https://img.shields.io/badge/homepage-finalytics.rs-blue)](https://finalytics.rs/)
19
19
  [![Documentation Status](https://readthedocs.org/projects/finalytics-py/badge/?version=latest)](https://finalytics-py.readthedocs.io/en/latest/?badge=latest)
20
+ ![Platform](https://img.shields.io/badge/Platform-Windows%20%7C%20Linux%20%7C%20MacOS-brightgreen)
21
+ ![Python Version](https://img.shields.io/badge/Python-3.7%20%7C%203.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue)
20
22
  ![PePy](https://static.pepy.tech/personalized-badge/finalytics?period=total&units=international_system&left_color=black&right_color=blue&left_text=Downloads)
21
23
  [![CodeFactor](https://www.codefactor.io/repository/github/nnamdi-sys/finalytics-py/badge)](https://www.codefactor.io/repository/github/nnamdi-sys/finalytics-py)
22
24
 
@@ -34,6 +36,7 @@ pip install finalytics
34
36
 
35
37
  View Library documentation on readthedocs [here](https://finalytics-py.readthedocs.io/en/latest/)
36
38
 
39
+
37
40
  ### Symbol Search
38
41
 
39
42
  ```python
@@ -47,6 +50,7 @@ print(get_symbols(query="SPY", asset_class="ETF"))
47
50
  ```
48
51
 
49
52
  ### Security Analysis
53
+ [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/Nnamdi-sys/finalytics-py/HEAD?labpath=examples%2Fsecurity_analysis.ipynb)
50
54
 
51
55
  ```python
52
56
  from finalytics import Ticker
@@ -70,16 +74,17 @@ ticker.display_options_chart(risk_free_rate=0.02, chart_type="surface", display_
70
74
  ```
71
75
 
72
76
  ### Portfolio Optimization
77
+ [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/Nnamdi-sys/finalytics-py/HEAD?labpath=examples%2Fportfolio_optimization.ipynb)
73
78
 
74
79
  ```python
75
80
  from finalytics import Portfolio
76
81
 
77
82
  portfolio = Portfolio(ticker_symbols=["AAPL", "GOOG", "MSFT", "BTC-USD"],
78
- benchmark="^GSPC", start="2020-01-01", end="2022-01-01", interval="1d",
83
+ benchmark_symbol="^GSPC", start_date="2020-01-01", end_date="2022-01-01", interval="1d",
79
84
  confidence_level=0.95, risk_free_rate=0.02, max_iterations=1000,
80
85
  objective_function="max_sharpe")
81
86
  print(portfolio.get_optimization_results())
82
- portfolio.display_portfolio_charts("html")
87
+ portfolio.display_portfolio_charts("performance", "html")
83
88
  ```
84
89
 
85
90
  ### DeFi Liquidity Pools
@@ -4,6 +4,8 @@
4
4
  ![License](https://img.shields.io/crates/l/finalytics)
5
5
  [![Homepage](https://img.shields.io/badge/homepage-finalytics.rs-blue)](https://finalytics.rs/)
6
6
  [![Documentation Status](https://readthedocs.org/projects/finalytics-py/badge/?version=latest)](https://finalytics-py.readthedocs.io/en/latest/?badge=latest)
7
+ ![Platform](https://img.shields.io/badge/Platform-Windows%20%7C%20Linux%20%7C%20MacOS-brightgreen)
8
+ ![Python Version](https://img.shields.io/badge/Python-3.7%20%7C%203.8%20%7C%203.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue)
7
9
  ![PePy](https://static.pepy.tech/personalized-badge/finalytics?period=total&units=international_system&left_color=black&right_color=blue&left_text=Downloads)
8
10
  [![CodeFactor](https://www.codefactor.io/repository/github/nnamdi-sys/finalytics-py/badge)](https://www.codefactor.io/repository/github/nnamdi-sys/finalytics-py)
9
11
 
@@ -21,6 +23,7 @@ pip install finalytics
21
23
 
22
24
  View Library documentation on readthedocs [here](https://finalytics-py.readthedocs.io/en/latest/)
23
25
 
26
+
24
27
  ### Symbol Search
25
28
 
26
29
  ```python
@@ -34,6 +37,7 @@ print(get_symbols(query="SPY", asset_class="ETF"))
34
37
  ```
35
38
 
36
39
  ### Security Analysis
40
+ [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/Nnamdi-sys/finalytics-py/HEAD?labpath=examples%2Fsecurity_analysis.ipynb)
37
41
 
38
42
  ```python
39
43
  from finalytics import Ticker
@@ -57,16 +61,17 @@ ticker.display_options_chart(risk_free_rate=0.02, chart_type="surface", display_
57
61
  ```
58
62
 
59
63
  ### Portfolio Optimization
64
+ [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/Nnamdi-sys/finalytics-py/HEAD?labpath=examples%2Fportfolio_optimization.ipynb)
60
65
 
61
66
  ```python
62
67
  from finalytics import Portfolio
63
68
 
64
69
  portfolio = Portfolio(ticker_symbols=["AAPL", "GOOG", "MSFT", "BTC-USD"],
65
- benchmark="^GSPC", start="2020-01-01", end="2022-01-01", interval="1d",
70
+ benchmark_symbol="^GSPC", start_date="2020-01-01", end_date="2022-01-01", interval="1d",
66
71
  confidence_level=0.95, risk_free_rate=0.02, max_iterations=1000,
67
72
  objective_function="max_sharpe")
68
73
  print(portfolio.get_optimization_results())
69
- portfolio.display_portfolio_charts("html")
74
+ portfolio.display_portfolio_charts("performance", "html")
70
75
  ```
71
76
 
72
77
  ### DeFi Liquidity Pools