grid2: add StopIfLessThanMinimalQuoteInvestment doc comment

This commit is contained in:
c9s 2023-03-02 15:53:42 +08:00
parent 11329dffe7
commit 385a97448d
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -140,6 +140,7 @@ type Strategy struct {
// ResetPositionWhenStart resets the position when the strategy is started // ResetPositionWhenStart resets the position when the strategy is started
ResetPositionWhenStart bool `json:"resetPositionWhenStart"` ResetPositionWhenStart bool `json:"resetPositionWhenStart"`
// StopIfLessThanMinimalQuoteInvestment stops the strategy if the quote investment does not match
StopIfLessThanMinimalQuoteInvestment bool `json:"stopIfLessThanMinimalQuoteInvestment"` StopIfLessThanMinimalQuoteInvestment bool `json:"stopIfLessThanMinimalQuoteInvestment"`
// PrometheusLabels will be used as the base prometheus labels // PrometheusLabels will be used as the base prometheus labels