Skip to content
This repository was archived by the owner on Oct 3, 2026. It is now read-only.
This repository was archived by the owner on Oct 3, 2026. It is now read-only.

enforce positive invariant and max EPSILON for trading functions #15

Open

Description

@Autoparallel

Idea

When we have our bisection yield us a value now that is validated -EPSILON < invariant < EPSILON we need to instead take:

  • 0<= invariant < epsilon (which means adjusting how we do bisection a bit)
  • epsilon< MAX where MAX is chosen such that the trading curve maintains convexity.

Activity

  1. added
    🧹 improvement
    on Feb 22, 2024
  2. added this to the 🔍 Contracts Audit milestone on Feb 24, 2024
  3. self-assigned this
    on Feb 28, 2024
  4. added
    📃 contracts
    on Feb 28, 2024
  5. assigned and unassigned on Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

📃 contracts🧹 improvement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions