mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
xfunding: notify profit stats
This commit is contained in:
parent
7f0325b193
commit
192c29b122
|
@ -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