From 75f117f798e5554786f01d28edc9d04e3941d3df Mon Sep 17 00:00:00 2001 From: Siddharth2207 Date: Fri, 29 Nov 2024 15:22:06 +0530 Subject: [PATCH] nht dsf --- .../2-dynamic-spread/dynamic-spread.rain | 120 ++++++++++++++++++ 1 file changed, 120 insertions(+) diff --git a/public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain b/public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain index cbf83f63..99f29d38 100644 --- a/public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain +++ b/public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain @@ -1,3 +1,4 @@ + raindex-version: 8898591f3bcaa21dc91dc3b8584330fc405eadfa gui: @@ -478,6 +479,99 @@ gui: - 10000 - 20000 + - deployment: polygon-usdt-nht + name: USDT<>NHT on Polygon. + 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. + presets: + - name: Yes + value: 1 + - name: No + value: 0 + - binding: initial-io + name: Initial price (USDT per NHT) + description: The rough USD price you see for NHT on Dextools (e.g. 0.0004). + 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 (USDT) + description: The maximum amount of USDT 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 (USDT) + description: The minimum amount of USDT that will be offered in a single auction. + min: 0 + presets: + - value: 10 + - value: 20 + + deposits: + - token: polygon-usdt + min: 0 + presets: + - 0 + - 100 + - 500 + - 1000 + - 5000 + - 10000 + - token: polygon-nht + min: 0 + presets: + - 0 + - 100000 + - 500000 + - 1000000 + - 2000000 + - deployment: base-usdc-weth name: USDC<>WETH on Base. @@ -2377,6 +2471,12 @@ scenarios: amount-token: 0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359 initial-output-token: 0x3c59798620e5fEC0Ae6dF1A19c6454094572Ab92 initial-input-token: 0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359 + usdt-nht: + runs: 1 + bindings: + amount-token: 0xc2132D05D31c914a87C6611C10748AEb04B58e8F + initial-output-token: 0x84342e932797FC62814189f01F0Fb05F52519708 + initial-input-token: 0xc2132D05D31c914a87C6611C10748AEb04B58e8F bsc: orderbook: bsc runs: 1 @@ -2616,6 +2716,14 @@ tokens: network: polygon address: 0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359 decimals: 6 + polygon-usdt: + network: polygon + address: 0xc2132D05D31c914a87C6611C10748AEb04B58e8F + decimals: 6 + polygon-nht: + network: polygon + address: 0x84342e932797FC62814189f01F0Fb05F52519708 + decimals: 18 bsc-tft: network: bsc address: 0x8f0FB159380176D324542b3a7933F0C2Fd0c2bbf @@ -2811,6 +2919,15 @@ orders: outputs: - token: polygon-usdc - token: polygon-mnw + polygon-usdt-nht: + network: polygon + orderbook: polygon + inputs: + - token: polygon-usdt + - token: polygon-nht + outputs: + - token: polygon-usdt + - token: polygon-nht bsc-tft-busd: network: bsc orderbook: bsc @@ -2918,6 +3035,9 @@ deployments: polygon-usdc-mnw: order: polygon-usdc-mnw scenario: polygon.usdc-mnw + polygon-usdt-nht: + order: polygon-usdt-nht + scenario: polygon.usdt-nht bsc-tft-busd: order: bsc-tft-busd scenario: bsc.tft-busd