Skip to content

Commit

Permalink
reset markets sim to default
Browse files Browse the repository at this point in the history
  • Loading branch information
rmelbardis committed Sep 25, 2023
1 parent fa4db51 commit abd4c12
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
4 changes: 0 additions & 4 deletions BondingCurveNexus/HighLowCap/RAMM_HighLowCap_Protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,6 @@ def one_day_passes(self):
# down for above BV/buy pool
self.buy_ratchet()

#-----WNXM SHIFT-----#
if event == 'wnxm_shift':
self.wnxm_shift()

#-----protocol BUY-----#
# not arbitrage-driven
if event == 'protocol_buy':
Expand Down
12 changes: 6 additions & 6 deletions BondingCurveNexus/HighLowCap/single_sim_markets_det.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@ def show_graphs():

if __name__ == "__main__":

initial_days = 30
initial_daily_entries = 0
# initial_days = 30
# initial_daily_entries = 0

model_params.det_entry_array = np.empty(model_params.model_days, dtype=int)
model_params.det_entry_array[:initial_days] = initial_daily_entries
model_params.det_entry_array[initial_days:] = model_params.lambda_entries
# model_params.det_entry_array = np.empty(model_params.model_days, dtype=int)
# model_params.det_entry_array[:initial_days] = initial_daily_entries
# model_params.det_entry_array[initial_days:] = model_params.lambda_entries

sim = RAMMHighLowCapMarketsDet(daily_printout_day=50)
sim = RAMMHighLowCapMarketsDet()
days_run = 0

for i in tqdm(range(model_days)):
Expand Down

0 comments on commit abd4c12

Please sign in to comment.