v3.0.0
#29
Replies: 1 comment
-
So after a lot of debugging I moved all strategy things in to a single file due to problems with imports |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
cira v3.0.0 is out!
After a long time of almost no updates v3 is finaly out.
V3 brings some much needed features to the cira library.
Sadly there are some breaking changes.
But they should be easly fixed.
cira v2 vs v3
most code from cira v2 will still work the only change that might be needed is that some things that was prevusaly a class
@property
such as price isnow a accessed through a function call to make it more clear when the api is called. This also makes the docutmention easyer to read.
So in cira v2
Now in cira v3
Alpaca file is now in auth
there is now also a function for checking that you key is working.
In v2
but now in v3:
Cira Strategies
A new module for cira v3 is strategies.
The cira strategies lets you backtest the models and set them into production in a simple way.
the strategies have some sub modules.
An full example of how to use the strategy is example/linear.
cira comes with two strategies:
more might be added later on.
backtest
with cira v3 there is a new backtest function.
there are some in v3.0.0 three types of backtests:
a example of how to use them is:
If you want more full example of how to use the backtest checkout
multiassets and
linear.
cryptocurncies
Alpaca.py have support for cryptob but in cira v3.0.0 the crypto support is very minmal.
More suppor is comming...
Assets class / Stock class
There are new methods in the assets classes such as:
This discussion was created from the release v3.0.0.
Beta Was this translation helpful? Give feedback.
All reactions