mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-23 15:25:14 +00:00
xfunding: notify profit stats
This commit is contained in:
parent
e41f349fe7
commit
665d4ed94b
|
@ -380,6 +380,8 @@ func (s *Strategy) CrossRun(
|
|||
// sync funding fee txns
|
||||
s.syncFundingFeeRecords(ctx, time.Now().Add(-5*24*time.Hour))
|
||||
|
||||
bbgo.Notify(s.ProfitStats)
|
||||
|
||||
switch s.State.PositionState {
|
||||
case PositionClosed:
|
||||
// adjust QuoteInvestment according to the available quote balance
|
||||
|
|
Loading…
Reference in New Issue
Block a user