Skip to content

Commit

Permalink
tft<>wbnb dsf
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth2207 committed Feb 6, 2025
1 parent 3c7105a commit e5c79ac
Showing 1 changed file with 119 additions and 0 deletions.
119 changes: 119 additions & 0 deletions public/_strategies/raindex/2-dynamic-spread/dynamic-spread.rain
Original file line number Diff line number Diff line change
Expand Up @@ -3660,6 +3660,103 @@ gui:
- 10000
- 20000

- deployment: bsc-tft-wbnb
name: WBNB<>TFT on BSC.
description: Rotate WBNB 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.
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.
Expand Down Expand Up @@ -4322,6 +4419,12 @@ scenarios:
amount-token: 0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56
initial-output-token: 0x8f0FB159380176D324542b3a7933F0C2Fd0c2bbf
initial-input-token: 0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56
tft-wbnb:
runs: 1
bindings:
amount-token: 0x8f0FB159380176D324542b3a7933F0C2Fd0c2bbf
initial-output-token: 0x8f0FB159380176D324542b3a7933F0C2Fd0c2bbf
initial-input-token: 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c
tft-usdc:
runs: 1
bindings:
Expand Down Expand Up @@ -4623,6 +4726,10 @@ tokens:
network: bsc
address: 0x55d398326f99059fF775485246999027B3197955
decimals: 18
bsc-wbnb:
network: bsc
address: 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c
decimals: 18
bsc-usdc:
network: bsc
address: 0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d
Expand Down Expand Up @@ -4989,6 +5096,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
bsc-usdt-patex:
network: bsc
orderbook: bsc
Expand Down Expand Up @@ -5153,6 +5269,9 @@ deployments:
bsc-tft-usdc:
order: bsc-tft-usdc
scenario: bsc.tft-usdc
bsc-tft-wbnb:
order: bsc-tft-wbnb
scenario: bsc.tft-wbnb
bsc-usdt-patex:
order: bsc-usdt-patex
scenario: bsc.usdt-patex
Expand Down

0 comments on commit e5c79ac

Please sign in to comment.