Skip to content

Releases: AxelGard/cira

v2.3.2

19 Aug 06:28
Compare
Choose a tag to compare

Fixed build issue for GH actions and pip pub

v2.3.1

19 Aug 06:21
Compare
Choose a tag to compare

Added info about v3 coming.
Includes some bug fixes

v2.3.0

24 Dec 09:54
Compare
Choose a tag to compare

Stock.historical_data()

Change in Stock.historical_data() to have date, open, high, low, close

import cira
stk = cira.Stock("TSLA")
stk.historical_data(1)

will return [{'date': '2021-12-23', 'open': 1067.5, 'high': 1068.01, 'low': 1066.915, 'close': 1067.6}]
so a list(dict)

Stock.barset

barset no longer return a nested object. So no need for a symbol after barset.

import cira
stk = cira.Stock("TSLA")
stk.barset(1).c #close price 

v2.2.0

14 Dec 14:37
Compare
Choose a tag to compare

With v2.2.0 comes some new methods for accessing more of your portfolio.
example checking available cash.

v2.1.2

04 Nov 10:15
Compare
Choose a tag to compare

Some bug fixes and some minor fixes.
Also, have some more type hints.

BUG fixed some functions that used util.reformat_position did not need to due to that they are already filtered in position.

functions in affected was:

  • Stock.today_plpc
  • Stock.plpc
  • Protfolio.owned_stock_qty

they should work fine now. 😄

v2.1.1

16 Apr 17:28
Compare
Choose a tag to compare

v2.1.1

with cira v2.1.1 comes more operations for stocks to interact with int, floats, and operators.
Also, I change to fix price functions.

So with the new stock operation, you can do;

stk = cira.Stock("TSLA")

if stk + 10 <= 500:  
    stk.buy(1)

supported operators:
+, -, *, /, // and ==, !=, <, >, <=, >=

v2.0.2

04 Feb 10:26
Compare
Choose a tag to compare

Some major bug fixes and more documentation

v.2.0.1

03 Jan 20:24
8d200a7
Compare
Choose a tag to compare

Added Flake8 and black checks and some minor bug fixes also a new function for historical data.

v.2.0.0 new struct

25 Dec 11:52
Compare
Choose a tag to compare

With cira v.2.0.0 has a new structure and classes! With these new classes and structure, you will be able to use the library more simply

v.1.0.0

10 Dec 09:42
Compare
Choose a tag to compare

v.1.0.0

Last version that will use functional programming.
Should be stable.