Skip to main content
Glama
GenParkQuantOrderbookL2MicrostructureImbalance

GenParkQuantOrderbookL2MicrostructureImbalance

by Alpha-Park

genpark-quant-orderbook-l2-microstructure-imbalance-skill

Organization Model Context Protocol Zero-Dependency Python Version Domain License

Production-grade Quantitative Finance & DeFi Microstructure skill engineered strictly with Python standard library. Provides real-time concentrated liquidity optimization, L2 orderbook imbalance metrics, negative-cycle triangular arbitrage detection, and Bayesian Black-Litterman portfolio rebalancing via the Model Context Protocol (MCP).


Architecture & Data Flow

flowchart TD
    MarketFeed[L2 Tick / Orderbook / Exchange Rate Matrix / Covariance] --> Normalizer[Data Normalizer]
    Normalizer --> Core["GenParkQuantOrderbookL2MicrostructureImbalance"]
    Core --> Analytics[Microstructure & Optimization Engine]
    Analytics --> RiskGuard[Slippage & Drawdown Constraints]
    RiskGuard --> MCPOutput[Standard MCP Tool Result / Execution Vector]

Related MCP server: genpark-quant-concentrated-liquidity-tick-optimizer-skill

Quickstart & Usage

1. Direct Python Client Execution

python example_usage.py

2. Standalone MCP Server Launch

Run the native STDIO MCP server:

python mcp_server.py

License

This project is licensed under the MIT License - see the LICENSE file for details.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables real-time optimization of Uniswap v3/v4 concentrated liquidity ticks by balancing fee APY against impermanent loss under asset volatility, alongside L2 orderbook imbalance metrics, triangular arbitrage detection, and Bayesian portfolio rebalancing via MCP.
      7
      MIT
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables MCP clients to optimize Uniswap v3/v4 tick ranges by balancing fee APY against impermanent loss under asset volatility, while providing L2 orderbook imbalance, triangular arbitrage, and Bayesian portfolio rebalancing analytics.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables computing weighted orderbook imbalance, micro-price, and market-order VWAP execution slippage, alongside concentrated liquidity optimization, negative-cycle triangular arbitrage detection, and Bayesian Black-Litterman portfolio rebalancing, through standard MCP tool calls.
      7
      MIT