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
- Host: GitHub
- URL: https://github.com/coinbase-samples/trade-whiz-py
- Owner: coinbase-samples
- License: apache-2.0
- Created: 2022-10-25T16:24:12.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-31T13:38:08.000Z (almost 2 years ago)
- Last Synced: 2024-07-31T16:56:45.058Z (almost 2 years ago)
- Topics: coinbase, prime, sample
- Language: Python
- Homepage:
- Size: 396 KB
- Stars: 7
- Watchers: 6
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.
> 
## 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).