Skip to content

patriciabonaldy/trade-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

technology Go

Overview

Trade apps is an app for trading users. It gives you the average price security has traded at throughout the day, based on both volume and price in real-time. In this app you'll get all the information without the noise that occurs throughout the day, you are going to get real data from the coinbase platform.

Zero app uses a client WebSocket to connect to coinbase, you can set up the pair coins that you want to trade, also the number of data points

Setup:

  • Create a .env file and add the follow:
# Pair of coins (you can place the ones you want) without spaces
TRADING_PAIR=BTC-USD,ETH-USD,ETH-BTC
# url of websocket coinbase
BROKER_URL=wss://ws-feed.exchange.coinbase.com
# max size of a sliding window
MAX_SIZE=200
  • Run follow command:
make setup

Run app

  • run the follow command:
make run

Testing

make test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published