Crypto exchange APIs

Order book imbalance formula: OBI, OFI and edge cases

Order book imbalance formula: (bid - ask) / (bid + ask) by levels or price band, weighted variants, how OFI differs, and tested Python for the edge cases.

Fincode · · 13 min read

Send a short project brief

The form or an email is enough. You do not need to share your rules yet.

  • The exchange or platform you use
  • What the software should do
  • Your target timeline