-
Notifications
You must be signed in to change notification settings - Fork 22
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
feat: new mark price methodology #10295
Conversation
89df4b8
to
0fe1dd4
Compare
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.
🍌
084ea7c
to
5d14847
Compare
23355dd
to
915b248
Compare
3d8c08b
to
08fceb7
Compare
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.
LGTM
@@ -329,6 +334,7 @@ func (m *Market) GetState() *types.ExecMarket { | |||
FeeSplitter: m.feeSplitter.GetState(), | |||
SettlementData: sp, | |||
NextMTM: m.nextMTM.UnixNano(), | |||
NextIndexPriceCalc: m.nextIndexPriceCalc.UnixNano(), |
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.
out of scope, but I predict we'll be adding this to market data before too long
Closes #10294
Tests
close https://github.com/vegaprotocol/core-test-coverage/issues/529
close https://github.com/vegaprotocol/core-test-coverage/issues/531
close https://github.com/vegaprotocol/core-test-coverage/issues/545
close https://github.com/vegaprotocol/core-test-coverage/issues/547