An open API service indexing awesome lists of open source software.

https://github.com/coinbase-samples/trade-whiz-py

Coinbase Prime sample SPA showcasing historical charting with trading indicators, account balances, and buy/sell functionality
https://github.com/coinbase-samples/trade-whiz-py

coinbase prime sample

Last synced: 5 months ago
JSON representation

Coinbase Prime sample SPA showcasing historical charting with trading indicators, account balances, and buy/sell functionality

Awesome Lists containing this project

README

          

# Purpose

This is a single page trading application built for Coinbase Prime using Dash, an open source framework for building Python data apps.

All scripts are written in Python and tested with version 3.8.9.
> ![figure](assets/app.png)
## Installation

Simply clone the repo from your terminal window with the below command.

```bash
git clone https://github.com/coinbase-samples/trade-whiz-py
```

In order to run this, you will need to be running at least Python 3.8 so that you can install some key dependencies. To install dependencies, run the following:
```
pip install -r requirements.txt
```
You will also need API key credentials from a valid Coinbase Prime portfolio in order to use this application.

Add your credentials to ``example.env``, then run this command to rename that file:
```
cp example.env .env
```

You can now run the program with the below command, which will open the application in your default browser window:

```
python app.py
```

For more information around Dash, please visit their [Github](https://github.com/plotly/dash) and [documentation](https://dash.plotly.com/introduction).