beeb / pancaketrade

Limit orders for PancakeSwap
GNU General Public License v3.0
200 stars 92 forks source link

Added option to display and setup prices in USD per token instead of BNB per token #85

Closed beeb closed 2 years ago

beeb commented 2 years ago

The new option price_in_usd makes it so that prices and profits are shown in dollar amounts instead of BNB.

If tokens already have their effective buy price set, or orders with a limit price are already existing, the values will be converted to USD on first launch after the option was changed. Likewise, if the option is later changed back to false, the prices are converted to BNB again.

Note: buy orders will still use BNB as input, and sells will always provide BNB as output. This will be customizable in a later update.