hip4-edge-bot

OpenTool app

May 4, 2026
0
README.md

HIP-4 Edge Bot

Execution-capable Hyperliquid strategy template for BTC HIP-4 outcome markets.

Configure via OPENTOOL_PUBLIC_HL_HIP4_EDGE_BOT_CONFIG.

The template:

  • Reads /v1/hyperliquid/hip4-edge from the OpenPond gateway.
  • Uses model.seriesKey as the recurring HIP-4 identity, for example hip4:mainnet:btc:price-binary:above:1d:settles-0600-utc.
  • Uses roundKey only for the current strike/expiry round and duplicate-trade state.
  • Compares YES and NO asks against the gateway fair value edge model.
  • Selects positive-edge underpriced legs using configurable edge, ROI, ask, and liquidity filters.
  • Optionally buys the selected HIP-4 YES or NO outcome through the customer lambda operating wallet.
  • Stores each run, signal, and submitted order in OpenTool store.

Execution is disabled by default. Set execution.enabled to true when the app should submit live Hyperliquid orders.