From 8ea9b3746bfbedc20983b32fcbb5ebdaa5661dc4 Mon Sep 17 00:00:00 2001 From: misagh Date: Sun, 4 Nov 2018 18:51:54 +0100 Subject: [PATCH] passing pair to get_trade_stake_amount --- freqtrade/rpc/rpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/rpc/rpc.py b/freqtrade/rpc/rpc.py index c3cbce2e7..7e7b60ebc 100644 --- a/freqtrade/rpc/rpc.py +++ b/freqtrade/rpc/rpc.py @@ -410,7 +410,7 @@ class RPC(object): raise RPCException(f'position for {pair} already open - id: {trade.id}') # gen stake amount - stakeamount = self._freqtrade._get_trade_stake_amount() + stakeamount = self._freqtrade._get_trade_stake_amount(pair) # execute buy if self._freqtrade.execute_buy(pair, stakeamount, price):