compare_market_windows
Compare equal-duration hourly or calendar-day windows with historical candles and timezone-aware boundaries.
Compare market windows
Compare equal-duration hourly or calendar-day windows with historical candles and timezone-aware boundaries.
Permission and calling convention
Required scope: chain:read. This tool reads data or account-owned state.
This tool does not sign or broadcast a transaction. Check errors, source timestamps and explicit unavailable fields before using the result.
POST /api/tools/compare_market_windows
Authorization: Bearer <ULTRON_ACCESS_KEY>
Content-Type: application/jsonInput schema
Inputs are validated against this current schema. Use exact values from live source results rather than substituting a ticker for a contract or a different chain.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"pool": {
"type": "string",
"pattern": "^0x(?:[0-9a-fA-F]{40}|[0-9a-fA-F]{64})$"
},
"mode": {
"default": "today_vs_yesterday",
"type": "string",
"enum": [
"today_vs_yesterday",
"last_hour",
"last_2_hours",
"last_6_hours"
]
},
"timezone": {
"default": "UTC",
"type": "string",
"maxLength": 80
}
},
"required": [
"pool",
"mode",
"timezone"
],
"additionalProperties": false
}