Skip to content

Commit

Permalink
ajna<>weth dsf
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth2207 committed Feb 6, 2025
1 parent a241b62 commit 71476f4
Showing 1 changed file with 121 additions and 0 deletions.
121 changes: 121 additions & 0 deletions public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain
Original file line number Diff line number Diff line change
Expand Up @@ -1229,6 +1229,105 @@ gui:
- 0.1
- 0.2
- 0.5
- deployment: base-ajna-weth
name: AJNA<>WETH on Base.
description: Rotate AJNA and WETH on Base.

fields:
- binding: is-fast-exit
name: Fast exit?
description: If enabled, the strategy will attempt to exit any position it builds up in a single trade, as soon as it can do so profitably.
presets:
- name: Yes
value: 1
- name: No
value: 0
- binding: initial-io
name: Initial price (WETH per AJNA)
description: The rough AJNA price you see for WETH on Dextools (e.g. 0.00000096).
min: 0
- binding: next-trade-multiplier
name: Next trade multiplier
description: This is the most the strategy will move the price in a single trade. Larger numbers will capture larger price jumps but trade less often, smaller numbers will trade more often but be less defensive against large price jumps in the market.
min: 1
presets:
- name: 1.01x
value: 1.01
- name: 1.02x
value: 1.02
- name: 1.05x
value: 1.05
- binding: cost-basis-multiplier
name: Cost basis multiplier
description: The minimum spread applied to the breakeven in addition to the auction. This is applied in both directions so 1.01x would be a 2% total spread.
min: 1
presets:
- name: 1 (auction spread only)
value: 1
- name: 1.0005x (0.1% total)
value: 1.0005
- name: 1.001x (0.2% total)
value: 1.001
- name: 1.0025x (0.5% total)
value: 1.0025
- name: 1.005x (1% total)
value: 1.005
- binding: time-per-epoch
name: Time per halving (seconds)
description: The amount of time (in seconds) between halvings of the price and the amount offered during each auction, relative to their baselines.
min: 600
presets:
- name: 1 hour (3600)
value: 3600
- name: 2 hours (7200)
value: 7200
- name: 4 hours (14400)
value: 14400
- name: 8 hours (28800)
value: 28800
- binding: max-amount
name: Max amount
description: The maximum amount of AJNA that will be offered in a single auction.
min: 1550
presets:
- name: 3100
value: 3100
- name: 6200
value: 6200
- name: 15550
value: 15550
- name: 30900
value: 30900
- binding: min-amount
name: Minimum amount
description: The minimum amount of AJNA that will be offered in a single auction.
min: 1550
presets:
- name: 1550
value: 1550
- name: 3100
value: 3100
- name: 6200
value: 6200

deposits:
- token: base-ajna
min: 0
presets:
- 0
- 30000
- 60000
- 150000
- 300000
- token: base-weth
min: 0
presets:
- 0
- 0.05
- 0.1
- 0.2
- 0.5



- deployment: base-usdc-paid
Expand Down Expand Up @@ -3814,6 +3913,12 @@ scenarios:
amount-token: 0x99b2B1A2aDB02B38222ADcD057783D7e5D1FCC7D
initial-output-token: 0x99b2B1A2aDB02B38222ADcD057783D7e5D1FCC7D
initial-input-token: 0x4200000000000000000000000000000000000006
ajan-weth:
runs: 1
bindings:
amount-token: 0x7F05a7A9AF2f5a07D1e64877C8dC37a64a22508E
initial-output-token: 0x7F05a7A9AF2f5a07D1e64877C8dC37a64a22508E
initial-input-token: 0x4200000000000000000000000000000000000006
usdc-toshi:
runs: 1
bindings:
Expand Down Expand Up @@ -4202,6 +4307,10 @@ tokens:
network: base
address: 0x655A51e6803faF50D4acE80fa501af2F29C856cF
decimals: 18
base-ajna:
network: base
address: 0x7F05a7A9AF2f5a07D1e64877C8dC37a64a22508E
decimals: 18
base-sarco:
network: base
address: 0xF3907Bc0FFF5Ff5aCf1E3dD7987005779C7bf57d
Expand Down Expand Up @@ -4418,6 +4527,15 @@ orders:
outputs:
- token: base-wlth
- token: base-weth
base-ajna-weth:
network: base
orderbook: base
inputs:
- token: base-ajna
- token: base-weth
outputs:
- token: base-ajna
- token: base-weth
base-usdc-toshi:
network: base
orderbook: base
Expand Down Expand Up @@ -4723,6 +4841,9 @@ deployments:
base-wlth-weth:
order: base-wlth-weth
scenario: base.wlth-weth
base-ajna-weth:
order: base-ajna-weth
scenario: base.ajna-weth
base-usdc-toshi:
order: base-usdc-toshi
scenario: base.usdc-toshi
Expand Down

0 comments on commit 71476f4

Please sign in to comment.