Skip to content

Flask-based API for calculating crypto trading profits/losses. The application uses Coinbase API for fetching historical price data of 150+ cryptocurrencies.

Notifications You must be signed in to change notification settings

mDemianchuk/crypto-profit-calculator

Repository files navigation

Crypto Profit Calculator

Flask-based API for calculating crypto trading profits/losses. The application uses Coinbase API for fetching historical price data of 150+ cryptocurrencies. The local K8s cluster development and deployment is configured with Docker, minikube, and Skaffold.

Prerequisites

How To Run

  1. Clone the repository and navigate to the project directory

    $ git clone git@github.com:mDemianchuk/crypto-profit-calculator.git
    $ cd crypto-profit-calculator
    
  2. Configure and start minikube

    $ minikube start
    
  3. Run skaffold

    $ skaffold dev
    

    * This command will also port forward K8s service (port 5000) to your local machine (port 5005)

  4. Submit your Coinbase Pro statement in the csv format

    $ curl -X POST -F "csv=@/path/to/statement.csv" http://127.0.0.1:5005/api/reports
    

    * Your statements or any other metadata are not uploaded or stored anywhere other than your own machine!

About

Flask-based API for calculating crypto trading profits/losses. The application uses Coinbase API for fetching historical price data of 150+ cryptocurrencies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published