Recommended Tool Set
get_gex(symbol)for dealer gamma pressure and strike concentrations.get_key_levels(symbol)for call/put walls, hedge wall, max pain.get_gamma_profile(symbol)for zero-gamma level and environment.
AI Agent Integration
Turn live options analytics into agent-callable tools. This setup gives OpenClaw structured context before it generates trade commentary or risk actions.
get_gex(symbol) for dealer gamma pressure and strike concentrations.get_key_levels(symbol) for call/put walls, hedge wall, max pain.get_gamma_profile(symbol) for zero-gamma level and environment.@tool("get_key_levels")
def get_key_levels(symbol: str) -> dict:
resp = requests.get(
"https://thetavantage.com/api/v1/key-levels",
params={"symbol": symbol, "api_key": os.environ["TV_API_KEY"]},
timeout=15,
)
resp.raise_for_status()
return resp.json()1) Fetch gex, key-levels, gamma-profile for symbol. 2) Summarize current regime and nearby walls. 3) Produce bull/base/bear scenarios with invalidation levels. 4) Return concise risk-first guidance.