PyWorldQuant by whosquant
A helper for WorldQuant Brain Member to automatically submit alpha factors in the WorldQuant Brain.
Documentation
Brief WorkFlow
alpha workfow
Brain Platform workflow
Installation
PyPI (stable, recommended):
pip install pyworldquant
Example
from pyworldquant.spot import Spot as Client
username = 'xxxxx@xxx.com'
password = 'xxxxxxx'
# login
client = Client(username, password)
settings = {'name': 'USA3000',
'settings': {"nanHandling": "ON", "instrumentType": "EQUITY", "delay": 1, "universe": "TOP3000",
"truncation": 0.05, "unitHandling": "VERIFY", "pasteurization": "ON", "region": "USA",
"language": "FASTEXPR", "decay": 10, "neutralization": "INDUSTRY", "visualization": False}}
regular = 'close'
# simulate
performance = client.simulate(regular,settings)
print(performance)
# Example output: {"LOW_SHARPE": , "LOW_FITNESS": , "HIGH_TURNOVER": , "LOW_SUB_UNIVERSE_SHARPE": }
To be continued
1,work on how to make the alphapool more effective. 2,work on how to maker better use of the given dataset to formulate better alpha.
Issue
If you found a bug or have a question, please open an issue. Email will also be replied.
Warning
pulling too much requests is dangerous. Never leave your ineffective crawler running on server.
Contributing
Pull requests (docs, bug fix, features) are welcomed! Any pull request (documentation, bug fix, features, etc) are welcomed.
Release files for pyworldquant 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyworldquant-0.0.2.tar.gz | 19.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyworldquant-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.7 kB
Release files / pyworldquant-0.0.2.tar.gz
| Download URL | pyworldquant-0.0.2.tar.gz |
|---|---|
| Size | 19.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5a71b158ba6bc73ee55d1e4a7daf63f71c214dae3361e24add04818801b6cf3
|
|
BLAKE2b-256 checksum How to use checksums |
441736fcfd1c448aff68a365b1b883b54e1999539b89bcea7a2a3c0e99b5ca77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.7
|
Release files / pyworldquant-0.0.2-py3-none-any.whl
| Download URL | pyworldquant-0.0.2-py3-none-any.whl |
|---|---|
| Size | 16.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0d2c18d00bdf45fb1a5234123e3c9418b42e0a01fa9401f150d3a17056e3070b
|
|
BLAKE2b-256 checksum How to use checksums |
33fea726b8b44cba72037ab36d885177f726341704d5fb8de89c95673816fd53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.7
|