Skip to content

Conversation

@coccoinomane
Copy link

@coccoinomane coccoinomane commented May 22, 2025

Integration of Bybit Spot & Futures trading with HeyAnon.

To do

  • Action: Withdraw to on-chain address
  • Action: Transfer between funding and UTA account
  • Fix: Should not create positions if setting margin mode failed
  • Include P&L in closePosition tool
  • Getter: Show deposit address for token and chain
  • Include TP/SL/TS in position information tools
  • Extensively test spot/futures switching
  • Support for delivery futures
  • Action: Create trailing stop order for derivatives markets
  • Action: Create new conditional position
  • Action: Create TP/SL positions (similar to OCO)
  • Handle case where user specifies amount in quote currency (both future and spot)
  • Test confusing instructions, e.g. "30x buy BTC with 50 USDT" or "Long 1 BTC/USDT"
  • Action: Create new position
  • Action: close a single position
  • Cancel order actions
  • Order getters
  • Cancel position actions
  • Action: Add margin to an isolated position
  • Action: Remove margin from an isolated position
  • Action: Change a market's leverage
  • Action: Change account-level margin mode
  • Getter: Show market leverage
  • Getter: Show account margin mode
  • Show same margin metric as the one shown in the UI
  • Getter: Show position by symbol
  • Getter: Show open positions
  • Fetch max leverage for each market
  • Reimplement Get market info getter
  • Reimplement Get currency markets getter
  • Reimplement Show balance getter
  • Ensure only future and perpetual markets are considered

@coccoinomane coccoinomane changed the title Feature/bybit Bybit Spot & Futures Trading May 22, 2025
@coccoinomane coccoinomane marked this pull request as ready for review June 9, 2025 17:37
@coccoinomane coccoinomane force-pushed the feature/bybit branch 2 times, most recently from d91dcfd to 692db54 Compare June 24, 2025 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant