Fix link and lowercase variable

This commit is contained in:
Matthias
2020-02-02 10:47:44 +01:00
parent 1ef148317d
commit d64751687b
2 changed files with 3 additions and 3 deletions

View File

@@ -46,8 +46,8 @@ class Binance(Exchange):
It may work with a limited number of other exchanges, but this has not been tested yet.
"""
# Limit price threshold: As limit price should always be below stop-price
LIMIT_PRICE_PCT = order_types.get('stoploss_on_exchange_limit_ratio', 0.99)
rate = stop_price * LIMIT_PRICE_PCT
limit_price_pct = order_types.get('stoploss_on_exchange_limit_ratio', 0.99)
rate = stop_price * limit_price_pct
ordertype = "stop_loss_limit"