From b45383e2904330711bdd7eed45e587c4757df573 Mon Sep 17 00:00:00 2001 From: thedavidmeister Date: Sat, 18 Jan 2025 18:49:59 +0400 Subject: [PATCH 1/5] fast one side --- .../2-dynamic-spread/dynamic-spread.rain | 567 +++++++++++++----- 1 file changed, 416 insertions(+), 151 deletions(-) diff --git a/public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain b/public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain index 3b3407df..5bda7860 100644 --- a/public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain +++ b/public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain @@ -10,9 +10,17 @@ gui: description: Rotate USDGLO and LUSD on Arbitrum. 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. + - binding: amount-is-fast-exit + name: Fast exit USDGLO? + description: If enabled, the strategy will attempt to exit any USDGLO 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: not-amount-is-fast-exit + name: Fast exit LUSD? + description: If enabled, the strategy will attempt to exit any LUSD position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -108,9 +116,17 @@ gui: description: Rotate WPOL (WMATIC) and QUICK on Polygon. 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. + - binding: amount-is-fast-exit + name: Fast exit QUICK? + description: If enabled, the strategy will attempt to exit any QUICK 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: not-amount-is-fast-exit + name: Fast exit WPOL/WMATIC? + description: If enabled, the strategy will attempt to exit any WPOL/WMATIC position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -191,9 +207,17 @@ gui: description: Rotate QUICK (old) and QUICK on Polygon. 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. + - binding: amount-is-fast-exit + name: Fast exit QUICK (new)? + description: If enabled, the strategy will attempt to exit any QUICK (new) 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: not-amount-is-fast-exit + name: Fast exit QUICK (old)? + description: If enabled, the strategy will attempt to exit any QUICK (old) position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -289,9 +313,17 @@ gui: description: Rotate USDC and IOEN on Polygon. 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. + - binding: amount-is-fast-exit + name: Fast exit USDC? + description: If enabled, the strategy will attempt to exit any USDC 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: not-amount-is-fast-exit + name: Fast exit IOEN? + description: If enabled, the strategy will attempt to exit any IOEN position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -382,9 +414,17 @@ gui: description: Rotate USDC and MNW on Polygon. 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. + - binding: amount-is-fast-exit + name: Fast exit USDC? + description: If enabled, the strategy will attempt to exit any USDC 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: not-amount-is-fast-exit + name: Fast exit MNW? + description: If enabled, the strategy will attempt to exit any MNW position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -475,9 +515,17 @@ gui: description: Rotate USDT and POLI on Polygon. 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. + - binding: amount-is-fast-exit + name: Fast exit USDT? + description: If enabled, the strategy will attempt to exit any USDT 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: not-amount-is-fast-exit + name: Fast exit POLI? + description: If enabled, the strategy will attempt to exit any POLI position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -570,9 +618,17 @@ gui: description: Rotate WETH and MNW on Polygon. 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. + - binding: amount-is-fast-exit + name: Fast exit WETH? + description: If enabled, the strategy will attempt to exit any WETH 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: not-amount-is-fast-exit + name: Fast exit MNW? + description: If enabled, the strategy will attempt to exit any MNW position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -662,9 +718,17 @@ gui: description: Rotate USDT and NHT on Polygon. 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. + - binding: amount-is-fast-exit + name: Fast exit USDT? + description: If enabled, the strategy will attempt to exit any USDT 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: not-amount-is-fast-exit + name: Fast exit NHT? + description: If enabled, the strategy will attempt to exit any NHT position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -755,9 +819,17 @@ gui: description: Rotate USDCe and GFI on Polygon. 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. + - binding: amount-is-fast-exit + name: Fast exit USDCe? + description: If enabled, the strategy will attempt to exit any USDCe 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: not-amount-is-fast-exit + name: Fast exit GFI? + description: If enabled, the strategy will attempt to exit any GFI position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -849,9 +921,17 @@ gui: description: Rotate USDC 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. + - binding: amount-is-fast-exit + name: Fast exit USDC? + description: If enabled, the strategy will attempt to exit any USDC 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: not-amount-is-fast-exit + name: Fast exit WETH? + description: If enabled, the strategy will attempt to exit any WETH position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -901,7 +981,7 @@ gui: - name: 8 hours (28800) value: 28800 - binding: max-amount - name: Max amount + name: Max amount (USDC) description: The maximum amount of USDC that will be offered in a single auction. min: 5 presets: @@ -914,7 +994,7 @@ gui: - name: $100 value: 100 - binding: min-amount - name: Minimum amount + name: Minimum amount (USDC) description: The minimum amount of USDC that will be offered in a single auction. min: 5 presets: @@ -947,9 +1027,17 @@ gui: description: Rotate LUCKY 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. + - binding: amount-is-fast-exit + name: Fast exit LUCKY? + description: If enabled, the strategy will attempt to exit any LUCKY 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: not-amount-is-fast-exit + name: Fast exit WETH? + description: If enabled, the strategy will attempt to exit any WETH position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -999,7 +1087,7 @@ gui: - name: 8 hours (28800) value: 28800 - binding: max-amount - name: Max amount + name: Max amount (LUCKY) description: The maximum amount of LUCKY that will be offered in a single auction. min: 1550 presets: @@ -1012,7 +1100,7 @@ gui: - name: 30900 value: 30900 - binding: min-amount - name: Minimum amount + name: Minimum amount (LUCKY) description: The minimum amount of LUCKY that will be offered in a single auction. min: 1550 presets: @@ -1046,9 +1134,17 @@ gui: description: Rotate USDC and PAID 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. + - binding: amount-is-fast-exit + name: Fast exit USDC? + description: If enabled, the strategy will attempt to exit any USDC 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: not-amount-is-fast-exit + name: Fast exit PAID? + description: If enabled, the strategy will attempt to exit any PAID position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -1098,7 +1194,7 @@ gui: - name: 8 hours (28800) value: 28800 - binding: max-amount - name: Max amount + name: Max amount (USDC) description: The maximum amount of USDC that will be offered in a single auction. min: 5 presets: @@ -1111,7 +1207,7 @@ gui: - name: $100 value: 100 - binding: min-amount - name: Minimum amount + name: Minimum amount (USDC) description: The minimum amount of USDC that will be offered in a single auction. min: 5 presets: @@ -1144,9 +1240,17 @@ gui: description: Rotate USDC and TOAST 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. + - binding: amount-is-fast-exit + name: Fast exit USDC? + description: If enabled, the strategy will attempt to exit any USDC 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: not-amount-is-fast-exit + name: Fast exit TOAST? + description: If enabled, the strategy will attempt to exit any TOAST position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -1196,7 +1300,7 @@ gui: - name: 8 hours (28800) value: 28800 - binding: max-amount - name: Max amount + name: Max amount (USDC) description: The maximum amount of USDC that will be offered in a single auction. min: 5 presets: @@ -1209,7 +1313,7 @@ gui: - name: $100 value: 100 - binding: min-amount - name: Minimum amount + name: Minimum amount (USDC) description: The minimum amount of USDC that will be offered in a single auction. min: 5 presets: @@ -1242,9 +1346,17 @@ gui: description: Rotate USDC and WETH on Arbitrum. 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. + - binding: amount-is-fast-exit + name: Fast exit USDC? + description: If enabled, the strategy will attempt to exit any USDC 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: not-amount-is-fast-exit + name: Fast exit WETH? + description: If enabled, the strategy will attempt to exit any WETH position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -1294,7 +1406,7 @@ gui: - name: 8 hours (28800) value: 28800 - binding: max-amount - name: Max amount + name: Max amount (USDC) description: The maximum amount of USDC that will be offered in a single auction. min: 5 presets: @@ -1307,7 +1419,7 @@ gui: - name: $100 value: 100 - binding: min-amount - name: Minimum amount + name: Minimum amount (USDC) description: The minimum amount of USDC that will be offered in a single auction. min: 5 presets: @@ -1341,9 +1453,17 @@ gui: description: Rotate USDT and KIMA on Arbitrum. 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. + - binding: amount-is-fast-exit + name: Fast exit USDT? + description: If enabled, the strategy will attempt to exit any USDT 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: not-amount-is-fast-exit + name: Fast exit KIMA? + description: If enabled, the strategy will attempt to exit any KIMA position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -1393,7 +1513,7 @@ gui: - name: 8 hours (28800) value: 28800 - binding: max-amount - name: Max amount + name: Max amount (USDT) description: The maximum amount of USDT that will be offered in a single auction. min: 5 presets: @@ -1406,7 +1526,7 @@ gui: - name: 100 value: 100 - binding: min-amount - name: Minimum amount + name: Minimum amount (USDT) description: The minimum amount of USDT that will be offered in a single auction. min: 5 presets: @@ -1440,9 +1560,17 @@ gui: description: Rotate WBTC and WETH on Arbitrum. 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. + - binding: amount-is-fast-exit + name: Fast exit WBTC? + description: If enabled, the strategy will attempt to exit any WBTC 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: not-amount-is-fast-exit + name: Fast exit WETH? + description: If enabled, the strategy will attempt to exit any WETH position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -1492,7 +1620,7 @@ gui: - name: 8 hours (28800) value: 28800 - binding: max-amount - name: Max amount + name: Max amount (WBTC) description: The maximum amount of WBTC that will be offered in a single auction. min: 0.00005 presets: @@ -1505,7 +1633,7 @@ gui: - name: 0.1 value: 0.1 - binding: min-amount - name: Minimum amount + name: Minimum amount (WBTC) description: The minimum amount of WBTC that will be offered in a single auction. min: 0.00005 presets: @@ -1537,9 +1665,17 @@ gui: description: Rotate USDC and TOSHI 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. + - binding: amount-is-fast-exit + name: Fast exit USDC? + description: If enabled, the strategy will attempt to exit any USDC 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: not-amount-is-fast-exit + name: Fast exit TOSHI? + description: If enabled, the strategy will attempt to exit any TOSHI position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -1589,7 +1725,7 @@ gui: - name: 8 hours (28800) value: 28800 - binding: max-amount - name: Max amount + name: Max amount (USDC) description: The maximum amount of USDC that will be offered in a single auction. min: 0 presets: @@ -1602,7 +1738,7 @@ gui: - name: $100 value: 100 - binding: min-amount - name: Minimum amount + name: Minimum amount (USDC) description: The minimum amount of USDC that will be offered in a single auction. min: 0 presets: @@ -1633,9 +1769,17 @@ gui: description: Rotate sFLR (Sceptre staked FLR) and WFLR on Flare. 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. + - binding: amount-is-fast-exit + name: Fast exit sFLR? + description: If enabled, the strategy will attempt to exit any sFLR 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: not-amount-is-fast-exit + name: Fast exit WFLR? + description: If enabled, the strategy will attempt to exit any WFLR position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -1685,7 +1829,7 @@ gui: - name: 8 hours (28800) value: 28800 - binding: max-amount - name: Max amount + name: Max amount (sFLR) description: The maximum amount of sFLR that will be offered in a single auction. min: 0 presets: @@ -1698,7 +1842,7 @@ gui: - name: 100000 value: 100000 - binding: min-amount - name: Minimum amount + name: Minimum amount (sFLR) description: The minimum amount of sFLR that will be offered in a single auction. min: 0 presets: @@ -1729,9 +1873,17 @@ gui: description: Rotate cUSDX and cysFLR on Flare. 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. + - binding: amount-is-fast-exit + name: Fast exit cUSDX? + description: If enabled, the strategy will attempt to exit any cUSDX 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: not-amount-is-fast-exit + name: Fast exit cysFLR? + description: If enabled, the strategy will attempt to exit any cysFLR position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -1781,7 +1933,7 @@ gui: - name: 8 hours (28800) value: 28800 - binding: max-amount - name: Max amount + name: Max amount (cUSDX) description: The maximum amount of cUSDX that will be offered in a single auction. min: 0 presets: @@ -1792,7 +1944,7 @@ gui: - name: 1000 value: 1000 - binding: min-amount - name: Minimum amount + name: Minimum amount (cUSDX) description: The minimum amount of cUSDX that will be offered in a single auction. min: 0 presets: @@ -1818,15 +1970,23 @@ gui: - 100 - 200 - 500 - + - deployment: flare-xvn-wflr name: XVN<>WFLR on Flare. description: Rotate XVN and WFLR on Flare. 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. + - binding: amount-is-fast-exit + name: Fast exit WFLR? + description: If enabled, the strategy will attempt to exit any WFLR 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: not-amount-is-fast-exit + name: Fast exit XVN? + description: If enabled, the strategy will attempt to exit any XVN position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -1876,7 +2036,7 @@ gui: - name: 8 hours (28800) value: 28800 - binding: max-amount - name: Max amount + name: Max amount (WFLR) description: The maximum amount of WFLR that will be offered in a single auction. min: 0 presets: @@ -1887,7 +2047,7 @@ gui: - name: 10000 value: 10000 - binding: min-amount - name: Minimum amount + name: Minimum amount (WFLR) description: The minimum amount of WFLR that will be offered in a single auction. min: 0 presets: @@ -1913,15 +2073,23 @@ gui: - 10000 - 20000 - 50000 - + - deployment: flare-usdce-cusdx name: USDCe<>cUSDX on Flare. description: Rotate USDCe and cUSDX on Flare. 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. + - binding: amount-is-fast-exit + name: Fast exit USDCe? + description: If enabled, the strategy will attempt to exit any USDCe 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: not-amount-is-fast-exit + name: Fast exit cUSDX? + description: If enabled, the strategy will attempt to exit any cUSDX position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -1971,7 +2139,7 @@ gui: - name: 8 hours (28800) value: 28800 - binding: max-amount - name: Max amount + name: Max amount (USDCe) description: The maximum amount of USDCe that will be offered in a single auction. min: 0 presets: @@ -1982,7 +2150,7 @@ gui: - name: 1000 value: 1000 - binding: min-amount - name: Minimum amount + name: Minimum amount (USDCe) description: The minimum amount of USDCe that will be offered in a single auction. min: 0 presets: @@ -2014,9 +2182,17 @@ gui: description: Rotate USDC.e (Bridged USDC on Stargate) and sFLR on Flare. 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. + - binding: amount-is-fast-exit + name: Fast exit USDC.e? + description: If enabled, the strategy will attempt to exit any USDC.e 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: not-amount-is-fast-exit + name: Fast exit sFLR? + description: If enabled, the strategy will attempt to exit any sFLR position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -2064,7 +2240,7 @@ gui: - name: 8 hours (28800) value: 28800 - binding: max-amount - name: Max amount + name: Max amount (USDC.e) description: The maximum amount of USDC.e that will be offered in a single auction. min: 0 presets: @@ -2077,7 +2253,7 @@ gui: - name: $100 value: 100 - binding: min-amount - name: Minimum amount + name: Minimum amount (USDC.e) description: The minimum amount of USDC.e that will be offered in a single auction. min: 0 presets: @@ -2108,9 +2284,17 @@ gui: description: Rotate USDC.e (Bridged USDC on Stargate) and WETH on Flare. 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. + - binding: amount-is-fast-exit + name: Fast exit USDC.e? + description: If enabled, the strategy will attempt to exit any USDC.e 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: not-amount-is-fast-exit + name: Fast exit WETH? + description: If enabled, the strategy will attempt to exit any WETH position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -2160,7 +2344,7 @@ gui: - name: 8 hours (28800) value: 28800 - binding: max-amount - name: Max amount + name: Max amount (USDC.e) description: The maximum amount of USDC.e that will be offered in a single auction. min: 1 presets: @@ -2173,7 +2357,7 @@ gui: - name: $100 value: 100 - binding: min-amount - name: Minimum amount + name: Minimum amount (USDC.e) description: The minimum amount of USDC.e that will be offered in a single auction. min: 1 presets: @@ -2205,9 +2389,17 @@ gui: description: Rotate USDC.e (Bridged USDC on Stargate) and WFLR on Flare. 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. + - binding: amount-is-fast-exit + name: Fast exit USDC.e? + description: If enabled, the strategy will attempt to exit any USDC.e 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: not-amount-is-fast-exit + name: Fast exit WFLR? + description: If enabled, the strategy will attempt to exit any WFLR position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -2255,7 +2447,7 @@ gui: - name: 8 hours (28800) value: 28800 - binding: max-amount - name: Max amount + name: Max amount (USDC.e) description: The maximum amount of USDC.e that will be offered in a single auction. min: 0 presets: @@ -2268,7 +2460,7 @@ gui: - name: $100 value: 100 - binding: min-amount - name: Minimum amount + name: Minimum amount (USDC.e) description: The minimum amount of USDC.e that will be offered in a single auction. min: 0 presets: @@ -2300,9 +2492,17 @@ gui: description: Rotate sFLR (Sceptre staked FLR) and JOULE on Flare. 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. + - binding: amount-is-fast-exit + name: Fast exit sFLR? + description: If enabled, the strategy will attempt to exit any sFLR 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: not-amount-is-fast-exit + name: Fast exit JOULE? + description: If enabled, the strategy will attempt to exit any JOULE position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -2352,7 +2552,7 @@ gui: - name: 8 hours (28800) value: 28800 - binding: max-amount - name: Max amount + name: Max amount (sFLR) description: The maximum amount of sFLR that will be offered in a single auction. min: 0 presets: @@ -2365,7 +2565,7 @@ gui: - name: 5000 sFLR value: 5000 - binding: min-amount - name: Minimum amount + name: Minimum amount (sFLR) description: The minimum amount of sFLR that will be offered in a single auction. min: 0 presets: @@ -2397,9 +2597,17 @@ gui: description: Rotate USDC and BLOOD 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. + - binding: amount-is-fast-exit + name: Fast exit USDC? + description: If enabled, the strategy will attempt to exit any USDC 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: not-amount-is-fast-exit + name: Fast exit BLOOD? + description: If enabled, the strategy will attempt to exit any BLOOD position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -2449,7 +2657,7 @@ gui: - name: 8 hours (28800) value: 28800 - binding: max-amount - name: Max amount + name: Max amount (USDC) description: The maximum amount of USDC that will be offered in a single auction. min: 5 presets: @@ -2462,7 +2670,7 @@ gui: - name: $100 value: 100 - binding: min-amount - name: Minimum amount + name: Minimum amount (USDC) description: The minimum amount of USDC that will be offered in a single auction. min: 5 presets: @@ -2495,9 +2703,17 @@ gui: description: Rotate CLIP and WETH on Linea. 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. + - binding: amount-is-fast-exit + name: Fast exit WETH? + description: If enabled, the strategy will attempt to exit any WETH 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: not-amount-is-fast-exit + name: Fast exit CLIP? + description: If enabled, the strategy will attempt to exit any CLIP position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -2547,7 +2763,7 @@ gui: - name: 8 hours (28800) value: 28800 - binding: max-amount - name: Max amount + name: Max amount (WETH) description: The maximum amount of WETH that will be offered in a single auction. min: 0.02 presets: @@ -2558,7 +2774,7 @@ gui: - name: 10 ETH value: 10 - binding: min-amount - name: Minimum amount + name: Minimum amount (WETH) description: The minimum amount of WETH that will be offered in a single auction. min: 0.005 presets: @@ -2590,9 +2806,17 @@ gui: description: Rotate PAI and WETH on Ethereum. 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. + - binding: amount-is-fast-exit + name: Fast exit WETH? + description: If enabled, the strategy will attempt to exit any WETH 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: not-amount-is-fast-exit + name: Fast exit PAI? + description: If enabled, the strategy will attempt to exit any PAI position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -2642,7 +2866,7 @@ gui: - name: 24 hours (86400) value: 86400 - binding: max-amount - name: Max amount + name: Max amount (WETH) description: The maximum amount of WETH that will be offered in a single auction. min: 1 presets: @@ -2657,7 +2881,7 @@ gui: - name: 20 WETH value: 20 - binding: min-amount - name: Minimum amount + name: Minimum amount (WETH) description: The minimum amount of WETH that will be offered in a single auction. min: 1 presets: @@ -2690,9 +2914,17 @@ gui: description: Rotate MNW and WETH on Ethereum. 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. + - binding: amount-is-fast-exit + name: Fast exit WETH? + description: If enabled, the strategy will attempt to exit any WETH 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: not-amount-is-fast-exit + name: Fast exit MNW? + description: If enabled, the strategy will attempt to exit any MNW position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -2742,7 +2974,7 @@ gui: - name: 24 hours (86400) value: 86400 - binding: max-amount - name: Max amount + name: Max amount (WETH) description: The maximum amount of WETH that will be offered in a single auction. min: 1 presets: @@ -2757,7 +2989,7 @@ gui: - name: 20 WETH value: 20 - binding: min-amount - name: Minimum amount + name: Minimum amount (WETH) description: The minimum amount of WETH that will be offered in a single auction. min: 1 presets: @@ -2789,9 +3021,17 @@ gui: name: BUSD<>TFT on BSC. description: Rotate BUSD and TFT on BSC. 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. + - binding: amount-is-fast-exit + name: Fast exit BUSD? + description: If enabled, the strategy will attempt to exit any BUSD 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: not-amount-is-fast-exit + name: Fast exit TFT? + description: If enabled, the strategy will attempt to exit any TFT position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -2841,7 +3081,7 @@ gui: - name: 8 hours (28800) value: 28800 - binding: max-amount - name: Max amount + name: Max amount (BUSD) description: The maximum amount of BUSD that will be offered in a single auction. min: 50 presets: @@ -2854,7 +3094,7 @@ gui: - name: $1000 value: 1000 - binding: min-amount - name: Minimum amount + name: Minimum amount (BUSD) description: The minimum amount of BUSD that will be offered in a single auction. min: 20 presets: @@ -2885,9 +3125,17 @@ gui: name: USDC<>TFT on BSC. description: Rotate USDC and TFT on BSC. 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. + - binding: amount-is-fast-exit + name: Fast exit USDC? + description: If enabled, the strategy will attempt to exit any USDC 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: not-amount-is-fast-exit + name: Fast exit TFT? + description: If enabled, the strategy will attempt to exit any TFT position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -2937,7 +3185,7 @@ gui: - name: 8 hours (28800) value: 28800 - binding: max-amount - name: Max amount + name: Max amount (USDC) description: The maximum amount of USDC that will be offered in a single auction. min: 20 presets: @@ -2950,7 +3198,7 @@ gui: - name: $1000 value: 1000 - binding: min-amount - name: Minimum amount + name: Minimum amount (USDC) description: The minimum amount of USDC that will be offered in a single auction. min: 20 presets: @@ -2981,9 +3229,17 @@ gui: name: WETH<>UMJA on Arbitrum. description: Rotate WETH and UMJA on Arbitrum. 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. + - binding: amount-is-fast-exit + name: Fast exit WETH? + description: If enabled, the strategy will attempt to exit any WETH 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: not-amount-is-fast-exit + name: Fast exit UMJA? + description: If enabled, the strategy will attempt to exit any UMJA position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -3033,7 +3289,7 @@ gui: - name: 8 hours (28800) value: 28800 - binding: max-amount - name: Max amount + name: Max amount (WETH) description: The maximum amount of WETH that will be offered in a single auction. min: 0.001 presets: @@ -3046,7 +3302,7 @@ gui: - name: 0.1 ETH value: 0.1 - binding: min-amount - name: Minimum amount + name: Minimum amount (WETH) description: The minimum amount of WETH that will be offered in a single auction. min: 0.001 presets: @@ -3078,9 +3334,17 @@ gui: name: WLTH<>USDC on Base. description: Rotate WLTH and USDC 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. + - binding: amount-is-fast-exit + name: Fast exit USDC? + description: If enabled, the strategy will attempt to exit any USDC 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: not-amount-is-fast-exit + name: Fast exit WLTH? + description: If enabled, the strategy will attempt to exit any WLTH position it builds up in a single trade, as soon as it can do so profitably. presets: - name: Yes value: 1 @@ -3130,7 +3394,7 @@ gui: - name: 8 hours (28800) value: 28800 - binding: max-amount - name: Max amount + name: Max amount (USDC) description: The maximum amount of USDC that will be offered in a single auction. min: 5 presets: @@ -3143,7 +3407,7 @@ gui: - name: $100 value: 100 - binding: min-amount - name: Minimum amount + name: Minimum amount (USDC) description: The minimum amount of USDC that will be offered in a single auction. min: 5 presets: @@ -4130,7 +4394,8 @@ deployments: #initial-input-token !Initial input token for the initial IO ratio. #cost-basis-multiplier !Multiplier for the cost basis IO ratio. Effectively a minimum spread. -#is-fast-exit !Non-zero for fast exit behaviour. +#amount-is-fast-exit !Non-zero for fast exit behaviour where the amount token is the fast exit token. +#not-amount-is-fast-exit !Non-zero for fast exit behaviour where the not amount token is the fast exit token. #last-trade-io-key "last-trade-io" #last-trade-time-key "last-trade-time" @@ -4272,7 +4537,7 @@ other-vwaio: call<'get-cost-basis-io-ratio>(), max-output: max( epoch-max-output every( - is-fast-exit + if(call<'amount-is-output>() amount-is-fast-exit not-amount-is-fast-exit) mul(other-total-out other-vwaio))), _: io, :call<'set-last-trade>(io); From 1c7b8881602eb74d721dc6a7c2d62426a8a15c0b Mon Sep 17 00:00:00 2001 From: Siddharth2207 Date: Thu, 30 Jan 2025 14:02:15 +0530 Subject: [PATCH 2/5] akuma dsf --- .../2-dynamic-spread/dynamic-spread.rain | 129 ++++++++++++++++++ 1 file changed, 129 insertions(+) diff --git a/public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain b/public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain index 5bda7860..11b024a4 100644 --- a/public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain +++ b/public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain @@ -1235,6 +1235,113 @@ gui: - 10000 - 20000 + - deployment: base-usdc-akuma + name: USDC<>AKUMA on Base. + description: Rotate USDC and AKUMA on Base. + + fields: + - binding: amount-is-fast-exit + name: Fast exit USDC? + description: If enabled, the strategy will attempt to exit any USDC 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: not-amount-is-fast-exit + name: Fast exit AKUMA? + description: If enabled, the strategy will attempt to exit any AKUMA 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 (USDC per AKUMA) + description: The rough USDC price you see for AKUMA on Dex Screener (e.g. 0.00044). + 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 USDC that will be offered in a single auction. + min: 0 + presets: + - name: $10 + value: 10 + - name: $20 + value: 20 + - name: $50 + value: 50 + - name: $100 + value: 100 + - binding: min-amount + name: Minimum amount + description: The minimum amount of USDC that will be offered in a single auction. + min: 0 + presets: + - name: $5 + value: 5 + - name: $10 + value: 10 + - name: $20 + value: 20 + deposits: + - token: base-usdc + min: 0 + presets: + - 0 + - 100 + - 200 + - 500 + - 1000 + - token: base-akuma + min: 0 + presets: + - 0 + - 100000 + - 500000 + - 1000000 + - 2000000 + + - deployment: base-usdc-toast name: USDC<>TOAST on Base. description: Rotate USDC and TOAST on Base. @@ -3506,6 +3613,12 @@ scenarios: amount-token: 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 initial-output-token: 0x655A51e6803faF50D4acE80fa501af2F29C856cF initial-input-token: 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 + usdc-akuma: + runs: 1 + bindings: + amount-token: 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 + initial-output-token: 0x2F20Cf3466f80A5f7f532fCa553c8cbc9727FEf6 + initial-input-token: 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 usdc-toast: runs: 1 bindings: @@ -3840,6 +3953,10 @@ tokens: network: base address: 0xac1bd2486aaf3b5c0fc3fd868558b082a531b2b4 decimals: 18 + base-akuma: + network: base + address: 0x2F20Cf3466f80A5f7f532fCa553c8cbc9727FEf6 + decimals: 18 base-usdc: network: base address: 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 @@ -4061,6 +4178,15 @@ orders: outputs: - token: base-usdc - token: base-paid + base-usdc-akuma: + network: base + orderbook: base + inputs: + - token: base-usdc + - token: base-akuma + outputs: + - token: base-usdc + - token: base-akuma base-usdc-toast: network: base orderbook: base @@ -4306,6 +4432,9 @@ deployments: base-usdc-paid: order: base-usdc-paid scenario: base.usdc-paid + base-usdc-akuma: + order: base-usdc-akuma + scenario: base.usdc-akuma base-usdc-toast: order: base-usdc-toast scenario: base.usdc-toast From b8ad8dc03ddcee1b08c1262fdee36570899e5571 Mon Sep 17 00:00:00 2001 From: Siddharth2207 Date: Thu, 30 Jan 2025 15:44:31 +0530 Subject: [PATCH 3/5] rkfi<>usdc dsf --- .../2-dynamic-spread/dynamic-spread.rain | 128 ++++++++++++++++++ 1 file changed, 128 insertions(+) diff --git a/public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain b/public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain index 11b024a4..89699bf6 100644 --- a/public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain +++ b/public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain @@ -1341,6 +1341,112 @@ gui: - 1000000 - 2000000 + - deployment: base-usdc-rkfi + name: USDC<>RKFI on Base. + description: Rotate USDC and RKFI on Base. + + fields: + - binding: amount-is-fast-exit + name: Fast exit USDC? + description: If enabled, the strategy will attempt to exit any USDC 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: not-amount-is-fast-exit + name: Fast exit RKFI? + description: If enabled, the strategy will attempt to exit any RKFI 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 (USDC per RKFI) + description: The rough USDC price you see for RKFI on Dex Screener (e.g. 0.0013). + 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 USDC that will be offered in a single auction. + min: 0 + presets: + - name: $10 + value: 10 + - name: $20 + value: 20 + - name: $50 + value: 50 + - name: $100 + value: 100 + - binding: min-amount + name: Minimum amount + description: The minimum amount of USDC that will be offered in a single auction. + min: 0 + presets: + - name: $5 + value: 5 + - name: $10 + value: 10 + - name: $20 + value: 20 + deposits: + - token: base-usdc + min: 0 + presets: + - 0 + - 100 + - 200 + - 500 + - 1000 + - token: base-rkfi + min: 0 + presets: + - 0 + - 100000 + - 500000 + - 1000000 + - 2000000 + - deployment: base-usdc-toast name: USDC<>TOAST on Base. @@ -3619,6 +3725,12 @@ scenarios: amount-token: 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 initial-output-token: 0x2F20Cf3466f80A5f7f532fCa553c8cbc9727FEf6 initial-input-token: 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 + usdc-rkfi: + runs: 1 + bindings: + amount-token: 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 + initial-output-token: 0x65FdA84473084bA2CcA8452883E6eA3561092234 + initial-input-token: 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 usdc-toast: runs: 1 bindings: @@ -3969,6 +4081,10 @@ tokens: network: base address: 0x655A51e6803faF50D4acE80fa501af2F29C856cF decimals: 18 + base-rkfi: + network: base + address: 0x65FdA84473084bA2CcA8452883E6eA3561092234 + decimals: 18 flare-usdce: network: flare address: 0xfbda5f676cb37624f28265a144a48b0d6e87d3b6 @@ -4187,6 +4303,15 @@ orders: outputs: - token: base-usdc - token: base-akuma + base-usdc-rkfi: + network: base + orderbook: base + inputs: + - token: base-usdc + - token: base-rkfi + outputs: + - token: base-usdc + - token: base-rkfi base-usdc-toast: network: base orderbook: base @@ -4435,6 +4560,9 @@ deployments: base-usdc-akuma: order: base-usdc-akuma scenario: base.usdc-akuma + base-usdc-rkfi: + order: base-usdc-rkfi + scenario: base.usdc-rkfi base-usdc-toast: order: base-usdc-toast scenario: base.usdc-toast From 653dec6a17262fab10129c73f1f8716af70e4c35 Mon Sep 17 00:00:00 2001 From: Siddharth2207 Date: Thu, 30 Jan 2025 16:03:36 +0530 Subject: [PATCH 4/5] eth rkfi<>usdt auction --- .../raindex/1-auction-dca/auction-dca.rain | 200 ++++++++++++++++++ 1 file changed, 200 insertions(+) diff --git a/public/_strategies/raindex/1-auction-dca/auction-dca.rain b/public/_strategies/raindex/1-auction-dca/auction-dca.rain index 868da821..cf1cb77f 100644 --- a/public/_strategies/raindex/1-auction-dca/auction-dca.rain +++ b/public/_strategies/raindex/1-auction-dca/auction-dca.rain @@ -152,6 +152,10 @@ tokens: network: base address: 0x655A51e6803faF50D4acE80fa501af2F29C856cF decimals: 18 + ethereum-rkfi: + network: ethereum + address: 0x65fda84473084ba2cca8452883e6ea3561092234 + decimals: 18 ethereum-weth: network: ethereum address: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 @@ -479,6 +483,20 @@ orders: - token: ethereum-usdt outputs: - token: ethereum-lock + ethereum-rkfi-usdt: + orderbook: ethereum + network: ethereum + inputs: + - token: ethereum-rkfi + outputs: + - token: ethereum-usdt + ethereum-usdt-rkfi: + orderbook: ethereum + network: ethereum + inputs: + - token: ethereum-usdt + outputs: + - token: ethereum-rkfi flare-sflr-wflr: orderbook: flare network: flare @@ -900,6 +918,12 @@ deployments: ethereum-usdt-lock: order: ethereum-usdt-lock scenario: ethereum + ethereum-rkfi-usdt: + order: ethereum-rkfi-usdt + scenario: ethereum + ethereum-usdt-rkfi: + order: ethereum-usdt-rkfi + scenario: ethereum flare-sflr-wflr: order: flare-sflr-wflr scenario: flare-sflr-baseline @@ -5935,6 +5959,182 @@ gui: The initial LOCK per USDT to kickoff the first auction. (e.g. 0.9 LOCK per USDT) min: 0 + - deployment: ethereum-usdt-rkfi + name: Sell RKFI for USDT on Ethereum. + description: > + Swap RKFI for USDT on Ethereum mainnet. + deposits: + - token: ethereum-rkfi + min: 0 + presets: + - 0 + - 250 + - 750 + - 1250 + - 5000 + - 10000 + + fields: + - binding: time-per-amount-epoch + name: Budget period (in seconds) + description: > + The budget is spent over this time period. + min: 1 + presets: + - name: Per minute (60) + value: 60 + - name: Per hour (3600) + value: 3600 + - name: Per day (86400) + value: 86400 + - name: Per week (604800) + value: 604800 + - binding: amount-per-epoch + name: Budget (RKFI per period) + description: > + The amount of RKFI to spend each budget period. + min: 0 + - binding: max-trade-amount + name: Maximum trade size (RKFI) + description: > + The maximum amount of RKFI to sell in a single auction. + min: 0 + - binding: min-trade-amount + name: Minimum trade size (RKFI) + description: > + The minimum amount of RKFI to sell in a single auction. + min: 0 + - binding: time-per-trade-epoch + name: Auction period (in seconds) + description: > + The auction period is the time between each auction price halvening. + presets: + - name: Every hour (3600) + value: 3600 + - name: Every 2 hours (7200) + value: 7200 + - binding: baseline + name: Baseline USDT per RKFI + description: > + The absolute minimum amount of USDT per RKFI that the auction will trade at. (e.g. 0.0005 USDT per RKFI) + min: 0 + - binding: next-trade-multiplier + name: Auction start multiplier + description: > + The multiplier to apply to the last trade to kick off the next auction. + min: 1.01 + presets: + - name: 1.01x + value: 1.01 + - name: 1.02x + value: 1.02 + - name: 1.05x + value: 1.05 + - binding: next-trade-baseline-multiplier + name: Auction end multiplier + description: > + The multiplier to apply to the last trade to set the baseline for the next auction. + presets: + - name: Disabled (0) + value: 0 + - name: 0.9x + value: 0.9 + - name: 0.95x + value: 0.95 + - binding: initial-io + name: Kickoff USDT per RKFI + description: > + The initial USDT per RKFI to kickoff the first auction. (e.g. 0.0013 USDT per RKFI) + min: 0 + + - deployment: ethereum-rkfi-usdt + name: Sell USDT for RKFI on Ethereum. + description: > + Swap USDT for RKFI on Ethereum mainnet. + deposits: + - token: ethereum-usdt + min: 0 + presets: + - 0 + - 100 + - 200 + - 500 + - 1000 + - 2000 + + fields: + - binding: time-per-amount-epoch + name: Budget period (in seconds) + description: > + The budget is spent over this time period. + min: 1 + presets: + - name: Per minute (60) + value: 60 + - name: Per hour (3600) + value: 3600 + - name: Per day (86400) + value: 86400 + - name: Per week (604800) + value: 604800 + - binding: amount-per-epoch + name: Budget (USDT per period) + description: > + The amount of USDT to spend each budget period. + min: 0 + - binding: max-trade-amount + name: Maximum trade size (USDT) + description: > + The maximum amount of USDT to sell in a single auction. + min: 0 + - binding: min-trade-amount + name: Minimum trade size (USDT) + description: > + The minimum amount of USDT to sell in a single auction. + min: 0 + - binding: time-per-trade-epoch + name: Auction period (in seconds) + description: > + The auction period is the time between each auction price halvening. + presets: + - name: Every hour (3600) + value: 3600 + - name: Every 2 hours (7200) + value: 7200 + - binding: baseline + name: Baseline RKFI per USDT + description: > + The absolute minimum amount of RKFI per USDT that the auction will trade at. (e.g. 600 RKFI per USDT) + min: 0 + - binding: next-trade-multiplier + name: Auction start multiplier + description: > + The multiplier to apply to the last trade to kick off the next auction. + min: 1.01 + presets: + - name: 1.01x + value: 1.01 + - name: 1.02x + value: 1.02 + - name: 1.05x + value: 1.05 + - binding: next-trade-baseline-multiplier + name: Auction end multiplier + description: > + The multiplier to apply to the last trade to set the baseline for the next auction. + presets: + - name: Disabled (0) + value: 0 + - name: 0.9x + value: 0.9 + - name: 0.95x + value: 0.95 + - binding: initial-io + name: Kickoff RKFI per USDT + description: > + The initial RKFI per USDT to kickoff the first auction. (e.g. 750 RKFI per USDT) + min: 0 + - deployment: flare-cysflr-cusdx name: Sell cUSDX for cysFLR on Flare. description: > From d51e45a7d811baa79a8ece627eef91d412a48c45 Mon Sep 17 00:00:00 2001 From: Siddharth2207 Date: Thu, 6 Feb 2025 19:55:43 +0530 Subject: [PATCH 5/5] wmatic<>mnw, wlth<>weth, sarco<>weth, anja<>weth, akuma<>weth, tft<>wbnb Dsf --- .../2-dynamic-spread/dynamic-spread.rain | 842 +++++++++++++++++- 1 file changed, 793 insertions(+), 49 deletions(-) diff --git a/public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain b/public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain index 89699bf6..33cebd4e 100644 --- a/public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain +++ b/public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain @@ -611,6 +611,106 @@ gui: - 1000000 - 2000000 + - deployment: polygon-wmatic-mnw + name: WMATIC<>MNW on Polygon. + description: Rotate WMATIC/WPOL and MNW on Polygon. + + fields: + - binding: amount-is-fast-exit + name: Fast exit WMATIC? + description: If enabled, the strategy will attempt to exit any WMATIC 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: not-amount-is-fast-exit + name: Fast exit MNW? + description: If enabled, the strategy will attempt to exit any MNW 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 (WMATIC per MNW) + description: The rough WMATIC price you see for MNW on Dextools (e.g. 0.6). + 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: Maximum amount per auction (WMATIC) + description: The maximum amount of WMATIC that will be offered in a single auction. + min: 0 + presets: + - value: 10 + - value: 20 + - value: 50 + - value: 100 + - value: 200 + - binding: min-amount + name: Minimum amount per auction (WMATIC) + description: The minimum amount of WMATIC that will be offered in a single auction. + min: 0 + presets: + - value: 10 + - value: 20 + + deposits: + - token: polygon-wmatic + min: 0 + presets: + - 0 + - 100 + - 500 + - 1000 + - 5000 + - 10000 + - token: polygon-mnw + min: 0 + presets: + - 0 + - 1000 + - 5000 + - 10000 + - 20000 - deployment: polygon-weth-mnw @@ -1324,47 +1424,471 @@ gui: - name: $20 value: 20 deposits: - - token: base-usdc + - token: base-usdc + min: 0 + presets: + - 0 + - 100 + - 200 + - 500 + - 1000 + - token: base-akuma + min: 0 + presets: + - 0 + - 100000 + - 500000 + - 1000000 + - 2000000 + + - deployment: base-usdc-rkfi + name: USDC<>RKFI on Base. + description: Rotate USDC and RKFI on Base. + + fields: + - binding: amount-is-fast-exit + name: Fast exit USDC? + description: If enabled, the strategy will attempt to exit any USDC 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: not-amount-is-fast-exit + name: Fast exit RKFI? + description: If enabled, the strategy will attempt to exit any RKFI 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 (USDC per RKFI) + description: The rough USDC price you see for RKFI on Dex Screener (e.g. 0.0013). + 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 USDC that will be offered in a single auction. + min: 0 + presets: + - name: $10 + value: 10 + - name: $20 + value: 20 + - name: $50 + value: 50 + - name: $100 + value: 100 + - binding: min-amount + name: Minimum amount + description: The minimum amount of USDC that will be offered in a single auction. + min: 0 + presets: + - name: $5 + value: 5 + - name: $10 + value: 10 + - name: $20 + value: 20 + deposits: + - token: base-usdc + min: 0 + presets: + - 0 + - 100 + - 200 + - 500 + - 1000 + - token: base-rkfi + min: 0 + presets: + - 0 + - 100000 + - 500000 + - 1000000 + - 2000000 + + - deployment: base-wlth-weth + name: WLTH<>WETH on Base. + description: Rotate WLTH and WETH on Base. + + fields: + - binding: amount-is-fast-exit + name: Fast exit WLTH? + description: If enabled, the strategy will attempt to exit any WLTH 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: not-amount-is-fast-exit + name: Fast exit WETH? + description: If enabled, the strategy will attempt to exit any WETH 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 WLTH) + description: The rough WLTH price you see for WETH on Dextools (e.g. 0.000013). + 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 WLTH 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 WLTH 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-wlth + 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-ajna-weth + name: AJNA<>WETH on Base. + description: Rotate AJNA and WETH on Base. + + fields: + - binding: amount-is-fast-exit + name: Fast exit AJNA? + description: If enabled, the strategy will attempt to exit any AJNA 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: not-amount-is-fast-exit + name: Fast exit WETH? + description: If enabled, the strategy will attempt to exit any WETH 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-sarco-weth + name: SARCO<>WETH on Base. + description: Rotate SARCO and WETH on Base. + + fields: + - binding: amount-is-fast-exit + name: Fast exit SARCO? + description: If enabled, the strategy will attempt to exit any SARCO 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: not-amount-is-fast-exit + name: Fast exit WETH? + description: If enabled, the strategy will attempt to exit any WETH 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 SARCO) + description: The rough SARCO price you see for WETH on Dextools (e.g. 0.00000067). + 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 SARCO 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 SARCO 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-sarco min: 0 presets: - 0 - - 100 - - 200 - - 500 - - 1000 - - token: base-akuma + - 30000 + - 60000 + - 150000 + - 300000 + - token: base-weth min: 0 presets: - 0 - - 100000 - - 500000 - - 1000000 - - 2000000 - - - deployment: base-usdc-rkfi - name: USDC<>RKFI on Base. - description: Rotate USDC and RKFI on Base. + - 0.05 + - 0.1 + - 0.2 + - 0.5 + - deployment: base-akuma-weth + name: AKUMA<>WETH on Base. + description: Rotate AKUMA and WETH on Base. fields: - binding: amount-is-fast-exit - name: Fast exit USDC? - description: If enabled, the strategy will attempt to exit any USDC position it builds up in a single trade, as soon as it can do so profitably. + name: Fast exit AKUMA? + description: If enabled, the strategy will attempt to exit any AKUMA 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: not-amount-is-fast-exit - name: Fast exit RKFI? - description: If enabled, the strategy will attempt to exit any RKFI position it builds up in a single trade, as soon as it can do so profitably. + name: Fast exit WETH? + description: If enabled, the strategy will attempt to exit any WETH 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 (USDC per RKFI) - description: The rough USDC price you see for RKFI on Dex Screener (e.g. 0.0013). + 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 @@ -1407,46 +1931,46 @@ gui: value: 28800 - binding: max-amount name: Max amount - description: The maximum amount of USDC that will be offered in a single auction. - min: 0 + description: The maximum amount of AKUMA that will be offered in a single auction. + min: 1550 presets: - - name: $10 - value: 10 - - name: $20 - value: 20 - - name: $50 - value: 50 - - name: $100 - value: 100 + - 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 USDC that will be offered in a single auction. - min: 0 + description: The minimum amount of AKUMA that will be offered in a single auction. + min: 1550 presets: - - name: $5 - value: 5 - - name: $10 - value: 10 - - name: $20 - value: 20 + - name: 1550 + value: 1550 + - name: 3100 + value: 3100 + - name: 6200 + value: 6200 + deposits: - - token: base-usdc + - token: base-akuma min: 0 presets: - 0 - - 100 - - 200 - - 500 - - 1000 - - token: base-rkfi + - 30000 + - 60000 + - 150000 + - 300000 + - token: base-weth min: 0 presets: - 0 - - 100000 - - 500000 - - 1000000 - - 2000000 - + - 0.05 + - 0.1 + - 0.2 + - 0.5 - deployment: base-usdc-toast name: USDC<>TOAST on Base. @@ -3230,6 +3754,110 @@ gui: - 2 - 4 + - deployment: bsc-tft-wbnb + name: WBNB<>TFT on BSC. + description: Rotate WBNB and TFT on BSC. + fields: + - binding: amount-is-fast-exit + name: Fast exit TFT? + description: If enabled, the strategy will attempt to exit any TFT 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: not-amount-is-fast-exit + name: Fast exit WBNB? + description: If enabled, the strategy will attempt to exit any WBNB 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 (WBNB per TFT) + description: The rough USD price you see for TFT on Dextools (e.g. 0.000022) + 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 TFT that will be offered in a single auction. + min: 50 + presets: + - name: 1000 + value: 1000 + - name: 2000 + value: 2000 + - name: 5000 + value: 5000 + - name: 10000 + value: 10000 + - binding: min-amount + name: Minimum amount + description: The minimum amount of TFT that will be offered in a single auction. + min: 20 + presets: + - name: 800 + value: 800 + - name: 1000 + value: 1000 + - name: 1500 + value: 1500 + - name: 2000 + value: 2000 + deposits: + - token: bsc-wbnb + min: 0 + presets: + - 0 + - 2000 + - 10000 + - 20000 + - token: bsc-tft + min: 0 + presets: + - 0 + - 250000 + - 1250000 + - 2500000 - deployment: bsc-tft-busd name: BUSD<>TFT on BSC. description: Rotate BUSD and TFT on BSC. @@ -3749,6 +4377,30 @@ scenarios: amount-token: 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 initial-output-token: 0x3982E57fF1b193Ca8eb03D16Db268Bd4B40818f8 initial-input-token: 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 + wlth-weth: + runs: 1 + bindings: + 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 + sarco-weth: + runs: 1 + bindings: + 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 flare: orderbook: flare @@ -3832,6 +4484,12 @@ scenarios: amount-token: 0xB5C064F955D8e7F38fE0460C556a72987494eE17 initial-output-token: 0xB5C064F955D8e7F38fE0460C556a72987494eE17 initial-input-token: 0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270 + wmatic-mnw: + runs: 1 + bindings: + amount-token: 0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270 + initial-output-token: 0x3c59798620e5fEC0Ae6dF1A19c6454094572Ab92 + initial-input-token: 0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270 usdc-ioen: runs: 1 bindings: @@ -3888,6 +4546,12 @@ scenarios: amount-token: 0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d initial-output-token: 0x8f0FB159380176D324542b3a7933F0C2Fd0c2bbf initial-input-token: 0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d + tft-wbnb: + runs: 1 + bindings: + amount-token: 0x8f0FB159380176D324542b3a7933F0C2Fd0c2bbf + initial-output-token: 0x8f0FB159380176D324542b3a7933F0C2Fd0c2bbf + initial-input-token: 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c ethereum: orderbook: ethereum runs: 1 @@ -4171,6 +4835,10 @@ tokens: network: bsc address: 0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56 decimals: 18 + bsc-wbnb: + network: bsc + address: 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c + decimals: 18 bsc-usdc: network: bsc address: 0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d @@ -4183,6 +4851,10 @@ tokens: network: base address: 0x21f8c472D1702919aF0AF57a9E2926f2c1FB67C5 decimals: 18 + base-ajna: + network: base + address: 0x7F05a7A9AF2f5a07D1e64877C8dC37a64a22508E + decimals: 18 ethereum-pai: network: ethereum address: 0x13E4b8CfFe704d3De6F19E52b201d92c21EC18bD @@ -4276,6 +4948,42 @@ orders: outputs: - token: base-lucky - token: base-weth + base-wlth-weth: + network: base + orderbook: base + inputs: + - token: base-wlth + - token: base-weth + outputs: + - token: base-wlth + - token: base-weth + base-sarco-weth: + network: base + orderbook: base + inputs: + - token: base-sarco + - token: base-weth + outputs: + - token: base-sarco + - 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-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 @@ -4411,6 +5119,15 @@ orders: outputs: - token: polygon-quick - token: polygon-wmatic + polygon-wmatic-mnw: + network: polygon + orderbook: polygon + inputs: + - token: polygon-mnw + - token: polygon-wmatic + outputs: + - token: polygon-mnw + - token: polygon-wmatic polygon-usdc-ioen: network: polygon orderbook: polygon @@ -4483,6 +5200,15 @@ orders: outputs: - token: bsc-tft - token: bsc-usdc + bsc-tft-wbnb: + network: bsc + orderbook: bsc + inputs: + - token: bsc-tft + - token: bsc-wbnb + outputs: + - token: bsc-tft + - token: bsc-wbnb base-wlth-usdc: network: base orderbook: base @@ -4566,6 +5292,18 @@ deployments: base-usdc-toast: order: base-usdc-toast scenario: base.usdc-toast + base-akuma-weth: + order: base-akuma-weth + scenario: base.akuma-weth + base-wlth-weth: + order: base-wlth-weth + scenario: base.wlth-weth + base-ajna-weth: + order: base-ajna-weth + scenario: base.ajna-weth + base-sarco-weth: + order: base-sarco-weth + scenario: base.sarco-weth flare-usdce-sflr: order: flare-usdce-sflr scenario: flare.usdce-sflr @@ -4605,6 +5343,9 @@ deployments: polygon-usdt-poli: order: polygon-usdt-poli scenario: polygon.usdt-poli + polygon-wmatic-mnw: + order: polygon-wmatic-mnw + scenario: polygon.wmatic-mnw polygon-weth-mnw: order: polygon-weth-mnw scenario: polygon.weth-mnw @@ -4620,6 +5361,9 @@ deployments: bsc-tft-usdc: order: bsc-tft-usdc scenario: bsc.tft-usdc + bsc-tft-wbnb: + order: bsc-tft-wbnb + scenario: bsc.tft-wbnb base-wlth-usdc: order: base-wlth-usdc scenario: base.wlth-usdc