Improved

Documentation Overhaul — New Guides for Traders & Partners

We've reorganized and expanded our documentation to make it faster to find what you need, whether you're trading on Lavarage or building an integration.

For Traders — 4 New Guides

  • Long vs Short Positions — Side-by-side breakdown of how longs and shorts work mechanically, when to use each, and how to combine them for hedging and pairs trades.
  • Risk & Liquidation — Everything about LTV, liquidation thresholds, how interest affects your health over time, and practical risk management strategies by leverage level.
  • Fees & Interest — Transparent fee breakdown with worked examples. Includes a break-even calculator so you know exactly how much the token needs to move before you profit.
  • Smart Order Routing — New section in the Trading guide explaining how Lavarage automatically matches you with the best lending pool for your trade.

For Integration Partners — 2 New Guides

  • Pools & Smart Order Routing — Deep dive into the pool system: how offers work, how the routing engine selects the best pool, how to build your own routing logic, and pool lifecycle events.
  • Transaction Lifecycle — End-to-end flow from API call to on-chain confirmation. Covers signing, Jito bundle submission, MEV protection, position sync states, error handling, and retry patterns.

Better Organization

  • For Traders is now the first section in the docs — 13 pages covering everything from getting started to advanced risk management.
  • For Integration Partners pages are reordered to follow the natural integration flow: quickstart → trading API → pool routing → advanced ops → transaction lifecycle → real-time data → revenue → errors → staking.
  • Position health management (increase-borrow, compound, add-collateral) is now part of the Advanced Operations page — one place for all position management endpoints.
  • Removed duplicate content that was spread across multiple sections.