skeleton: add notation

This commit is contained in:
c9s 2022-06-22 23:29:29 +08:00
parent 2550528f60
commit 2c5b553d21
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -152,6 +152,7 @@ func (s *Strategy) Run(ctx context.Context, orderExecutor bbgo.OrderExecutor, se
return
}
// totalQuantity = quantityAmount / currentPrice
totalQuantity := quantityAmount.Div(currentPrice)
// Place a market order to the exchange