Improved

Allow negative correlation for OpticOdds AI SGP.

Consider the following bet: Team A to Win and a player on Team B to hit a Home Run. These are negatively correlated since the opposing team getting a home run directly reduces the likelihood of the bet.

Before

By default the OpticOdds AI line does not take into account negative correlation.

# Request
{
    "sportsbooks": [
        "opticodds_ai"
    ],
    "entries": [
        {
            "fixture_id": "20260605D99CFA62",
            "market": "Moneyline",
            "name": "San Francisco Giants",
            "price_american": 149
        },
        {
            "fixture_id": "20260605D99CFA62",
            "market": "Player Home Runs",
            "name": "Alex Bregman Over 0.5",
            "price_american": 390
        }
    ]
}



# Response
{
    "data": {
        "OpticOdds AI": {
            "error": null,
            "missing_entries": null,
            "legs": [
                {
                    "fixture_id": "20260605D99CFA62",
                    "market": "Moneyline",
                    "name": "San Francisco Giants",
                    "price": 149.0
                },
                {
                    "fixture_id": "20260605D99CFA62",
                    "market": "Player Home Runs",
                    "name": "Alex Bregman Over 0.5",
                    "price": 390.0
                }
            ],
            "price": 1094.0,
            "deep_link_urls": null
        }
    }
}

After

You can now pass allow_negative_correlation as a field in the request body or as a query param to allow negative correlation to apply.

{
    "allow_negative_correlation": true,
    "sportsbooks": [
        "opticodds_ai"
    ],
    "entries": [
        {
            "fixture_id": "20260605D99CFA62",
            "market": "Moneyline",
            "name": "San Francisco Giants",
            "price_american": 149
        },
        {
            "fixture_id": "20260605D99CFA62",
            "market": "Player Home Runs",
            "name": "Alex Bregman Over 0.5",
            "price_american": 390
        }
    ]
}

{
    "data": {
        "OpticOdds AI": {
            "error": null,
            "missing_entries": null,
            "legs": [
                {
                    "fixture_id": "20260605D99CFA62",
                    "market": "Moneyline",
                    "name": "San Francisco Giants",
                    "price": 149.0
                },
                {
                    "fixture_id": "20260605D99CFA62",
                    "market": "Player Home Runs",
                    "name": "Alex Bregman Over 0.5",
                    "price": 390.0
                }
            ],
            "price": 1255.0,
            "deep_link_urls": null
        }
    }
}

This param is available on copilot as well: