feat: add grid level suggestions
This commit is contained in:
@@ -114,6 +114,17 @@ class FeeEstimate:
|
||||
return self.commission + self.stamp_tax + self.transfer_fee
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class GridLevelSuggestion:
|
||||
level: int
|
||||
buy_price: Decimal
|
||||
buy_amount: Decimal
|
||||
suggested_quantity: int
|
||||
actual_investment: Decimal
|
||||
sell_price: Decimal
|
||||
estimated_gross_profit: Decimal
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class QuoteSnapshot:
|
||||
symbol: str
|
||||
|
||||
Reference in New Issue
Block a user