Skip to content
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

program: check 5 min oracle twap divergence in trigger order #1116

Merged
merged 4 commits into from
Jul 15, 2024

Conversation

crispheaney
Copy link
Member

No description provided.

validate!(
!oracle_too_divergent_with_twap_5min,
ErrorCode::OrderBreachesOraclePriceLimits,
"oracle price vs twap too dinvergent"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dinvergent ser

@crispheaney crispheaney merged commit fd85513 into master Jul 15, 2024
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants