gulf
is an open-source integrated finance data source and database application on top of DolphinDB and akshare.
You can install the latest stable version from pip using:
pip install gulf
If you plan to develop gulf yourself, or want to be on the cutting edge, you can use an editable install:
git clone https://github.com/FangyangJz/gulf.git
pip install -e .
Use poetry
as dependency management and conda
as virtual environment management.
-
In
PyCharm
settings,poetry
venv creation may meet error, because the OS system is not native English. Soconda
was used as the virtual environment management, and author usedpython
3.9 version. -
If you follow the official
poetry
manual and create a redundant venv, just delete it. Check the following locations (note hidden paths):C:\Users\fangy\AppData\Local\pypoetry\Cache\virtualenvs
-
If the virtual environment is not automatically activated, manually switch:
conda activate your_venv_name
After activate the virtual environment,
poetry update/init/install/add
command is executed on the shell. Stack overflow link
- Official website download client
- Dolphindb document
- Python API document
- Video tutorial link
- Official Q&A community
For .dos file execution, recommend using the DolphinDB vscode plug-in instead of the official GUI program.