Gann planetary lines
planetary_linesFinancial astrology Gann planetary lines for trading bots and backtests (stocks, crypto, BTC, forex): planet degrees seen from the Earth and from the Sun (geocentric and heliocentric) at a moment or as an hourly-to-weekly time series keyed by unix timestamp, with aspect offsets, Mean of 5 / Circle of 8 and price levels (degree + 360k) x unit. E.g. {start: '2024-01-01', end: '2024-12-31', interval: '1d', bodies: ['jupiter', 'saturn']}. Financial-astrology DATA for charting and backtests, not signals: the longitude of each planet, seen from the Earth and from the Sun in one call, plus the aspect offsets you ask for (+/-90, 120...), the Optuma averages Mean of 5 and Circle of 8, speeds, retrograde flags and declinations. Snapshot ('datetime') or series ('start', 'end', 'interval' 1h..1w, up to 1000 samples, optionally unwrapped for plotting) in columns ready for pandas. With 'price_unit' and 'price_range': every price level (degree + 360 k) x unit. Each result is hashed, so a backtest can cite and replay it. Deterministic (JPL DE440, no LLM); every result carries meta.result_sha256. Price $0.20 per call via REST POST https://astro-agent.dev/v1/finance/planetary-lines (x402 or MPP); always paid, never a free call.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "planetary_lines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Series: last UTC date, YYYY-MM-DD (at most 1000 samples). | |
| start | No | Series: first UTC date, YYYY-MM-DD. Example: '2024-01-01'. | |
| bodies | No | Bodies to draw. Default: Sun..Pluto (geo), Mercury..Pluto with Earth (helio). | |
| format | No | Series layout: 'columns' (pandas.DataFrame(result['series'])) or 'rows' (one object per sample). | columns |
| unwrap | No | Series: continuous degrees (no 360 -> 0 jump), for plotting lines across a chart. | |
| aspects | No | Aspect offsets added to every line (+angle and -angle). Default: the planet's own line only (conjunction). | |
| options | No | Optional zodiac settings. | |
| averages | No | Optuma averages: mean_of_5 = (Jupiter+Saturn+Uranus+Neptune+Pluto)/5, circle_of_8 = (Mercury..Pluto)/8, in each perspective. | |
| datetime | No | A moment (snapshot): ISO 8601 with Z or an offset, e.g. '2024-01-01T00:00Z'. A local time needs 'timezone' or coordinates. Omit when giving start/end. | |
| interval | No | Series sampling step, in candle-timeframe notation. | 1d |
| time_utc | No | Series: UTC time of day of the first sample, HH:MM. | 00:00 |
| timezone | No | IANA zone, e.g. 'Asia/Kolkata'. Optional: resolved from the coordinates, with the historical offset (DST, Local Mean Time) of that date. | |
| price_unit | No | Price per degree. With price_range: levels = (degree + 360 k) x price_unit. | |
| perspective | No | Geocentric, heliocentric, or both in one call (default). | both |
| price_range | No | The price window in which to list levels, e.g. {min: 30000, max: 80000}. | |
| average_method | No | 'arithmetic' mean of the 0-360 longitudes (Optuma's rule) or 'circular' (vector) mean. | arithmetic |
| include_declination | No | Series: also a declination column per body. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | Provenance of the result. | |
| error | No | x402 offer only: why payment is required. | |
| result | No | The calculation result. | |
| accepts | No | x402 offer only: the payment options (scheme, network, amount, asset, payTo, ...). | |
| endpoint | No | The REST route that computed it, e.g. 'western/natal'. | |
| resource | No | x402 offer only: the resource being paid for. | |
| extensions | No | x402 offer only: protocol extensions (bazaar). | |
| x402Version | No | x402 offer only: protocol version (2). |