Skip to content

xyshell/dbmaster

Repository files navigation

DBMaster

Personal Quant Research Database Manager

Check:

Setup

Choose one of the below approaches to set up.

A. Install from Pypi

For most of users, simply pip install in a python3.12 environment: (py3.10, py3.11 might work for now but don't guarantee in the future)

pip install dbmaster[binance]

Note: you can remove vendor-specific extra requirements if you don't need.

B. Run source code

for developers, contributors, or users who want to have finer control over the code.

  1. Clone this repo:
git clone https://github.com/xyshell/dbmaster
  1. Create a py3.12 virtual environment. if using conda:
conda create -n <name-your-py-env> python=3.12
conda activate <name-your-py-env>
  1. install dependencies
pip install -r requirements.txt
  1. development install
pip install -e .[dev]

C. Install from github release

Find and download the last released package in https://github.com/xyshell/dbmaster/releases.

pip install dbmaster-x.y.z-py3-none-any.whl[binance]

Hello World

Find location of site-packages by pip show dbmaster

Under site-packages/dbmaster/, rename config_example.toml to config.toml and modify the setting for your case. (or override environment variable DBMASTER_CONFIG_PATH to point to your modified config.toml)

See available commands by:

python -m dbmaster -h

Download data by:

python -m dbmaster update kline --vendor=binance --freq=1d  --datefrom=2024-04-01 --symbol="['BTCUSDT', 'ETHUSDT']"

Check /exmaple for more usages.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy