Skip to content

Commit

Permalink
v2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
AxelGard committed Apr 16, 2021
1 parent a51fd43 commit 2bf36c4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cira/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
from .stock import Stock
from .portfolio import Portfolio

__version__ = "2.1.0"
__version__ = "2.1.1"
__author__ = "Axel Gard"
__credits__ = "alpaca.markets"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='cira',
version='2.1.0',
version='2.1.1',
description='A simpler library for the alapaca trade api',
url='https://github.com/AxelGard/cira',
author='Axel Gard',
Expand Down
7 changes: 2 additions & 5 deletions temp.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,8 @@
print(exchange.is_open)


#for stk in exchange.stocks[:3]:
# print(stk.price)
for stk in exchange.stocks[:3]:
print(stk.price)

stk = cira.Stock("TSLA")
print(stk.price)

for op in (operator.add, operator.sub, operator.mul, operator.truediv, operator.floordiv):
assert op(stk, 2) == op(stk.price, 2)

0 comments on commit 2bf36c4

Please sign in to comment.