There was an error while loading. Please reload this page.
1 parent 37b1d39 commit ab03f08Copy full SHA for ab03f08
1 file changed
pkg/strategy/xfunding/strategy.go
@@ -378,7 +378,8 @@ func (s *Strategy) CrossRun(
378
bbgo.Notify("State: %s", s.State.PositionState.String())
379
380
// sync funding fee txns
381
- s.syncFundingFeeRecords(ctx, time.Now().Add(-5*24*time.Hour))
+ syncFrom, _ := time.Parse(time.RFC3339, "2024-01-01T00:00:00Z")
382
+ s.syncFundingFeeRecords(ctx, syncFrom)
383
384
bbgo.Notify(s.ProfitStats)
385
0 commit comments