astro-intelligence 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- astro_intelligence-0.1.0/PKG-INFO +238 -0
- astro_intelligence-0.1.0/README.md +208 -0
- astro_intelligence-0.1.0/astro_intelligence.egg-info/PKG-INFO +238 -0
- astro_intelligence-0.1.0/astro_intelligence.egg-info/SOURCES.txt +6 -0
- astro_intelligence-0.1.0/astro_intelligence.egg-info/dependency_links.txt +1 -0
- astro_intelligence-0.1.0/astro_intelligence.egg-info/top_level.txt +1 -0
- astro_intelligence-0.1.0/setup.cfg +4 -0
- astro_intelligence-0.1.0/setup.py +36 -0
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: astro-intelligence
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Python client for the A.S.T.R.O. financial cognition engine API
|
|
5
|
+
Home-page: https://astro-event-horizon.vercel.app
|
|
6
|
+
Author: ASTRO Intelligence
|
|
7
|
+
Author-email: jarvisways@gmail.com
|
|
8
|
+
Project-URL: GitHub, https://github.com/jarvisways-cyber/astro-oracle
|
|
9
|
+
Project-URL: API Docs, https://astro-event-horizon.vercel.app/docs
|
|
10
|
+
Keywords: crypto,trading,oracle,market intelligence,algotrading,bitcoin,api,prediction markets,quantitative,signals
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
+
Classifier: Operating System :: OS Independent
|
|
14
|
+
Classifier: Topic :: Office/Business :: Financial
|
|
15
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
16
|
+
Classifier: Intended Audience :: Developers
|
|
17
|
+
Classifier: Intended Audience :: Financial and Insurance Industry
|
|
18
|
+
Requires-Python: >=3.7
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
Dynamic: author
|
|
21
|
+
Dynamic: author-email
|
|
22
|
+
Dynamic: classifier
|
|
23
|
+
Dynamic: description
|
|
24
|
+
Dynamic: description-content-type
|
|
25
|
+
Dynamic: home-page
|
|
26
|
+
Dynamic: keywords
|
|
27
|
+
Dynamic: project-url
|
|
28
|
+
Dynamic: requires-python
|
|
29
|
+
Dynamic: summary
|
|
30
|
+
|
|
31
|
+
# A.S.T.R.O.
|
|
32
|
+
### Asset Sentiment Trend Risk Oracle
|
|
33
|
+
|
|
34
|
+
> *Not a signal. A translation of the market itself.*
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
A.S.T.R.O. is not a signal service. It is a financial cognition engine designed to translate the world's fragmented market data into a unified probability framework for digital assets.
|
|
39
|
+
|
|
40
|
+
At its core is a proprietary multi-dimensional oracle architecture that continuously ingests and interprets live global market intelligence across nine independent signal domains. Each layer is processed through an intellectual reaction stack that models how institutional algorithms, market makers, liquidity providers, retail participants, and autonomous trading systems are likely to respond under current conditions.
|
|
41
|
+
|
|
42
|
+
Rather than measuring what the market is doing, A.S.T.R.O. measures what the market is likely to do next.
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## The Nine Signal Domains
|
|
47
|
+
|
|
48
|
+
**1. Fear & Greed Regimes**
|
|
49
|
+
Real-time market sentiment indexed and translated into a directional probability score.
|
|
50
|
+
|
|
51
|
+
**2. Market Structure Dynamics**
|
|
52
|
+
Bitcoin dominance, 24-hour market change, and structural position analysis synthesized into a single structural health score.
|
|
53
|
+
|
|
54
|
+
**3. Funding Rate Distortions**
|
|
55
|
+
Perpetual futures funding rates across seven assets on Kraken Futures, converted into a composite pressure score revealing whether the market is overleveraged long or short.
|
|
56
|
+
|
|
57
|
+
**4. Liquidity Pressure Mapping**
|
|
58
|
+
Live order book depth analysis across seven trading pairs — bid/ask ratio mapping that reveals where capital is positioned and where it is likely to move.
|
|
59
|
+
|
|
60
|
+
**5. Macro Correlation Networks**
|
|
61
|
+
Real-time correlation tracking across DXY (dollar index), QQQ (tech equity), VIX (volatility index), and GLD (gold) — quantifying macro tailwinds and headwinds against crypto capital flows.
|
|
62
|
+
|
|
63
|
+
**6. On-Chain Capital Flows**
|
|
64
|
+
Bitcoin mempool size, trade volume, and transactions-per-second monitored via Blockchain.info — revealing whether capital is accumulating, transacting, or withdrawing from the network.
|
|
65
|
+
|
|
66
|
+
**7. Derivatives & Options Positioning**
|
|
67
|
+
Deribit options flow analysis including put/call ratio, implied volatility skew, and max pain levels across BTC and ETH — decoding how institutional options desks are positioned.
|
|
68
|
+
|
|
69
|
+
**8. Narrative & Sentiment Velocity**
|
|
70
|
+
CoinGecko community data and trending asset analysis — measuring the velocity at which narrative is shifting across the crypto ecosystem.
|
|
71
|
+
|
|
72
|
+
**9. Congressional Insider Activity & Smart Capital Monitoring**
|
|
73
|
+
30-day composite congressional trading signal via Kadoa MIT monitor — whale-weighted tracking of smart capital flows from informed institutional actors.
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## Ascendancy & Velocity
|
|
78
|
+
|
|
79
|
+
At the heart of A.S.T.R.O.'s per-asset intelligence is a proprietary scoring layer built on top of live prediction market data.
|
|
80
|
+
|
|
81
|
+
Every cycle, the engine scans up to 300 active prediction markets on **Polymarket** and **Kalshi** — platforms where real capital is staked on future outcomes. Each market question is classified against 15+ event categories including:
|
|
82
|
+
|
|
83
|
+
- Federal Reserve policy shifts
|
|
84
|
+
- SEC rulings and enforcement actions
|
|
85
|
+
- Crypto legislation and regulatory bills
|
|
86
|
+
- Exchange risk events
|
|
87
|
+
- Stablecoin stability signals
|
|
88
|
+
- Protocol upgrades
|
|
89
|
+
- Macro economic indicators
|
|
90
|
+
- Political and executive developments
|
|
91
|
+
- Crypto ban or restriction signals
|
|
92
|
+
|
|
93
|
+
Each event category carries **per-asset relevance weights**. An ETF approval signal scores BTC at maximum relevance and DOGE at minimal relevance. An SEC enforcement action scores ETH and SOL at high sensitivity while BTC absorbs it differently. Every asset responds to every event type according to its own calibrated sensitivity profile.
|
|
94
|
+
|
|
95
|
+
Markets are volume-weighted using a log10 normalization curve — a $5M prediction market carries significantly more weight than a $50K market, but no single market can dominate the output.
|
|
96
|
+
|
|
97
|
+
The result is the **Ascendancy Score** — a 0-100 probability-weighted measure of how favorably the prediction market intelligence landscape is positioned for each individual asset right now.
|
|
98
|
+
|
|
99
|
+
**Velocity** is the rate of change in Ascendancy between cycles — revealing whether conditions are accelerating toward an asset or retreating from it.
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## Asset Gate Status
|
|
104
|
+
|
|
105
|
+
The engine synthesizes all nine signal domains into a continuous **Asset Gate Status** for each supported asset:
|
|
106
|
+
|
|
107
|
+
- `OPEN` — capital conditions favor entry consideration
|
|
108
|
+
- `BLOCKED` — structural, macro, or signal conditions do not support entry
|
|
109
|
+
|
|
110
|
+
Gate status incorporates SMA200 structural position, composite oracle score, ascendancy, velocity, and regime classification. When the gate is BLOCKED, the engine is protecting capital. When it opens, conditions have aligned across multiple independent domains simultaneously.
|
|
111
|
+
|
|
112
|
+
**Supported Assets**
|
|
113
|
+
Bitcoin · Ethereum · Solana · Cardano · Dogecoin · Chainlink · Polkadot · Polygon · Arbitrum · Optimism
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## Live API Output
|
|
118
|
+
|
|
119
|
+
One API request every fifteen minutes delivers a complete strategic assessment:
|
|
120
|
+
|
|
121
|
+
```json
|
|
122
|
+
{
|
|
123
|
+
"composite": 49.36,
|
|
124
|
+
"regime": "NEUTRAL",
|
|
125
|
+
"btc_price": 64250.10,
|
|
126
|
+
"watching": [
|
|
127
|
+
{"symbol": "SOL", "change_24h": 1.87},
|
|
128
|
+
{"symbol": "DOGE", "change_24h": 1.22},
|
|
129
|
+
{"symbol": "BTC", "change_24h": 0.91}
|
|
130
|
+
],
|
|
131
|
+
"signals": {
|
|
132
|
+
"fear_greed": 18.0,
|
|
133
|
+
"market_structure": 48.03,
|
|
134
|
+
"funding_rates": 52.29,
|
|
135
|
+
"liquidity_pressure": 53.43,
|
|
136
|
+
"macro_correlation": 54.5,
|
|
137
|
+
"onchain_flows": 38.33,
|
|
138
|
+
"options_flow": 48.83,
|
|
139
|
+
"narrative_sentiment": 87.79,
|
|
140
|
+
"congress_smart_money": 67.41
|
|
141
|
+
},
|
|
142
|
+
"last_updated": "2026-06-14T06:39:16Z"
|
|
143
|
+
}
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
Per-asset intelligence via `/oracle/assets`:
|
|
147
|
+
|
|
148
|
+
```json
|
|
149
|
+
{
|
|
150
|
+
"BTC": {
|
|
151
|
+
"ascendancy": 12.11,
|
|
152
|
+
"velocity": 39.12,
|
|
153
|
+
"sma200": 77641.76,
|
|
154
|
+
"gate": "BLOCKED"
|
|
155
|
+
},
|
|
156
|
+
"SOL": {
|
|
157
|
+
"ascendancy": 21.41,
|
|
158
|
+
"velocity": -3.37,
|
|
159
|
+
"sma200": 99.66,
|
|
160
|
+
"gate": "BLOCKED"
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
Historical cycle data via `/oracle/history` includes `outcome_1h` and `outcome_4h` — actual price movement recorded after each prediction cycle, building a continuously growing performance record.
|
|
166
|
+
|
|
167
|
+
---
|
|
168
|
+
|
|
169
|
+
## API Endpoints
|
|
170
|
+
|
|
171
|
+
| Endpoint | Description |
|
|
172
|
+
|----------|-------------|
|
|
173
|
+
| `/oracle/composite` | Full composite score + all 9 signals + top movers |
|
|
174
|
+
| `/oracle/signals` | Individual signal domain breakdown |
|
|
175
|
+
| `/oracle/assets` | Per-asset ascendancy, velocity, SMA200, gate status |
|
|
176
|
+
| `/oracle/congress` | Congressional smart money signal detail |
|
|
177
|
+
| `/oracle/history` | Historical oracle cycles with outcome tracking |
|
|
178
|
+
|
|
179
|
+
**Authentication:** `X-API-Key` header or `?api_key=` query parameter
|
|
180
|
+
**Rate limit:** 1 request per 15 minutes — synchronized with oracle cycle time
|
|
181
|
+
|
|
182
|
+
---
|
|
183
|
+
|
|
184
|
+
## Quick Start
|
|
185
|
+
|
|
186
|
+
```python
|
|
187
|
+
import requests
|
|
188
|
+
|
|
189
|
+
response = requests.get(
|
|
190
|
+
"https://your-endpoint/oracle/composite",
|
|
191
|
+
params={"api_key": "your-key"}
|
|
192
|
+
)
|
|
193
|
+
|
|
194
|
+
data = response.json()
|
|
195
|
+
print(f"Regime: {data['regime']}")
|
|
196
|
+
print(f"Composite: {data['composite']}")
|
|
197
|
+
print(f"FNG: {data['signals']['fear_greed']}")
|
|
198
|
+
print(f"Congress: {data['signals']['congress_smart_money']}")
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
```javascript
|
|
202
|
+
const res = await fetch(
|
|
203
|
+
`https://your-endpoint/oracle/assets?api_key=${API_KEY}`
|
|
204
|
+
);
|
|
205
|
+
const { assets } = await res.json();
|
|
206
|
+
Object.entries(assets).forEach(([symbol, data]) => {
|
|
207
|
+
console.log(`${symbol}: gate=${data.gate} asc=${data.ascendancy} vel=${data.velocity}`);
|
|
208
|
+
});
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
---
|
|
212
|
+
|
|
213
|
+
## Access
|
|
214
|
+
|
|
215
|
+
**$9/month — Full access. All endpoints. All nine signals. All ten assets.**
|
|
216
|
+
|
|
217
|
+
[astro-event-horizon.vercel.app](https://astro-event-horizon.vercel.app)
|
|
218
|
+
|
|
219
|
+
API key delivered instantly to your email upon payment.
|
|
220
|
+
|
|
221
|
+
---
|
|
222
|
+
|
|
223
|
+
## System Status
|
|
224
|
+
|
|
225
|
+
- [x] 9-signal oracle architecture — live
|
|
226
|
+
- [x] Prediction market intelligence layer (Polymarket + Kalshi) — active
|
|
227
|
+
- [x] Per-asset ascendancy + velocity scoring — live
|
|
228
|
+
- [x] Continuous 15-minute oracle cycles — running
|
|
229
|
+
- [x] REST API with authentication and rate limiting — live
|
|
230
|
+
- [x] Outcome tracking (1h + 4h) — logging every cycle
|
|
231
|
+
- [x] Automated Stripe payment + instant key delivery — live
|
|
232
|
+
- [ ] Module 8: Self-optimizing weight layer — building (target: 2,000 cycles)
|
|
233
|
+
|
|
234
|
+
---
|
|
235
|
+
|
|
236
|
+
*For traders, funds, quantitative systems, and autonomous agents seeking an informational edge, A.S.T.R.O. functions as a market operating system — decoding the collective behavior of global capital in real time.*
|
|
237
|
+
|
|
238
|
+
*No charts to interpret. No indicators to configure. No noise.*
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
# A.S.T.R.O.
|
|
2
|
+
### Asset Sentiment Trend Risk Oracle
|
|
3
|
+
|
|
4
|
+
> *Not a signal. A translation of the market itself.*
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
A.S.T.R.O. is not a signal service. It is a financial cognition engine designed to translate the world's fragmented market data into a unified probability framework for digital assets.
|
|
9
|
+
|
|
10
|
+
At its core is a proprietary multi-dimensional oracle architecture that continuously ingests and interprets live global market intelligence across nine independent signal domains. Each layer is processed through an intellectual reaction stack that models how institutional algorithms, market makers, liquidity providers, retail participants, and autonomous trading systems are likely to respond under current conditions.
|
|
11
|
+
|
|
12
|
+
Rather than measuring what the market is doing, A.S.T.R.O. measures what the market is likely to do next.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## The Nine Signal Domains
|
|
17
|
+
|
|
18
|
+
**1. Fear & Greed Regimes**
|
|
19
|
+
Real-time market sentiment indexed and translated into a directional probability score.
|
|
20
|
+
|
|
21
|
+
**2. Market Structure Dynamics**
|
|
22
|
+
Bitcoin dominance, 24-hour market change, and structural position analysis synthesized into a single structural health score.
|
|
23
|
+
|
|
24
|
+
**3. Funding Rate Distortions**
|
|
25
|
+
Perpetual futures funding rates across seven assets on Kraken Futures, converted into a composite pressure score revealing whether the market is overleveraged long or short.
|
|
26
|
+
|
|
27
|
+
**4. Liquidity Pressure Mapping**
|
|
28
|
+
Live order book depth analysis across seven trading pairs — bid/ask ratio mapping that reveals where capital is positioned and where it is likely to move.
|
|
29
|
+
|
|
30
|
+
**5. Macro Correlation Networks**
|
|
31
|
+
Real-time correlation tracking across DXY (dollar index), QQQ (tech equity), VIX (volatility index), and GLD (gold) — quantifying macro tailwinds and headwinds against crypto capital flows.
|
|
32
|
+
|
|
33
|
+
**6. On-Chain Capital Flows**
|
|
34
|
+
Bitcoin mempool size, trade volume, and transactions-per-second monitored via Blockchain.info — revealing whether capital is accumulating, transacting, or withdrawing from the network.
|
|
35
|
+
|
|
36
|
+
**7. Derivatives & Options Positioning**
|
|
37
|
+
Deribit options flow analysis including put/call ratio, implied volatility skew, and max pain levels across BTC and ETH — decoding how institutional options desks are positioned.
|
|
38
|
+
|
|
39
|
+
**8. Narrative & Sentiment Velocity**
|
|
40
|
+
CoinGecko community data and trending asset analysis — measuring the velocity at which narrative is shifting across the crypto ecosystem.
|
|
41
|
+
|
|
42
|
+
**9. Congressional Insider Activity & Smart Capital Monitoring**
|
|
43
|
+
30-day composite congressional trading signal via Kadoa MIT monitor — whale-weighted tracking of smart capital flows from informed institutional actors.
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Ascendancy & Velocity
|
|
48
|
+
|
|
49
|
+
At the heart of A.S.T.R.O.'s per-asset intelligence is a proprietary scoring layer built on top of live prediction market data.
|
|
50
|
+
|
|
51
|
+
Every cycle, the engine scans up to 300 active prediction markets on **Polymarket** and **Kalshi** — platforms where real capital is staked on future outcomes. Each market question is classified against 15+ event categories including:
|
|
52
|
+
|
|
53
|
+
- Federal Reserve policy shifts
|
|
54
|
+
- SEC rulings and enforcement actions
|
|
55
|
+
- Crypto legislation and regulatory bills
|
|
56
|
+
- Exchange risk events
|
|
57
|
+
- Stablecoin stability signals
|
|
58
|
+
- Protocol upgrades
|
|
59
|
+
- Macro economic indicators
|
|
60
|
+
- Political and executive developments
|
|
61
|
+
- Crypto ban or restriction signals
|
|
62
|
+
|
|
63
|
+
Each event category carries **per-asset relevance weights**. An ETF approval signal scores BTC at maximum relevance and DOGE at minimal relevance. An SEC enforcement action scores ETH and SOL at high sensitivity while BTC absorbs it differently. Every asset responds to every event type according to its own calibrated sensitivity profile.
|
|
64
|
+
|
|
65
|
+
Markets are volume-weighted using a log10 normalization curve — a $5M prediction market carries significantly more weight than a $50K market, but no single market can dominate the output.
|
|
66
|
+
|
|
67
|
+
The result is the **Ascendancy Score** — a 0-100 probability-weighted measure of how favorably the prediction market intelligence landscape is positioned for each individual asset right now.
|
|
68
|
+
|
|
69
|
+
**Velocity** is the rate of change in Ascendancy between cycles — revealing whether conditions are accelerating toward an asset or retreating from it.
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## Asset Gate Status
|
|
74
|
+
|
|
75
|
+
The engine synthesizes all nine signal domains into a continuous **Asset Gate Status** for each supported asset:
|
|
76
|
+
|
|
77
|
+
- `OPEN` — capital conditions favor entry consideration
|
|
78
|
+
- `BLOCKED` — structural, macro, or signal conditions do not support entry
|
|
79
|
+
|
|
80
|
+
Gate status incorporates SMA200 structural position, composite oracle score, ascendancy, velocity, and regime classification. When the gate is BLOCKED, the engine is protecting capital. When it opens, conditions have aligned across multiple independent domains simultaneously.
|
|
81
|
+
|
|
82
|
+
**Supported Assets**
|
|
83
|
+
Bitcoin · Ethereum · Solana · Cardano · Dogecoin · Chainlink · Polkadot · Polygon · Arbitrum · Optimism
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## Live API Output
|
|
88
|
+
|
|
89
|
+
One API request every fifteen minutes delivers a complete strategic assessment:
|
|
90
|
+
|
|
91
|
+
```json
|
|
92
|
+
{
|
|
93
|
+
"composite": 49.36,
|
|
94
|
+
"regime": "NEUTRAL",
|
|
95
|
+
"btc_price": 64250.10,
|
|
96
|
+
"watching": [
|
|
97
|
+
{"symbol": "SOL", "change_24h": 1.87},
|
|
98
|
+
{"symbol": "DOGE", "change_24h": 1.22},
|
|
99
|
+
{"symbol": "BTC", "change_24h": 0.91}
|
|
100
|
+
],
|
|
101
|
+
"signals": {
|
|
102
|
+
"fear_greed": 18.0,
|
|
103
|
+
"market_structure": 48.03,
|
|
104
|
+
"funding_rates": 52.29,
|
|
105
|
+
"liquidity_pressure": 53.43,
|
|
106
|
+
"macro_correlation": 54.5,
|
|
107
|
+
"onchain_flows": 38.33,
|
|
108
|
+
"options_flow": 48.83,
|
|
109
|
+
"narrative_sentiment": 87.79,
|
|
110
|
+
"congress_smart_money": 67.41
|
|
111
|
+
},
|
|
112
|
+
"last_updated": "2026-06-14T06:39:16Z"
|
|
113
|
+
}
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
Per-asset intelligence via `/oracle/assets`:
|
|
117
|
+
|
|
118
|
+
```json
|
|
119
|
+
{
|
|
120
|
+
"BTC": {
|
|
121
|
+
"ascendancy": 12.11,
|
|
122
|
+
"velocity": 39.12,
|
|
123
|
+
"sma200": 77641.76,
|
|
124
|
+
"gate": "BLOCKED"
|
|
125
|
+
},
|
|
126
|
+
"SOL": {
|
|
127
|
+
"ascendancy": 21.41,
|
|
128
|
+
"velocity": -3.37,
|
|
129
|
+
"sma200": 99.66,
|
|
130
|
+
"gate": "BLOCKED"
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
Historical cycle data via `/oracle/history` includes `outcome_1h` and `outcome_4h` — actual price movement recorded after each prediction cycle, building a continuously growing performance record.
|
|
136
|
+
|
|
137
|
+
---
|
|
138
|
+
|
|
139
|
+
## API Endpoints
|
|
140
|
+
|
|
141
|
+
| Endpoint | Description |
|
|
142
|
+
|----------|-------------|
|
|
143
|
+
| `/oracle/composite` | Full composite score + all 9 signals + top movers |
|
|
144
|
+
| `/oracle/signals` | Individual signal domain breakdown |
|
|
145
|
+
| `/oracle/assets` | Per-asset ascendancy, velocity, SMA200, gate status |
|
|
146
|
+
| `/oracle/congress` | Congressional smart money signal detail |
|
|
147
|
+
| `/oracle/history` | Historical oracle cycles with outcome tracking |
|
|
148
|
+
|
|
149
|
+
**Authentication:** `X-API-Key` header or `?api_key=` query parameter
|
|
150
|
+
**Rate limit:** 1 request per 15 minutes — synchronized with oracle cycle time
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
## Quick Start
|
|
155
|
+
|
|
156
|
+
```python
|
|
157
|
+
import requests
|
|
158
|
+
|
|
159
|
+
response = requests.get(
|
|
160
|
+
"https://your-endpoint/oracle/composite",
|
|
161
|
+
params={"api_key": "your-key"}
|
|
162
|
+
)
|
|
163
|
+
|
|
164
|
+
data = response.json()
|
|
165
|
+
print(f"Regime: {data['regime']}")
|
|
166
|
+
print(f"Composite: {data['composite']}")
|
|
167
|
+
print(f"FNG: {data['signals']['fear_greed']}")
|
|
168
|
+
print(f"Congress: {data['signals']['congress_smart_money']}")
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
```javascript
|
|
172
|
+
const res = await fetch(
|
|
173
|
+
`https://your-endpoint/oracle/assets?api_key=${API_KEY}`
|
|
174
|
+
);
|
|
175
|
+
const { assets } = await res.json();
|
|
176
|
+
Object.entries(assets).forEach(([symbol, data]) => {
|
|
177
|
+
console.log(`${symbol}: gate=${data.gate} asc=${data.ascendancy} vel=${data.velocity}`);
|
|
178
|
+
});
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
---
|
|
182
|
+
|
|
183
|
+
## Access
|
|
184
|
+
|
|
185
|
+
**$9/month — Full access. All endpoints. All nine signals. All ten assets.**
|
|
186
|
+
|
|
187
|
+
[astro-event-horizon.vercel.app](https://astro-event-horizon.vercel.app)
|
|
188
|
+
|
|
189
|
+
API key delivered instantly to your email upon payment.
|
|
190
|
+
|
|
191
|
+
---
|
|
192
|
+
|
|
193
|
+
## System Status
|
|
194
|
+
|
|
195
|
+
- [x] 9-signal oracle architecture — live
|
|
196
|
+
- [x] Prediction market intelligence layer (Polymarket + Kalshi) — active
|
|
197
|
+
- [x] Per-asset ascendancy + velocity scoring — live
|
|
198
|
+
- [x] Continuous 15-minute oracle cycles — running
|
|
199
|
+
- [x] REST API with authentication and rate limiting — live
|
|
200
|
+
- [x] Outcome tracking (1h + 4h) — logging every cycle
|
|
201
|
+
- [x] Automated Stripe payment + instant key delivery — live
|
|
202
|
+
- [ ] Module 8: Self-optimizing weight layer — building (target: 2,000 cycles)
|
|
203
|
+
|
|
204
|
+
---
|
|
205
|
+
|
|
206
|
+
*For traders, funds, quantitative systems, and autonomous agents seeking an informational edge, A.S.T.R.O. functions as a market operating system — decoding the collective behavior of global capital in real time.*
|
|
207
|
+
|
|
208
|
+
*No charts to interpret. No indicators to configure. No noise.*
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: astro-intelligence
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Python client for the A.S.T.R.O. financial cognition engine API
|
|
5
|
+
Home-page: https://astro-event-horizon.vercel.app
|
|
6
|
+
Author: ASTRO Intelligence
|
|
7
|
+
Author-email: jarvisways@gmail.com
|
|
8
|
+
Project-URL: GitHub, https://github.com/jarvisways-cyber/astro-oracle
|
|
9
|
+
Project-URL: API Docs, https://astro-event-horizon.vercel.app/docs
|
|
10
|
+
Keywords: crypto,trading,oracle,market intelligence,algotrading,bitcoin,api,prediction markets,quantitative,signals
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
+
Classifier: Operating System :: OS Independent
|
|
14
|
+
Classifier: Topic :: Office/Business :: Financial
|
|
15
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
16
|
+
Classifier: Intended Audience :: Developers
|
|
17
|
+
Classifier: Intended Audience :: Financial and Insurance Industry
|
|
18
|
+
Requires-Python: >=3.7
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
Dynamic: author
|
|
21
|
+
Dynamic: author-email
|
|
22
|
+
Dynamic: classifier
|
|
23
|
+
Dynamic: description
|
|
24
|
+
Dynamic: description-content-type
|
|
25
|
+
Dynamic: home-page
|
|
26
|
+
Dynamic: keywords
|
|
27
|
+
Dynamic: project-url
|
|
28
|
+
Dynamic: requires-python
|
|
29
|
+
Dynamic: summary
|
|
30
|
+
|
|
31
|
+
# A.S.T.R.O.
|
|
32
|
+
### Asset Sentiment Trend Risk Oracle
|
|
33
|
+
|
|
34
|
+
> *Not a signal. A translation of the market itself.*
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
A.S.T.R.O. is not a signal service. It is a financial cognition engine designed to translate the world's fragmented market data into a unified probability framework for digital assets.
|
|
39
|
+
|
|
40
|
+
At its core is a proprietary multi-dimensional oracle architecture that continuously ingests and interprets live global market intelligence across nine independent signal domains. Each layer is processed through an intellectual reaction stack that models how institutional algorithms, market makers, liquidity providers, retail participants, and autonomous trading systems are likely to respond under current conditions.
|
|
41
|
+
|
|
42
|
+
Rather than measuring what the market is doing, A.S.T.R.O. measures what the market is likely to do next.
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## The Nine Signal Domains
|
|
47
|
+
|
|
48
|
+
**1. Fear & Greed Regimes**
|
|
49
|
+
Real-time market sentiment indexed and translated into a directional probability score.
|
|
50
|
+
|
|
51
|
+
**2. Market Structure Dynamics**
|
|
52
|
+
Bitcoin dominance, 24-hour market change, and structural position analysis synthesized into a single structural health score.
|
|
53
|
+
|
|
54
|
+
**3. Funding Rate Distortions**
|
|
55
|
+
Perpetual futures funding rates across seven assets on Kraken Futures, converted into a composite pressure score revealing whether the market is overleveraged long or short.
|
|
56
|
+
|
|
57
|
+
**4. Liquidity Pressure Mapping**
|
|
58
|
+
Live order book depth analysis across seven trading pairs — bid/ask ratio mapping that reveals where capital is positioned and where it is likely to move.
|
|
59
|
+
|
|
60
|
+
**5. Macro Correlation Networks**
|
|
61
|
+
Real-time correlation tracking across DXY (dollar index), QQQ (tech equity), VIX (volatility index), and GLD (gold) — quantifying macro tailwinds and headwinds against crypto capital flows.
|
|
62
|
+
|
|
63
|
+
**6. On-Chain Capital Flows**
|
|
64
|
+
Bitcoin mempool size, trade volume, and transactions-per-second monitored via Blockchain.info — revealing whether capital is accumulating, transacting, or withdrawing from the network.
|
|
65
|
+
|
|
66
|
+
**7. Derivatives & Options Positioning**
|
|
67
|
+
Deribit options flow analysis including put/call ratio, implied volatility skew, and max pain levels across BTC and ETH — decoding how institutional options desks are positioned.
|
|
68
|
+
|
|
69
|
+
**8. Narrative & Sentiment Velocity**
|
|
70
|
+
CoinGecko community data and trending asset analysis — measuring the velocity at which narrative is shifting across the crypto ecosystem.
|
|
71
|
+
|
|
72
|
+
**9. Congressional Insider Activity & Smart Capital Monitoring**
|
|
73
|
+
30-day composite congressional trading signal via Kadoa MIT monitor — whale-weighted tracking of smart capital flows from informed institutional actors.
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## Ascendancy & Velocity
|
|
78
|
+
|
|
79
|
+
At the heart of A.S.T.R.O.'s per-asset intelligence is a proprietary scoring layer built on top of live prediction market data.
|
|
80
|
+
|
|
81
|
+
Every cycle, the engine scans up to 300 active prediction markets on **Polymarket** and **Kalshi** — platforms where real capital is staked on future outcomes. Each market question is classified against 15+ event categories including:
|
|
82
|
+
|
|
83
|
+
- Federal Reserve policy shifts
|
|
84
|
+
- SEC rulings and enforcement actions
|
|
85
|
+
- Crypto legislation and regulatory bills
|
|
86
|
+
- Exchange risk events
|
|
87
|
+
- Stablecoin stability signals
|
|
88
|
+
- Protocol upgrades
|
|
89
|
+
- Macro economic indicators
|
|
90
|
+
- Political and executive developments
|
|
91
|
+
- Crypto ban or restriction signals
|
|
92
|
+
|
|
93
|
+
Each event category carries **per-asset relevance weights**. An ETF approval signal scores BTC at maximum relevance and DOGE at minimal relevance. An SEC enforcement action scores ETH and SOL at high sensitivity while BTC absorbs it differently. Every asset responds to every event type according to its own calibrated sensitivity profile.
|
|
94
|
+
|
|
95
|
+
Markets are volume-weighted using a log10 normalization curve — a $5M prediction market carries significantly more weight than a $50K market, but no single market can dominate the output.
|
|
96
|
+
|
|
97
|
+
The result is the **Ascendancy Score** — a 0-100 probability-weighted measure of how favorably the prediction market intelligence landscape is positioned for each individual asset right now.
|
|
98
|
+
|
|
99
|
+
**Velocity** is the rate of change in Ascendancy between cycles — revealing whether conditions are accelerating toward an asset or retreating from it.
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## Asset Gate Status
|
|
104
|
+
|
|
105
|
+
The engine synthesizes all nine signal domains into a continuous **Asset Gate Status** for each supported asset:
|
|
106
|
+
|
|
107
|
+
- `OPEN` — capital conditions favor entry consideration
|
|
108
|
+
- `BLOCKED` — structural, macro, or signal conditions do not support entry
|
|
109
|
+
|
|
110
|
+
Gate status incorporates SMA200 structural position, composite oracle score, ascendancy, velocity, and regime classification. When the gate is BLOCKED, the engine is protecting capital. When it opens, conditions have aligned across multiple independent domains simultaneously.
|
|
111
|
+
|
|
112
|
+
**Supported Assets**
|
|
113
|
+
Bitcoin · Ethereum · Solana · Cardano · Dogecoin · Chainlink · Polkadot · Polygon · Arbitrum · Optimism
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## Live API Output
|
|
118
|
+
|
|
119
|
+
One API request every fifteen minutes delivers a complete strategic assessment:
|
|
120
|
+
|
|
121
|
+
```json
|
|
122
|
+
{
|
|
123
|
+
"composite": 49.36,
|
|
124
|
+
"regime": "NEUTRAL",
|
|
125
|
+
"btc_price": 64250.10,
|
|
126
|
+
"watching": [
|
|
127
|
+
{"symbol": "SOL", "change_24h": 1.87},
|
|
128
|
+
{"symbol": "DOGE", "change_24h": 1.22},
|
|
129
|
+
{"symbol": "BTC", "change_24h": 0.91}
|
|
130
|
+
],
|
|
131
|
+
"signals": {
|
|
132
|
+
"fear_greed": 18.0,
|
|
133
|
+
"market_structure": 48.03,
|
|
134
|
+
"funding_rates": 52.29,
|
|
135
|
+
"liquidity_pressure": 53.43,
|
|
136
|
+
"macro_correlation": 54.5,
|
|
137
|
+
"onchain_flows": 38.33,
|
|
138
|
+
"options_flow": 48.83,
|
|
139
|
+
"narrative_sentiment": 87.79,
|
|
140
|
+
"congress_smart_money": 67.41
|
|
141
|
+
},
|
|
142
|
+
"last_updated": "2026-06-14T06:39:16Z"
|
|
143
|
+
}
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
Per-asset intelligence via `/oracle/assets`:
|
|
147
|
+
|
|
148
|
+
```json
|
|
149
|
+
{
|
|
150
|
+
"BTC": {
|
|
151
|
+
"ascendancy": 12.11,
|
|
152
|
+
"velocity": 39.12,
|
|
153
|
+
"sma200": 77641.76,
|
|
154
|
+
"gate": "BLOCKED"
|
|
155
|
+
},
|
|
156
|
+
"SOL": {
|
|
157
|
+
"ascendancy": 21.41,
|
|
158
|
+
"velocity": -3.37,
|
|
159
|
+
"sma200": 99.66,
|
|
160
|
+
"gate": "BLOCKED"
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
Historical cycle data via `/oracle/history` includes `outcome_1h` and `outcome_4h` — actual price movement recorded after each prediction cycle, building a continuously growing performance record.
|
|
166
|
+
|
|
167
|
+
---
|
|
168
|
+
|
|
169
|
+
## API Endpoints
|
|
170
|
+
|
|
171
|
+
| Endpoint | Description |
|
|
172
|
+
|----------|-------------|
|
|
173
|
+
| `/oracle/composite` | Full composite score + all 9 signals + top movers |
|
|
174
|
+
| `/oracle/signals` | Individual signal domain breakdown |
|
|
175
|
+
| `/oracle/assets` | Per-asset ascendancy, velocity, SMA200, gate status |
|
|
176
|
+
| `/oracle/congress` | Congressional smart money signal detail |
|
|
177
|
+
| `/oracle/history` | Historical oracle cycles with outcome tracking |
|
|
178
|
+
|
|
179
|
+
**Authentication:** `X-API-Key` header or `?api_key=` query parameter
|
|
180
|
+
**Rate limit:** 1 request per 15 minutes — synchronized with oracle cycle time
|
|
181
|
+
|
|
182
|
+
---
|
|
183
|
+
|
|
184
|
+
## Quick Start
|
|
185
|
+
|
|
186
|
+
```python
|
|
187
|
+
import requests
|
|
188
|
+
|
|
189
|
+
response = requests.get(
|
|
190
|
+
"https://your-endpoint/oracle/composite",
|
|
191
|
+
params={"api_key": "your-key"}
|
|
192
|
+
)
|
|
193
|
+
|
|
194
|
+
data = response.json()
|
|
195
|
+
print(f"Regime: {data['regime']}")
|
|
196
|
+
print(f"Composite: {data['composite']}")
|
|
197
|
+
print(f"FNG: {data['signals']['fear_greed']}")
|
|
198
|
+
print(f"Congress: {data['signals']['congress_smart_money']}")
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
```javascript
|
|
202
|
+
const res = await fetch(
|
|
203
|
+
`https://your-endpoint/oracle/assets?api_key=${API_KEY}`
|
|
204
|
+
);
|
|
205
|
+
const { assets } = await res.json();
|
|
206
|
+
Object.entries(assets).forEach(([symbol, data]) => {
|
|
207
|
+
console.log(`${symbol}: gate=${data.gate} asc=${data.ascendancy} vel=${data.velocity}`);
|
|
208
|
+
});
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
---
|
|
212
|
+
|
|
213
|
+
## Access
|
|
214
|
+
|
|
215
|
+
**$9/month — Full access. All endpoints. All nine signals. All ten assets.**
|
|
216
|
+
|
|
217
|
+
[astro-event-horizon.vercel.app](https://astro-event-horizon.vercel.app)
|
|
218
|
+
|
|
219
|
+
API key delivered instantly to your email upon payment.
|
|
220
|
+
|
|
221
|
+
---
|
|
222
|
+
|
|
223
|
+
## System Status
|
|
224
|
+
|
|
225
|
+
- [x] 9-signal oracle architecture — live
|
|
226
|
+
- [x] Prediction market intelligence layer (Polymarket + Kalshi) — active
|
|
227
|
+
- [x] Per-asset ascendancy + velocity scoring — live
|
|
228
|
+
- [x] Continuous 15-minute oracle cycles — running
|
|
229
|
+
- [x] REST API with authentication and rate limiting — live
|
|
230
|
+
- [x] Outcome tracking (1h + 4h) — logging every cycle
|
|
231
|
+
- [x] Automated Stripe payment + instant key delivery — live
|
|
232
|
+
- [ ] Module 8: Self-optimizing weight layer — building (target: 2,000 cycles)
|
|
233
|
+
|
|
234
|
+
---
|
|
235
|
+
|
|
236
|
+
*For traders, funds, quantitative systems, and autonomous agents seeking an informational edge, A.S.T.R.O. functions as a market operating system — decoding the collective behavior of global capital in real time.*
|
|
237
|
+
|
|
238
|
+
*No charts to interpret. No indicators to configure. No noise.*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
from setuptools import setup, find_packages
|
|
2
|
+
|
|
3
|
+
with open("README.md", "r", encoding="utf-8") as f:
|
|
4
|
+
long_description = f.read()
|
|
5
|
+
|
|
6
|
+
setup(
|
|
7
|
+
name="astro-intelligence",
|
|
8
|
+
version="0.1.0",
|
|
9
|
+
author="ASTRO Intelligence",
|
|
10
|
+
author_email="jarvisways@gmail.com",
|
|
11
|
+
description="Python client for the A.S.T.R.O. financial cognition engine API",
|
|
12
|
+
long_description=long_description,
|
|
13
|
+
long_description_content_type="text/markdown",
|
|
14
|
+
url="https://astro-event-horizon.vercel.app",
|
|
15
|
+
project_urls={
|
|
16
|
+
"GitHub": "https://github.com/jarvisways-cyber/astro-oracle",
|
|
17
|
+
"API Docs": "https://astro-event-horizon.vercel.app/docs",
|
|
18
|
+
},
|
|
19
|
+
packages=find_packages(),
|
|
20
|
+
python_requires=">=3.7",
|
|
21
|
+
install_requires=[],
|
|
22
|
+
classifiers=[
|
|
23
|
+
"Programming Language :: Python :: 3",
|
|
24
|
+
"License :: OSI Approved :: MIT License",
|
|
25
|
+
"Operating System :: OS Independent",
|
|
26
|
+
"Topic :: Office/Business :: Financial",
|
|
27
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
28
|
+
"Intended Audience :: Developers",
|
|
29
|
+
"Intended Audience :: Financial and Insurance Industry",
|
|
30
|
+
],
|
|
31
|
+
keywords=[
|
|
32
|
+
"crypto", "trading", "oracle", "market intelligence",
|
|
33
|
+
"algotrading", "bitcoin", "api", "prediction markets",
|
|
34
|
+
"quantitative", "signals"
|
|
35
|
+
],
|
|
36
|
+
)
|