Skip to content

Commit 72e94d7

Browse files
committed
added all packges needed for demo
1 parent 5fb952b commit 72e94d7

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,12 @@ stock = cira.Stock("TSLA") # a class for one stock
6767
Crypto market data can be accessed [without any alpaca keys](https://alpaca.markets/sdks/python/market_data.html#api-keys).
6868
So there for you can try cira out with out needing to get alpaca keys.
6969

70-
Needs `cira>=3.2.1`.
70+
Needs `cira>=3.2.2`.
7171

7272
```python
7373
import cira
7474
from datetime import datetime
75+
import matplotlib.pyplot as plt
7576

7677
assert not cira.auth.check_keys() # No keys are needed
7778

@@ -88,6 +89,7 @@ print(data.head())
8889
# All of strategies and backtesting works with out keys as well.
8990
strat = cira.strategy.Randomness()
9091
cira.strategy.back_test_against_buy_and_hold(strat, data, data["open"].to_frame(), 100_000).plot()
92+
plt.savefig('./result.png')
9193
```
9294

9395

cira/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121

2222
import alpaca
2323

24-
__version__ = "3.2.1"
24+
__version__ = "3.2.2"
2525
__author__ = "Axel Gard"
2626
__credits__ = "alpaca.markets"

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup(
77
name="cira",
8-
version="3.2.1",
8+
version="3.2.2",
99
description="A simpler library for the alapaca trade api",
1010
url="https://github.com/AxelGard/cira",
1111
author="Axel Gard",
@@ -17,6 +17,9 @@
1717
install_requires=[
1818
"alpaca-py==0.21.0",
1919
"schedule==1.2.0",
20+
"matplotlib",
21+
"pandas",
22+
"numpy",
2023
],
2124
extras_requires={"dev": ["pytest"]},
2225
classifiers=[

0 commit comments

Comments
 (0)