jule64 / binancetrader Goto Github PK
View Code? Open in Web Editor NEWA fast and minimalist front end to trade cryptos on Binance
A fast and minimalist front end to trade cryptos on Binance
Currently a ticker added to the UI via the "Add ticker" function will disappear from the list on app restart. We want to fix this by persisting the tickers to main watchlist.
Dependency: this feature is dependent on #1 to be implemented first as currently the main watchlist in configured in a json file.
The tickers watchlist is currently configured in appData.json
. We want to have this list in a db table instead.
Since we do not use a db in the project yet I suggest going for SQLite as the db provider however happy to use something else if anyone has knows of a better option.
When a ticker is added via the "Add ticker" button, any existing position in that ticker doesn't display on the UI when it should.
Similarly if a user has no prior position in a ticker and adds that ticker using the "Add ticker" function, then any position he opens afterwards will not will not be displayed either. See example screenshots below for illustration.
Current workaround is to add the ticker to the static "tickerWatchlist" in appData.json
and restart the app so that the ticker gets displayed.
Example replication:
We currently use the 'quantity' field of the order execution confirmation to update the ticker balance in the UI (see 'orders:fill' event). This is wrong as the quantity is the original order quantity not the executed quantity. This is a problem when an order is executed in multiple slices, as usually happens with limit orders, as now we update the ticker balance with the original quantity every time a slice is executed. This cause the final displayed balance to be incorrect.
Using the 'lastTradeQuantity' value of the order confirmation instead should fix the problem
Currently the app works only for tickers denominated in BUSD. So for example ETH/BUSD
While this works for most coins it doesn't work for coins listed against other stable coins (or any denominator other than BUSD for that matter), for example ARB/USDT.
So by this change we want to fix the issue for the USDT case first, as this will take care of most of the tickers that are currently not listed in BUSD. Later we can generalise the logic so that the app works for any denominator.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.