-
-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
REFACTOR: Extract and move FeeBudget from xgap #1644
Conversation
} | ||
|
||
func (s *State) IsOver24Hours() bool { | ||
return time.Since(s.AccumulatedFeeStartedAt) >= 24*time.Hour |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we move this to util? it seems like we use it a lot
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
like this https://github.com/c9s/bbgo/pull/1658/files?
892c607
to
9e5b202
Compare
9e5b202
to
9cbf8a0
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1644 +/- ##
==========================================
+ Coverage 22.71% 22.75% +0.03%
==========================================
Files 619 622 +3
Lines 44697 44783 +86
==========================================
+ Hits 10153 10189 +36
- Misses 33810 33855 +45
- Partials 734 739 +5
Continue to review full report in Codecov by Sentry.
|
No description provided.