Code Monkey home page Code Monkey logo

trading-app-2's Introduction

Binance Traderat App

This is a small web app about cryptocurrencies and trading. You can use this webapp to learn more about the basics of trading algorithms, check the algorithm's performance (the algorithm is currently offline as it needs to be improved) with the dashboard, track live cryptocurrency price changes ...

How to setup the server and app

Let's walk through a quick guide with steps to get you started with flask served react apps

Step 0 : Create a config.py file

This step is only required if you wish to make this particular app work: Because Traderat App sends requests to the Binance API to get account information and price data, you will need to create a Binance account and generate public and private keys.

This is the sample content of a config.py file that you want to store in the \server directory:

binance = {
    'public_key' : 'your_public_key',
    'secret_key' : 'your_secret_key',
}

production = False

Flask server setup

Go to the flask server directory cd server

Create a new virtual environment to install and isolate project dependencies python -m venv .venv

Activate the virtual environment .venv\Scripts\activate

Update pip if necessary python -m pip install --upgrade pip

Install dependencies listed in requirements.txt pip install flask gunicorn python-binance python-dotenv

List all installed dependencies pip list

React App setup

Install all necessary dependencies listed in app/package.json npm i

How to start the Traderat App

Start the flask server

flask run

Start the react app

npm start

trading-app-2's People

Contributors

github-valie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.