Skip to content

Gradient - #2118

Open
GrandSchtroumpf wants to merge 76 commits into
mainfrom
gradient
Open

Gradient#2118
GrandSchtroumpf wants to merge 76 commits into
mainfrom
gradient

Conversation

@GrandSchtroumpf

@GrandSchtroumpf GrandSchtroumpf commented Mar 19, 2026

Copy link
Copy Markdown
Contributor

Cooked for more than a year in the most secret labs of Bancor. It's ready to take over the world of Defi by storm.
After the PR, nothing will ever be the same again.

Go to debug and set:

Go to Explorer and filter by "Gradient" to see existing gradient strategies

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Mar 19, 2026

Copy link
Copy Markdown

Deploying carbon-app-tac with  Cloudflare Pages  Cloudflare Pages

Latest commit: f0b9d10
Status: ✅  Deploy successful!
Preview URL: https://7483cb68.carbon-app-tac.pages.dev
Branch Preview URL: https://gradient.carbon-app-tac.pages.dev

View logs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Mar 19, 2026

Copy link
Copy Markdown

Deploying carbon-app with  Cloudflare Pages  Cloudflare Pages

Latest commit: f0b9d10
Status: ✅  Deploy successful!
Preview URL: https://2780ddb0.carbon-app-csq.pages.dev
Branch Preview URL: https://gradient.carbon-app-csq.pages.dev

View logs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Mar 19, 2026

Copy link
Copy Markdown

Deploying carbon-app-coti with  Cloudflare Pages  Cloudflare Pages

Latest commit: f0b9d10
Status: ✅  Deploy successful!
Preview URL: https://fa837e44.carbon-app-coti.pages.dev
Branch Preview URL: https://gradient.carbon-app-coti.pages.dev

View logs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Mar 19, 2026

Copy link
Copy Markdown

Deploying carbon-app-ton-tg with  Cloudflare Pages  Cloudflare Pages

Latest commit: f0b9d10
Status: ✅  Deploy successful!
Preview URL: https://8e0ef723.carbon-app-ton-tg.pages.dev
Branch Preview URL: https://gradient.carbon-app-ton-tg.pages.dev

View logs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Mar 19, 2026

Copy link
Copy Markdown

Deploying carbon-app-celo with  Cloudflare Pages  Cloudflare Pages

Latest commit: f0b9d10
Status: ✅  Deploy successful!
Preview URL: https://94a3f176.carbon-app-celo.pages.dev
Branch Preview URL: https://gradient.carbon-app-celo.pages.dev

View logs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Mar 19, 2026

Copy link
Copy Markdown

Deploying carbon-app-sei with  Cloudflare Pages  Cloudflare Pages

Latest commit: f0b9d10
Status: ✅  Deploy successful!
Preview URL: https://85f6b5ea.carbon-app-sei.pages.dev
Branch Preview URL: https://gradient.carbon-app-sei.pages.dev

View logs

@ashachaf

ashachaf commented Apr 30, 2026

Copy link
Copy Markdown
Contributor
  • auction price presets
    when clicking the price presets (below the price input)
    expected: the relevant price (start/end) will be adjusted according to the preset and the line on the chart would also change accordingly
    actual: only the input field change. the line seems to use "market price"

  • auction chart view
    currently:

image

updated: zoom in slightly and make the auction duration to take more of the right side. start price might need to be set at 5% and not 10%.
image

  • input price preset calculation
    auction buy -> price change is positive instead of negative
    other auctions -> incorrect price change

seems that when selecting -5% preset, the price change is in the other direction (up and not down) and at much smaller amount +0.05% (should be 5%)
image

  • delta in quote token
    the delta calculation is using the number as an addition to the sell prices. it should be deduction.
    for example, if i put in 20, the start and end prices should be 20 usdc less than the sell prices.
image
  • default settings
    i would like to maintain 2 default settings (if possible).
  1. stable to stable
  • if the user selects any 2 of the following tokens: usdc, usdt
  • default start price: buy=-0.2%, sell=+0.2%
  • default end price: buy=-0.02%, sell=+0.02%
  1. all the rest -> use the current default settings

@ashachaf

ashachaf commented Jun 3, 2026

Copy link
Copy Markdown
Contributor
  • strategy management menu
    remove the div above the only option
image
  • refine the definition of active/inactive strategy
    both orders are set to begin in the future.
    this means this strategy is inactive at the moment.
image

@ashachaf

ashachaf commented Jun 4, 2026

Copy link
Copy Markdown
Contributor
  • explore (and portfolio) - recently/oldest created sorting
    currently, we use the strategy id to identify old/new strategies and basically sort ascending/descending.
    when mixing 2 controllers, we now have "new" ids which are being pushed down the list and refer to as "old" due to the strategy id sorting.
    update, use create time for this type of sort

@ashachaf

ashachaf commented Jun 4, 2026

Copy link
Copy Markdown
Contributor
image
  • active and inactive grouping
    for static strategies, we display active strategies first and then all inactive ones.
    for time bases, seems that we do not apply the same logic.

  • time based counter
    not sure how viable it is, can we force all blinking to be synced together?
    meaning, they all gray out at the same time when blinking.
    https://github.com/user-attachments/assets/dea07270-48f5-4ca4-887a-839b6221c3f8

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