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

Show unknown market price warning #1209

Merged
merged 13 commits into from May 15, 2024
Merged

Conversation

tiagofilipenunes
Copy link
Collaborator

  • Check market price is unknown in useWarning
  • Add warning text to LimitRangeSection to use in non-overlapping strategies

- Check market price is unknown in useWarning
- Add warning text to LimitRangeSection to use in non-overlapping strategies
Copy link

cloudflare-pages bot commented May 8, 2024

Deploying carbon-app-sei with  Cloudflare Pages  Cloudflare Pages

Latest commit: d41f5f0
Status: ✅  Deploy successful!
Preview URL: https://3f6e7baf.carbon-app-sei.pages.dev
Branch Preview URL: https://unknown-market-price-warning.carbon-app-sei.pages.dev

View logs

Copy link

cloudflare-pages bot commented May 8, 2024

Deploying carbon-app with  Cloudflare Pages  Cloudflare Pages

Latest commit: d41f5f0
Status: ✅  Deploy successful!
Preview URL: https://bc5e56c4.carbon-app-csq.pages.dev
Branch Preview URL: https://unknown-market-price-warning.carbon-app-csq.pages.dev

View logs

@tiagofilipenunes tiagofilipenunes linked an issue May 9, 2024 that may be closed by this pull request
2 tasks
- If price is not available, center the graph in the middle of the max and min prices
- If the price is not available, hide the market price in the graph
- If the price is not available, hide the price-source text
Base automatically changed from improve-config to main May 9, 2024 14:42
@tiagofilipenunes tiagofilipenunes linked an issue May 9, 2024 that may be closed by this pull request
- Remove getMarketPrice and use useMarketPrice in DebugCreateStrategy
- Replace comparisons of marketPrice with 0 by checks if undefined
- Adjust Overlapping Graph to remove percentage above and below when there is no price
tiagofilipenunes and others added 5 commits May 10, 2024 10:07
….tsx

Co-authored-by: François <francois.guezengar@hotmail.fr>
- Calculate market price percentage inside OverlappingStrategyGraph
- Pass external and old market price in deposit and withdrawal
- Change price source checks and add geometric mean text
@tiagofilipenunes tiagofilipenunes merged commit 1d9dc54 into main May 15, 2024
5 of 6 checks passed
@tiagofilipenunes tiagofilipenunes deleted the unknown-market-price-warning branch May 15, 2024 12:49
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.

Overlapping strategy&trade page bugs [Bug] Strategy creation with unknown market rate token
3 participants