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

Update volume limits #182

Merged
merged 2 commits into from
Aug 17, 2023
Merged

Update volume limits #182

merged 2 commits into from
Aug 17, 2023

Commits on Aug 17, 2023

  1. Update volume limits

    Updates volume limiting to support
    multiple asset denominations.
    
    Previously, all volume limits were in
    dollars. This approximation worked for
    v1 pools where all assets were worth
    ~1 dollar, but will not work for v2.
    
    Coingecko volumes are now returned
    in the base currency for each pair,
    and volume limits for trades in the
    opposite direction are computed using
    the current price at each tick in the
    volume limited arb pipeline.
    nagakingg committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    df79810 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    76ee67d View commit details
    Browse the repository at this point in the history