Feature Request: API Access for Designer Models and Group Models

I’d like to formally request read-only API access for Designer Models and Group Models and thought giving it its own thread for consideration might be appropriate.

This was originally requested in January 2023, when Marco indicated it had been added to the Priority Backlog. I’ve followed up several times since, but haven’t been able to determine whether it’s still under consideration.

Currently, /strategy/{id} returns “Item not found” for Designer Models, even ones I’m subscribed to, while the same calls work fine for my own simulations. From a user’s perspective, the request seems fairly straightforward: extend the existing strategy API functionality to Designer Models and Group Models, respecting the permissions users already have through the website.

Ideally, this would include:

  • Subscribed/authorized models: Performance history, holdings, and rebalance/transaction data.
  • Unsubscribed models: Performance data already publicly available on the website, without exposing proprietary holdings or strategy logic.
  • API-key authentication: Allowing unattended automation without relying on browser sessions or cookies.

Calls could count against existing API credits like any other request.

For me, the primary use case is incorporating Designer Models into automated portfolio tracking and analysis alongside my own strategies. Right now, they’re the manual exception in an otherwise automated process. The original 2023 request had a related use case: pulling returns for mean-variance allocation across a book of models.

More broadly, I think this would make Designer Models and Group Models more useful, easier to integrate into investors’ workflows, and ultimately more attractive to subscribers.

I understand that P123 has other priorities, particularly the global rollout, and I’m not expecting this to jump to the front of the queue. What I would appreciate is some indication of whether it’s still on the roadmap, whether there are technical or business reasons it isn’t feasible, or whether it’s simply not something P123 intends to support.

I’d be interested to hear whether others would find it useful too.

4 Likes

Following up on my own request: would a workaround be to create a live book for each designer model I subscribe to, holding only that one asset, and read the book through the API? The docs say the /strategy endpoints accept book IDs, so /strategy/{id}/holdings and /strategy/{id}/transactions should return the stock-level positions and trades.

Two questions for anyone who has tried it, or for P123 staff:

  1. With weekly Automatic rebalance, and the minimum rebalance transaction set to 0, will the book’s holdings and weights track the designer model exactly?

  2. Does the book pick up the model’s Monday rebalance the same morning, or a cycle later?

This would still leave a gap for testing and tracking unsubscribed models, which is less important, but I think a good opportunity for P123.

Less elegant than direct API read access, but it may do the job. I’ll run some tests and see how it goes.

Continuing my own little conversation with myself, with a first result: a live book holding a single DM does return stock-level holdings and transactions through the API.

Next questions, on the book’s settings. The goal is for the book to track the DM as closely as possible.

  1. Price for transactions: Average of Next High, Low and 2X Close, or Previous Close?

  2. Asset rebalance slippage: Variable, or Fixed at 0?

  3. Rebalance day: the book’s next weekly rebalance shows seven days from the day I created it (a Friday), while the DM rebalances Monday. Is there a way to set the day, or does a manual rebalance on Monday reset the clock? Or do I need to create the book on a Monday?

In other words, should the book match what the model does, or does it already inherit the model’s fills, so that matching double-counts and drifts from the actual DM? On the opening buys the book applied its own price and slippage, but I haven’t yet seen a trade that mirrors one of the model’s own.

P123 members do care about statistics. There is a strong, statistically significant, correlation between the 5Y Return and the amount a Designer brings in per month (Cost/month * Subscribers). Of interest is that the Sharpe ratio has a higher correlation and a higher level of significance.

This is the workaround I use, though I use simulated books, each with a single subscribed designer model, so that I can pull historical performance for my analysis.

My initial request for this feature still stands, as creating the single-strategy books is onerous, especially since I'm trying to look for candidate designer models that may potentially be additive. Plus, my workaround requires 3 resource units per DM while your live book approach requires 10 resource units per DM.

I'm pretty sure designer models are enforced to use Avg of Next High/Low/2xClose fill prices with variable slippage. I spot checked several transactions and the numbers tie up.

You can manually rebalance the book on Monday to resychronize it to a Monday rebalance. You don't need to re-create it.

1 Like

Thanks so much, Feldy; that’s really helpful.

I do the same: single-asset simulated books to get DM performance data. It’s odd that we have to, and good point on resource units. I’ll keep live books to the DMs I actually trade and use simulated books for the rest. Do you pull the simulated books’ series through the API, or download them?

On settings: when you say the numbers tie out, were you comparing live book performance or simulated book performance?

Live is what I’m unsure about. If the book fills each mirrored trade itself, then matching the DM (Avg NH/NL/2x Close, variable slippage) should reproduce the DM’s fills. My worry is the other case, where the book starts from the DM’s already-slipped price and adds its own on top. In other words: for a single-DM live book, should I match the DM’s settings, or set the book to trade as cleanly as possible because price and slippage are already accounted for in the DM asset?

When I create simulated books, I use the default settings (which appear to set slippage at 0 and have no price setting).

