mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
xalign: improve update message
This commit is contained in:
parent
007f3c9531
commit
45aaad1629
|
@ -289,7 +289,7 @@ func (s *Strategy) align(ctx context.Context, sessions map[string]*bbgo.Exchange
|
||||||
if selectedSession != nil && submitOrder != nil {
|
if selectedSession != nil && submitOrder != nil {
|
||||||
log.Infof("placing order on %s: %+v", selectedSession.Name, submitOrder)
|
log.Infof("placing order on %s: %+v", selectedSession.Name, submitOrder)
|
||||||
|
|
||||||
bbgo.Notify("Aligning position", submitOrder)
|
bbgo.Notify("Aligning position on exchange session %s, delta: %f", selectedSession.Name, q.Float64(), submitOrder)
|
||||||
|
|
||||||
if s.DryRun {
|
if s.DryRun {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue
Block a user