Giter Site home page Giter Site logo

trading-dashboard's Introduction

Trading Dashboard

Screenshot 2021-11-01 at 18 28 41

Getting started

  • Clone this repository.
  • Create a fresh new API on Binance, with only read rights.
  • In the config folder, edit the api-keys.example.js into api-keys.js and put your new api key/secret.
  • From the root, run yarn install or npm install (one single time)
  • From the root, run yarn start or npm start

Currently only Binance and Futures are supported.

API weight usage

  • Account: Fetching account information cost 5 weight

  • Trades: The initial fetch cost 7 days * 8 chunks * 5 weight = 280 weight. After the initial fetch, it will cost max 8 chunks * 5 weight = 40 weight / minute

  • Income: The initial fetch cost 7 days * 3 chunks * 30 weight = 630 weight. After the initial fetch, it will cost max 3 chunks * 30 weight = 90 weight / minute

  • Total weight consumption: First load of the page 915 weight, after that every minute your data is refreshed automatically and consumes 135 weight / minute.

  • Reminder: Binance API allows you to consume up to 1200 weight / minute / IP.

trading-dashboard's People

Contributors

jezztify avatar migueltg avatar sh-stark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

trading-dashboard's Issues

Limited only to 1000 trades per day

The dashboard works great but seems to be limited to store only the first 1000 trades per day, can you increase the number of trades to be stored per day?

New Colour Theme

I have made a dark colour theme for the dashboard, let me know if your interested in using it!

Capture

React Hook useEffect has missing dependencies

Hello there, how can i resolve this?

src\App.js
Line 65:6: React Hook useEffect has missing dependencies: 'intervalId', 'periodicallyFetchDailyData', 'setAccountRecoil', 'setIncomesRecoil', 'setTradesRecoil', and 'setUpdateTimeRecoil'. Either include them or remove the dependency array react-hooks/exhaustive-deps

src\layouts\dashboard\BTCprice.jsx
Line 20:6: React Hook useEffect has missing dependencies: 'subscribeWebsocket' and 'unsubscribeWebsocket'. Either include them or remove the dependency array react-hooks/exhaustive-deps

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

Module not found: Error: Can't resolve 'crypto'

ERROR in ./src/services/utils.js 3:0-28
Module not found: Error: Can't resolve 'crypto' in 'D:\XXXX\trading-dashboard\src\services'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "crypto": require.resolve("crypto-browserify") }'
- install 'crypto-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "crypto": false }

Hello how can i fix this?

Spot support?

Is Binance Spot going to be supported? What's missing?

how to run the last 6 months?

hello i run it succesful on visual studio code. i want to ask how i fetch the last 6 months trades? what variable should i change? thanks

Forex Dashboard

Hello,

i'm part of a trading bot project based on Forex.

Actually, there is no DIY dashboard for Forex Monitoring and the design of your interface takes it well.

it could be an interesting project !
If you want more information, do not hesitate to contact me through Discord : Clem'#3945 // or by email : contact@btlxcapital . xyz

Thanks by advance,
and Happy New Year !

Syntax Error

Having this issue when trying > yarn start

\trading-dashboard\node_modules\terser-webpack-plugin\node_modules\p-limit\index.js:29
} catch {}
^

SyntaxError: Unexpected token {
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:617:28)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)

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.