passing pair to get_trade_stake_amount
This commit is contained in:
parent
714ac6dd08
commit
8ea9b3746b
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user