mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +00:00
strategy/supertrend: rename AvailableValue() to AvailableQuote()
This commit is contained in:
parent
eb57e80119
commit
dba1102588
|
@ -140,7 +140,7 @@ func (c *AccountValueCalculator) NetValue(ctx context.Context) (fixedpoint.Value
|
||||||
return accountValue, nil
|
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
|
accountValue := fixedpoint.Zero
|
||||||
|
|
||||||
if len(c.prices) == 0 {
|
if len(c.prices) == 0 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user