chrisleekr / binance-trading-bot

Automated Binance trading bot - Trade multiple cryptocurrencies. Buy low/sell high with Grid Trading. Integrated with TradingView technical analysis
MIT License
5.01k stars 1.1k forks source link

feat: customised setting details #625

Closed rando128 closed 1 year ago

rando128 commented 1 year ago

Description

This PR highlights in the coin settings view which setting differs from the global configuration.

This is done with a new function warnIfAttributeCustomised that changes the CSS after comparing the symbol attribute value (this.props.symbolInfo.symbolConfiguration) with the global attribute value (this.props.configuration).

This PR also adds the conservative mode setting in the settings view, since this has not been done in PR #585.

Motivation and Context

When playing with symbol settings, I often struggle to remember what I changed from the global settings and I end up going through a tedious comparison exercise. This feature helps identifying customised settings rapidly.

How Has This Been Tested?

This is working on my prod setup.

Screenshots (if appropriate):

Screenshot 2023-04-22 at 10 52 50 Screenshot 2023-04-22 at 10 53 09
chrisleekr commented 1 year ago

Nice one @rando128

I merged!