Project to study the multi-agent crypto fund management.
Navigate to the directory of the cloned repo
cd multi-agentTo install the latest release on PyPI <https://pypi.org/project/toml/>_, run:
pip install toml- iOS
python3 -m venv venv- Windows
python -m venv venv
- iOS
. venv/bin/activate- Windows (in Command Prompt, NOT Powershell)
venv\Scripts\activate.batpip install -e ".[dev]"
All files in data/ are stored with lfs.
To initialize Git LFS:
git lfs installgit lfs track data/**/*To pull data files, use
git lfs pullAlways pull latest code first
git pullMake changes locally, save. And then add, commit and push
git add [file-to-add]
git commit -m "update message"
git pushWe follow PEP8 coding format. The most important rules above all:
- Keep code lines length below 80 characters. Maximum 120. Long code lines are NOT readable.
- We use snake_case to name function, variables. CamelCase for classes.
- We make our code as DRY (Don't repeat yourself) as possible.
- We give a description to classes, methods and functions.
- Variables should be self explaining and just right long:
implied_volatilityis preferred overimpl_vimplied_volatilityis preferred overimplied_volatility_from_broker_name
- Do not place .py files at root level (besides setup.py)!
- Do not upload big files > 100 MB.
- Do not upload log files.
- Do not declare constant variables in the MIDDLE of a function