mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 23:05:15 +00:00
xfunding: log collected funding fee
This commit is contained in:
parent
ba0dd68be0
commit
425952d76c
|
@ -406,6 +406,8 @@ func (s *Strategy) CrossRun(ctx context.Context, orderExecutionRouter bbgo.Order
|
|||
log.WithError(err).Error("unable to add funding fee to profitStats")
|
||||
}
|
||||
}
|
||||
|
||||
log.Infof("total collected funding fee: %f %s", s.ProfitStats.TotalFundingFee.Float64(), s.ProfitStats.FundingFeeCurrency)
|
||||
bbgo.Sync(ctx, s)
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user