passing pair to get_trade_stake_amount

This commit is contained in:
misagh 2018-11-04 18:51:54 +01:00
parent 714ac6dd08
commit 8ea9b3746b

View File

@ -410,7 +410,7 @@ class RPC(object):
raise RPCException(f'position for {pair} already open - id: {trade.id}') raise RPCException(f'position for {pair} already open - id: {trade.id}')
# gen stake amount # gen stake amount
stakeamount = self._freqtrade._get_trade_stake_amount() stakeamount = self._freqtrade._get_trade_stake_amount(pair)
# execute buy # execute buy
if self._freqtrade.execute_buy(pair, stakeamount, price): if self._freqtrade.execute_buy(pair, stakeamount, price):