A python tool developed for WorldQuant Brain Platform User
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyworldquant-0.0.2.tar.gz
.
File metadata
- Download URL: pyworldquant-0.0.2.tar.gz
- Upload date:
- Size: 19.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5a71b158ba6bc73ee55d1e4a7daf63f71c214dae3361e24add04818801b6cf3 |
|
MD5 | 5a70bba0ae7f3813b3303d945bc05025 |
|
BLAKE2b-256 | 441736fcfd1c448aff68a365b1b883b54e1999539b89bcea7a2a3c0e99b5ca77 |
File details
Details for the file pyworldquant-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: pyworldquant-0.0.2-py3-none-any.whl
- Upload date:
- Size: 16.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d2c18d00bdf45fb1a5234123e3c9418b42e0a01fa9401f150d3a17056e3070b |
|
MD5 | 041911ed6ba05368bdeb62f1d306eacd |
|
BLAKE2b-256 | 33fea726b8b44cba72037ab36d885177f726341704d5fb8de89c95673816fd53 |