From 3c7105a61aa5151547dd81a3f1aae4375ef67c18 Mon Sep 17 00:00:00 2001 From: Siddharth2207 Date: Thu, 6 Feb 2025 17:45:07 +0530 Subject: [PATCH] akuma<>weth dsf --- .../2-dynamic-spread/dynamic-spread.rain | 117 ++++++++++++++++++ 1 file changed, 117 insertions(+) diff --git a/public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain b/public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain index 3cca2f94..2f577095 100644 --- a/public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain +++ b/public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain @@ -1425,6 +1425,105 @@ gui: - 0.1 - 0.2 - 0.5 + - deployment: base-akuma-weth + name: AKUMA<>WETH on Base. + description: Rotate AKUMA 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 AKUMA) + description: The rough AKUMA price you see for WETH on Dextools (e.g. 0.00000004). + 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 AKUMA 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 AKUMA 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-akuma + min: 0 + presets: + - 0 + - 30000 + - 60000 + - 150000 + - 300000 + - token: base-weth + min: 0 + presets: + - 0 + - 0.05 + - 0.1 + - 0.2 + - 0.5 + @@ -4024,6 +4123,12 @@ scenarios: amount-token: 0xF3907Bc0FFF5Ff5aCf1E3dD7987005779C7bf57d initial-output-token: 0xF3907Bc0FFF5Ff5aCf1E3dD7987005779C7bf57d initial-input-token: 0x4200000000000000000000000000000000000006 + akuma-weth: + runs: 1 + bindings: + amount-token: 0x2F20Cf3466f80A5f7f532fCa553c8cbc9727FEf6 + initial-output-token: 0x2F20Cf3466f80A5f7f532fCa553c8cbc9727FEf6 + initial-input-token: 0x4200000000000000000000000000000000000006 usdc-toshi: runs: 1 bindings: @@ -4650,6 +4755,15 @@ orders: outputs: - token: base-ajna - token: base-weth + base-akuma-weth: + network: base + orderbook: base + inputs: + - token: base-akuma + - token: base-weth + outputs: + - token: base-akuma + - token: base-weth base-usdc-toshi: network: base orderbook: base @@ -4952,6 +5066,9 @@ deployments: base-lucky-weth: order: base-lucky-weth scenario: base.lucky-weth + base-akuma-weth: + order: base-akuma-weth + scenario: base.akuma-weth base-wlth-weth: order: base-wlth-weth scenario: base.wlth-weth