strategy/supertrend: rename AvailableValue() to AvailableQuote()

This commit is contained in:
Andy Cheng 2022-08-05 15:38:19 +08:00
parent eb57e80119
commit dba1102588

View File

@ -140,7 +140,7 @@ func (c *AccountValueCalculator) NetValue(ctx context.Context) (fixedpoint.Value
return accountValue, nil
}
func (c *AccountValueCalculator) AvailableValue(ctx context.Context) (fixedpoint.Value, error) {
func (c *AccountValueCalculator) AvailableQuote(ctx context.Context) (fixedpoint.Value, error) {
accountValue := fixedpoint.Zero
if len(c.prices) == 0 {