On rebalancing: good to know a manual Monday rebalance resyncs it. I assume I should aim for a time after the DM has rebalanced.

I’m planning to run some experiments and will report back. Thank you again—this is very helpful and appreciated.

P123 team: I understand priorities, but could someone say whether this is still on the roadmap? It feels at least worth discussing.

Thanks, feldy, your tip worked: a manual Get Recommendations / Commit on Monday moved both books' weekly rebalance to Monday, so there was no need to recreate them.

An update for anyone trying to automate weekly downloads through the API (read-only calls so far: strategy, strategy_holdings, strategy_transactions):

  1. Group models read directly on their own ID: holdings with rank, transactions with prices and slippage, and the full daily series. They already show Monday's trades at 7am CT, and the transactions match the SimTran export line for line. No workaround needed.

  2. Designer models are still refused ("Item not found"), so it takes two workaround books:

  • A live book holding 100% of the DM returns its holdings and trades (no rank).
  • A single-asset simulated book returns the DM's daily series, but I believe it only stays current if I re-run it by hand each week.
  1. Live books don't match the model they hold on rebalance days. Trades the book mirrors from the model come in at the model's own fill price with zero slippage. The book's Variable slippage was charged only on its opening buys, and the model's own slippage isn't carried through. So on rebalance days the book runs ahead of the model by about the model's slippage. Yesterday, a Group-model book returned −1.95% vs the model's −2.17% (model slippage that day about 0.25% of equity). A DM book returned −1.43% vs the DM's −1.48% (DM slippage about 0.04%). Both are counted with accrued dividends, as the PortPerf's 100 USD Ret does. For holdings and trades, the live book is fine, but its return series can't stand in for the model's.

  2. Next, I'm testing book_rerun (POST /strategy/{id}/book-rerun) to extend the simulated DM book through the API, so the daily series stays current without the manual re-run. If it works, every weekly download can be automated: Group models direct; the DM's holdings and trades from the live book; and the DM's series from a sim book re-run by script. I'll report back.

It would be helpful to have some input from P123 staff. A few questions:

  • Is it intended that mirrored trades come into a live book at the model's fill with no slippage? Is there a way to make a book carry the model's slippage, so its return matches the model's?

  • Is book_rerun meant to be used this way (a subscriber extending a sim book that holds a DM), and does the rerun persist like the manual re-run?

  • Is read-only API access to subscribed Designer Models still planned?

I'm on the highest subscription tier, partly for API access and partly to support the platform. I think these are reasonable questions.

DM API access was described as a priority backlog item several years ago, and I've asked about its status on numerous occasions since, without receiving a response. I understand that development priorities change, but it would be helpful to know whether this is still something P123 intends to support, particularly given the workarounds we're exploring here.

Thanks.

I was just discussing our need to focus more on APIs here . And an MCP wrapper would be nice too. We'll review and report back a plan for API upgrades. Thanks

1 Like

Thanks so much, Marco. Greatly appreciated.

@marco It seems to me the MCP and the UI/Forum requests are now two separate things. I think the future belongs to MCP.

The forum/UI perhaps functions as a bridge and, honestly, an underused marketing tool. It's not my task to develop marketing strategies for P123, but perhaps the implementation time of UI requests/suggestions could be made quicker and better using AI. The UI could provide simple data that an agent could manipulate online, for example.

Better still would be to allow Tabular Foundation Models to manipulate data on the site. TabPFN v2 is free and open source. While it requires significant memory for large datasets (>10,000 rows), running it on designer model data with fewer rows yields results superior to LightGBM with no hyperparameter tuning. No feature request with the usual P123 program would ever beat those results, and it is generalizable to a wide number of tasks. P123 just needs to make the data available in tabular form, as the name Tabular Foundation Models suggests. A CSV spreadsheet will do.

I almost hesitate making this public, but the 10,000-row limit and compute requirements make it difficult to scale up to full P123 stock models. For small tasks like designer model data, it is lightweight.

Leave stock picking models to the MCP. .

This is behind a paywall, but it is probably worth seeing somehow or researching TabPFN in other ways: Tabular Foundation Models for Data Science Agents - DeepLearning.AI

Tabular Foundation Networks were published in Nature (on the cover) in early 2025 and have quickly become one of the most widely cited and influential breakthroughs in tabular machine learning. Mainstream and state of the art already. As I said, TabPFN v2 is open source while later versions are available through an API. I think TabPFN v2 is all P123 would need for the UI.

While waiting on designer-model API access, I've put a DM into a live book so I can read it through the API. For that to work, the book has to rebalance after the DM does.

This Monday, one of my live books picked up its model's new trades. Another ran before its model had rebalanced, only did small resizing trades, and is now a week behind.

  1. Does the time you click Get Recommendations / Commit set the time the book rebalances each week, or only the day?

  2. Can we set automatic book rebalances to run after the models they hold rebalance, or is this all batch/queue order we can't control?

  3. If there's no control, is a manual Commit after the model updates the recommended workaround, or is there a setting I'm missing?

Thanks!