mirror of
https://github.com/d0zingcat/deploy.git
synced 2026-06-09 15:11:00 +00:00
(feat) update controllers
This commit is contained in:
@@ -3,7 +3,6 @@ from typing import List
|
||||
|
||||
from pydantic import Field
|
||||
|
||||
from hummingbot.client.config.config_data_types import ClientFieldData
|
||||
from hummingbot.data_feed.candles_feed.data_types import CandlesConfig
|
||||
from hummingbot.strategy_v2.controllers.market_making_controller_base import (
|
||||
MarketMakingControllerBase,
|
||||
@@ -13,9 +12,9 @@ from hummingbot.strategy_v2.executors.position_executor.data_types import Positi
|
||||
|
||||
|
||||
class PMMSimpleConfig(MarketMakingControllerConfigBase):
|
||||
controller_name = "pmm_simple"
|
||||
controller_name: str = "pmm_simple"
|
||||
# As this controller is a simple version of the PMM, we are not using the candles feed
|
||||
candles_config: List[CandlesConfig] = Field(default=[], client_data=ClientFieldData(prompt_on_new=False))
|
||||
candles_config: List[CandlesConfig] = Field(default=[])
|
||||
|
||||
|
||||
class PMMSimpleController(MarketMakingControllerBase):
|
||||
|
||||
Reference in New Issue
Block a user