-
Get tinkoff API token:
https://tinkoffcreditsystems.github.io/invest-openapi/ -
Install:
git clone https://github.com/hjltu/tinkoff_client.git
cd tinkoff_client
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install requests -
Get tinkoff API token:
https://tinkoffcreditsystems.github.io/invest-openapi/
Add token to the file config.py -
Run:
python test.py
or run in docker:
docker build -f Dockerfile -t tbot .
docker run -ti --rm tbot YOUR_TOKEN