Finance
Analyze quantum bitstring probabilities and provide optimization recommendations for financial advisors using AI-driven insights.
Body
walletAddressstringRequiredExample:
Client's Ethereum wallet address for analysis.
0xabcdef1234567890abcdef1234567890abcdef12
chainsstring[]OptionalExample:
List of blockchain networks to query for wallet insights.
["ethereum","polygon"]
quantumBackendstring · enumOptionalExample:
Quantum backend to use ('aer' for local simulation, 'ibm' for IBM runtime).
aer
Possible values: shotsintegerOptionalExample:
Number of shots for quantum simulation (higher for more precise results).
1024
Responses
200
Successful analysis of quantum bitstring probabilities with AI-driven optimization insights.
application/json
400
Invalid request due to missing wallet address.
application/json
401
Unauthorized request due to invalid API key.
application/json
post
POST /qmetrics/finance HTTP/1.1
Host: q.idefi.ai
Content-Type: application/json
Accept: */*
Content-Length: 191
{
"walletAddress": "0xabcdef1234567890abcdef1234567890abcdef12",
"chains": [
"ethereum",
"polygon"
],
"tokenMap": {
"ethereum": "ethereum",
"polygon": "matic-network"
},
"quantumBackend": "aer",
"shots": 1024
}
{
"wallet_address": "0xabcdef1234567890abcdef1234567890abcdef12",
"quantum_backend": "aer",
"total_balance_usd": 15000.32,
"quantum_results": {
"probabilities": {
"100": 0.1,
"101": 0.05,
"110": 0.03,
"111": 0.02,
"000": 0.35,
"001": 0.2,
"010": 0.15,
"011": 0.1
},
"mapped_results": {
"100": {
"probability": 0.1,
"behavior": "Client prefers income-generating assets like dividend ETFs."
},
"101": {
"probability": 0.05,
"behavior": "Client increased cash reserves to reduce exposure."
},
"110": {
"probability": 0.03,
"behavior": "Client explored ESG-compliant funds."
},
"111": {
"probability": 0.02,
"behavior": "Client displayed unexpected engagement with speculative assets."
},
"000": {
"probability": 0.35,
"behavior": "Client prefers low-risk portfolio optimizations."
},
"001": {
"probability": 0.2,
"behavior": "Client expressed interest in balanced growth assets."
},
"010": {
"probability": 0.15,
"behavior": "Client adjusted holdings after a market correction."
},
"011": {
"probability": 0.1,
"behavior": "Client requested tax-loss harvesting information."
}
},
"histogram": "iVBORw0KGgoAAAANSUhEUgAAA...",
"analysis": "The AI analysis shows that 35% of the client's interactions reflect conservative portfolio adjustments. Engagement with speculative assets is minimal, indicating a preference for stability during market volatility."
}
}