项目作者: GerryLarios

项目描述 :
This is crypto trader coded with python, using the bitso api and deployed with docker.
高级语言: Python
项目地址: git://github.com/GerryLarios/bitso-trader.git
创建时间: 2020-06-09T11:52:05Z
项目社区:https://github.com/GerryLarios/bitso-trader

开源协议:

下载


bitso-trader

This app is an etrader coded with python, using the bitso api and setup with docker.

Setup

Set the env file with your credentials

  1. cp .env.sample .env

Write your credentials

  1. POSTGRES_USER=postgres
  2. POSTGRES_PASSWORD=password
  3. POSTGRES_DB=trade_development
  4. HOST=database
  5. PORT=5432
  6. BITSO_API_KEY=123456789IDbitsoapi
  7. BITSO_API_SECRET=123456789secretbitsoapi

Run the app

User docker to setup the app

  1. docker-compose up

if you need to check the database (Postgres) you can run the following app

  1. docker-compose exec database bash

and then you have to enter into psql

  1. psql --dbname=trade_development --user=postgres --host=database

Final notes

DON’T USE THIS BOT TO TRADE! I’M NOT RESPONSABLE OF CASH LOSES!