mirror of
https://github.com/aljazceru/hummingbot-dashboard.git
synced 2026-01-04 14:04:26 +01:00
(fix) update dmanv2 controller
This commit is contained in:
@@ -82,7 +82,7 @@ class DManV2(MarketMakingControllerBase):
|
||||
"""
|
||||
close_price = self.get_close_price(self.config.exchange, self.config.trading_pair)
|
||||
amount = order_level.order_amount_usd / close_price
|
||||
price_multiplier, spread_multiplier, side_filter = self.get_price_and_spread_multiplier()
|
||||
price_multiplier, spread_multiplier = self.get_price_and_spread_multiplier()
|
||||
|
||||
price_adjusted = close_price * (1 + price_multiplier)
|
||||
side_multiplier = -1 if order_level.side == TradeType.BUY else 1
|
||||
|
||||
Reference in New Issue
Block a user