Crypto Trading Bot Development

Job ID: 39804227

Budget: $25 – $50 USD

I'm looking for an experienced developer to create a crypto trading bot for me. The bot should utilize a grid trading strategy combined with hedging techniques.

What the bot needs to do:

Currency/Leverage: XRPUSDT, LEVERAGE=50 (syncs with Bybit).

Linear grid LONG: 400 levels below the center with STEP_PCT=0.25 (0.25%).

Fixed grid center during the trade: does not recalculate while there is a position; re-centers only after the TP (waits for ENTRY_COOLDOWN_MS=3000 ms, default 3s).

Activation 1x per trade: each level activates only once (even if the price touches it multiple times).

Net TP 0.5%: resolves the target price to guarantee 0.5% NET on the entry notional, adding:

opening fee (taker),

funding against (runtime + boot),

closing fee (taker),

hedge costs (via the hedge "bank"; see below).

Hedge in HEDGE mode: When activated ≥ grid 50 (setting in .env), opens SHORT = 50% of the accumulated LONG (or higher, depending on your thresholds).

Smooth unwind near the TP in bands (configurable).

Never reduces the LONG profit: hedge costs become bank and are amortized in the TP (by default 25%/TP, configurable cap).

Full logs (in the console):

Grids 42/400, current center, Q/VWAP, accumulated opening rates, paid funding (~approx.), expected closing rate, and HedgeBank (bank balance).

Persistent states: state.json (center, activated grids, VWAP, costs) and state_hedgebank.json (hedge bank).
Backtest

Ideal Skills and Experience:
- Proven experience in developing crypto trading bots.
- Strong understanding of grid trading and hedging strategies.
- Familiarity with Bybit API.
- Expertise in security practices for trading bots.

Please share your relevant experience and approach.