<jupyter_start><jupyter_text>Case 1: No Fees with Constant Oracles $i < j$$\text{fee_percentage} = 0$$\text{oracle_price_i} = 1.5$$\text{oracle_price_j} = 2.5$$\text{oracle_price_hydra} = 2$<jupyter_code># Dependences
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt

# Experiments
from model import run
from model.parts.utils import *
from model.plot_utils import *

pd.options.display.float_format = '{:.2f}'.format

%matplotlib inline

df = run.run()
rdf = run.postprocessing(df)
impermanent_loss_plot(rdf)
AW_plot(rdf, 3, 300)<jupyter_output><empty_output><jupyter_text>Case 2: Static Fee $a = 1\%$ with Constant Price Oracles $i < j$$\text{fee_percentage} = 0.01$$\text{oracle_price_i} = 1.5$$\text{oracle_price_j} = 2.5$$\text{oracle_price_hydra} = 2$<jupyter_code># Dependences
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt

# Experiments
from model import run
from model.parts.utils import *
from model.plot_utils import *

pd.options.display.float_format = '{:.2f}'.format

%matplotlib inline

df = run.run()
rdf = run.postprocessing(df)
impermanent_loss_plot(rdf)
AW_plot(rdf, 3, 300)<jupyter_output><empty_output><jupyter_text>Case 3: Static Fee $a = 2\%$ with Constant Price Oracles $i < j$$\text{fee_percentage} = 0.02$$\text{oracle_price_i} = 1.5$$\text{oracle_price_j} = 2.5$$\text{oracle_price_hydra} = 2$<jupyter_code># Dependences
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt

# Experiments
from model import run
from model.parts.utils import *
from model.plot_utils import *

pd.options.display.float_format = '{:.2f}'.format

%matplotlib inline

df = run.run()
rdf = run.postprocessing(df) 
impermanent_loss_plot(rdf)
AW_plot(rdf, 3, 300)<jupyter_output><empty_output><jupyter_text>Case 4: Static Fee $a = 5\%$ with Constant Price Oracles $i < j$$\text{fee_percentage} = 0.05$$\text{oracle_price_i} = 1.5$$\text{oracle_price_j} = 2.5$$\text{oracle_price_hydra} = 2$<jupyter_code># Dependences
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt

# Experiments
from model import run
from model.parts.utils import *
from model.plot_utils import *

pd.options.display.float_format = '{:.2f}'.format

%matplotlib inline

df = run.run()
rdf = run.postprocessing(df)
impermanent_loss_plot(rdf)
AW_plot(rdf, 3, 300)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.13106382978723405, 'fraction_numerical': 0.02425531914893617, 'mean_word_length': 5.9147058823529415, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '318951', 'license': 'Apache-2.0', 'n_tokens_mistral': 966, 'n_tokens_neox': 873, 'n_words': 202, 'path': 'Static Fee with Constant Price Oracles.ipynb', 'repo_name': 'patriacaelum/HydraDX-simulations', 'size': '2350'}