This repository has been archived by the owner on Feb 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Multiple API & Web UI improvements (#1178)
* Multiple Web UI improvements * Add momentjs (mainly for date/time humanization) * More precise bot uptime (seconds, minutes, hours, days instead of just days) * Display trading chart in server time (for consistence with "My Trades" dates) * Reduce default trading chart range to 30 minutes (from 60) * Sort "My Trades" by date (descending) * Change "Executed Date" to "Execution Time" * Reduce memory util if API is off Populate objects used exclusively by the API only if the API is actually enabled. * Web UI: Add Total to My Trades Total = Size * Price * API: Populate stats on every new period Instead of having to manually "print statistical output" in the console to get them updated. * Web UI: Update Stats & Fix Chart * Color profits (last balance and buy hold) green/red based on win/loss * Use singular and plural for trade(s) and day(s) * Fix chart 1 hour range selector button * Web UI: Widgets * Rename "Asset / Currency" widget to "Capital" and move it up to Market row * Remove leading space from "Last Balance" widget * Limit "vs buy hold" to 10 digits * Add "Error Rate" widget including Win/Loss * Web UI: Format open order dates like complete Looks like i forgot something... * Web UI: Fix Market/Capital row layout on mobile * API: Always calculate fees Fixes #1193 * Profit & Fees * API: Add profit calculation (buy/sell, sell/buy) to my_trades, profit won't be calculated unless there was a previous opposide order (buy profit on previos sell, sell profit on previous buy) * Web UI: Add Fee and Profit column (Closes #1192) * Normalize number formating for consistence and to remove clutter
- Loading branch information
Showing
4 changed files
with
132 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.