prediction

Prediction Markets

Portfolio State

Portfolio State is a prediction markets capability available through Veritas on Aweb. Prediction market portfolio with positions, P&L, and exposure. Access it through a single unified API with automatic failover and intelligent routing.

Try Portfolio StateAPI docs

Best for

Highest quality

Veritas

Premium tier

Most affordable

Veritas

Economy tier

Contract

Max Latency5000ms

Providers (1)

ProviderScoreQualityPricing
VeritasDEFAULT
94premiumeconomy

Quick start

Call Portfolio State through Aweb — automatic provider selection, failover, and load balancing included.

cURL

curl -X POST https://api.aweb.studio/v1/execute \
  -H "Authorization: Bearer $AWEB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "capability": "prediction.portfolio",
    "input": { "prompt": "Hello world" }
  }'

TypeScript

import { Aweb } from '@aweb/core';

const aweb = new Aweb({ apiKey: process.env.AWEB_API_KEY });

// Aweb automatically selects the best provider
const result = await aweb.execute({
  capability: 'prediction.portfolio',
  input: { prompt: 'Hello world' },
});

console.log(result.output);

Orchestration pipeline

import { Aweb } from '@aweb/core';

const aweb = new Aweb({ apiKey: process.env.AWEB_API_KEY });

// Multi-step pipeline with automatic failover
const result = await aweb.orchestrate({
  steps: [
    { id: 'step1', capability: 'prediction.portfolio', input: { prompt: 'Hello world' } },
    { id: 'step2', capability: 'llm.chat', dependsOn: ['step1'],
      input: { prompt: 'Summarize: $step1.output' } },
  ],
});

Related Prediction Markets capabilities

Prediction Markets

prediction

Trending Markets

prediction

Biggest Movers

prediction

Closing Soon

prediction

Market Detail

prediction

Markets by Category

prediction

Getting started →API reference →All providers →All capabilities →