timewave-computer / auction-arbitrage-bot

An extensible arbitrage bot for trading against valence auctions, Astroport and Osmosis.
Apache License 2.0
6 stars 1 forks source link

Naive Arbitrage Strategy Implementation: Arbitrage Opportunity Execution #2

Closed dowlandaiello closed 3 weeks ago

dowlandaiello commented 3 months ago

The auction arbitrage bot should be configurable via flags and environment variables to execute trades on the user's behalf in addition to identifying arbitrage opportunities. In addition, users should be able to simulate execution of trades, with live feedback provided via an HTTP API. Example routes may include:

[
  {
    "profit": 1234,
    "profit_denom": "ibc/xyz",
    "timestamp_completed": 1234,
    "route": [
      {
        {
          "osmosis": {
            // See pool_file format in README.md
          },
          "neutron_astroport": {
            // See README.md
          }
        }
      }
    ]
  }
]
[
  [
    "osmosis": {
      // See README.md
    },
    "neutron_astroport": {
      // See README.md
    }
  ]
]
{
  "completed_trades": 1234,
  "profit": 1234,
  "profit_denom": "ibc/xyz"
}
dowlandaiello commented 2 months ago

As of now, arbitrage trades including legs on Osmosis and Astroport can be completed successfully. This issue will likely be closed alongside issues #7 and #5 in an upcoming PR.

stiiifff commented 1 month ago

@dowlandaiello can this be closed ? I don't see any open PR linked to it ..