nautilus-polymarket 0.56.0

Polymarket integration adapter for the Nautilus trading engine
Documentation
[
    {
        "proxyWallet": "0x56687bf447db6ffa42ffe2204a05edaa20f55839",
        "asset": "71321045863084981365469005770620412523470745398083994982746259498689308907982",
        "conditionId": "0xc8f1cf5d4f26e0fd9c8fe89f2a7b3263b902cf14fde7bfccef525753bb492e47",
        "size": 150.5,
        "avgPrice": 0.55,
        "initialValue": 82.775,
        "currentValue": 90.3,
        "cashPnl": 7.525,
        "percentPnl": 9.09,
        "totalBought": 150.5,
        "realizedPnl": 0.0,
        "percentRealizedPnl": 0.0,
        "curPrice": 0.6,
        "redeemable": false,
        "mergeable": false,
        "title": "Will BTC hit $100k?",
        "slug": "btc-100k",
        "icon": "https://polymarket.com/icons/btc.png",
        "eventSlug": "btc-100k-event",
        "outcome": "Yes",
        "outcomeIndex": 0,
        "oppositeOutcome": "No",
        "oppositeAsset": "1234567890123456789",
        "endDate": "2026-12-31T00:00:00Z",
        "negativeRisk": false
    },
    {
        "proxyWallet": "0x56687bf447db6ffa42ffe2204a05edaa20f55839",
        "asset": "9999999999999999999",
        "conditionId": "0xe39adea057926dc197fe30a441f57a340b2a232d5a687010f78bba9b6e02620f",
        "size": 0.0,
        "avgPrice": 0.45,
        "initialValue": 0.0,
        "currentValue": 0.0,
        "cashPnl": 0.0,
        "percentPnl": 0.0,
        "totalBought": 100.0,
        "realizedPnl": 5.0,
        "percentRealizedPnl": 11.11,
        "curPrice": 0.5,
        "redeemable": false,
        "mergeable": false,
        "title": "Will ETH hit $10k?",
        "slug": "eth-10k",
        "icon": "https://polymarket.com/icons/eth.png",
        "eventSlug": "eth-10k-event",
        "outcome": "Yes",
        "outcomeIndex": 0,
        "oppositeOutcome": "No",
        "oppositeAsset": "8888888888888888888",
        "endDate": "2026-06-30T00:00:00Z",
        "negativeRisk": false
    },
    {
        "proxyWallet": "0x56687bf447db6ffa42ffe2204a05edaa20f55839",
        "asset": "8888888888888888888",
        "conditionId": "0xabc123def456789012345678901234567890abcdef1234567890abcdef123456",
        "size": 42.0,
        "avgPrice": 0.3,
        "initialValue": 12.6,
        "currentValue": 16.8,
        "cashPnl": 4.2,
        "percentPnl": 33.33,
        "totalBought": 42.0,
        "realizedPnl": 0.0,
        "percentRealizedPnl": 0.0,
        "curPrice": 0.4,
        "redeemable": true,
        "mergeable": false,
        "title": "Democratic Presidential Nominee 2028",
        "slug": "dem-nominee-2028",
        "icon": "https://polymarket.com/icons/politics.png",
        "eventSlug": "dem-nominee-2028-event",
        "outcome": "Kamala Harris",
        "outcomeIndex": 1,
        "oppositeOutcome": "Other",
        "oppositeAsset": "7777777777777777777",
        "endDate": "2028-11-05T00:00:00Z",
        "negativeRisk": true
    },
    {
        "proxyWallet": "0x56687bf447db6ffa42ffe2204a05edaa20f55839",
        "asset": "5555555555555555555",
        "conditionId": "0xdust0000000000000000000000000000000000000000000000000000000000",
        "size": 0.005,
        "avgPrice": 0.7,
        "initialValue": 0.0035,
        "currentValue": 0.004,
        "cashPnl": 0.0005,
        "percentPnl": 14.29,
        "totalBought": 0.005,
        "realizedPnl": 0.0,
        "percentRealizedPnl": 0.0,
        "curPrice": 0.8,
        "redeemable": false,
        "mergeable": false,
        "title": "Dust position test",
        "slug": "dust-test",
        "icon": "https://polymarket.com/icons/dust.png",
        "eventSlug": "dust-test-event",
        "outcome": "Yes",
        "outcomeIndex": 0,
        "oppositeOutcome": "No",
        "oppositeAsset": "4444444444444444444",
        "endDate": "2026-12-31T00:00:00Z",
        "negativeRisk": false
    }
]