delvtech / agent0

Analysis & simulation repo for Delv
https://agent0.readthedocs.io/en/latest/
Apache License 2.0
52 stars 21 forks source link

get real underlying rate in get_market_state_from_contract #414

Closed wakamex closed 11 months ago

wakamex commented 1 year ago

currently using a placeholder that needs to be removed: variable_apr=0.01, # TODO: insert real value

dpaiton commented 11 months ago

HyperdriveInterface has this now https://github.com/delvtech/agent0/blob/69e077cedfd097794cc53ee631ccd6a70f14c6f3/lib/ethpy/ethpy/hyperdrive/interface/interface.py#L281