delvtech / agent0

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

ethpy: get HyperdriveMarketAction type from the HyperdriveInterface #914

Closed dpaiton closed 11 months ago

dpaiton commented 1 year ago

The hyperdrive_account is a core object in the bot workflow. One of it's principal outputs is a HyperdriveMarketAction, for example a list of these is returned from the get_trades function, which is used heavily.

However, the interface functions, such as open_long, should be able to return these actions, putting them entirely behind-the-scenes.

dpaiton commented 11 months ago

Resolved by https://github.com/delvtech/agent0/pull/1221