Comments (5)
Hello
Thank you for developping this fantastic library. I'd love to use it, but running Python 3.11.2. Will it be available for that version in the near future?
However, this seems to be an issue with numba:
Collecting numba<1,>=0.56.3 (from lib-pybroker) Using cached numba-0.56.4.tar.gz (2.4 MB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [8 lines of output] Traceback (most recent call last): File "<string>", line 2, in <module> File "<pip-setuptools-caller>", line 34, in <module> File "C:\Users\center\AppData\Local\Temp\pip-install-36wtc8qn\numba_4157527a6be444afb3ba3015b4b34b93\setup.py", line 51, in <module> _guard_py_ver() File "C:\Users\center\AppData\Local\Temp\pip-install-36wtc8qn\numba_4157527a6be444afb3ba3015b4b34b93\setup.py", line 48, in _guard_py_ver raise RuntimeError(msg.format(cur_py, min_py, max_py)) RuntimeError: Cannot install on Python version 3.11.2; only versions >=3.7,<3.11 are supported. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details.
Thank you
Hello,
- It seems that you can remove jit functions from the source code
- Then install numpy from source code
from pybroker.
Hi @RandomBloke85,
This is because PyBroker depends on Numba, and Numba does not yet support Python 3.11. However, Numba support is coming very soon, and there is a release candidate available for 3.11 (numba/numba#8841). In the meantime, you will need to use Python 3.9 or 3.10.
from pybroker.
Hi @RandomBloke85,
Good news! PyBroker v1.1.9 now supports Python 3.11.
from pybroker.
Hi @edtechre
Thanks for letting me know. Just installed without flaws so far. Will have a look into it. Thx for developping such a great tool!
from pybroker.
Thanks @RandomBloke85!
I just pushed a change today that affects how market values of short positions are calculated. Be sure to upgrade to the latest version:
pip install --upgrade lib-pybroker
from pybroker.
Related Issues (20)
- Multi-timeframe? HOT 2
- "ValueError: DataSource is empty." for Akshare as data sources HOT 4
- Question about shares and pnl number in "result.trades" HOT 8
- can't backtest with fresh installation HOT 4
- Support Pandas 2 HOT 5
- Return indicator values and model predictions from Strategy HOT 1
- Add support for global models HOT 1
- Support custom fee structure HOT 3
- Add config option for disabling quantization in results HOT 1
- question about ctx.dt and indicator value HOT 3
- Error: Fill price 0 for prices below 0.005$ (like many cryptocurrencies) HOT 3
- fees and account amount HOT 5
- __init__() got an unexpected keyword argument 'adjust' HOT 1
- Data caching issue HOT 4
- 有考虑接入okx biance的数据么 HOT 1
- Add config option to save stop values in TestResult HOT 1
- caching data bug in month or week frequence HOT 2
- AKShare got an unexpected keyword argument 'timeframe' HOT 3
- Rotational Trading not working when using start_of_month HOT 1
- [Question] symbol for indicator but not for trading HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pybroker.