---
title: "Code Execution — Podium Markets"
description: "Ivy writes and runs code for correlations, backtests, and rebalancing scenarios, then explains the results and assumptions in plain English."
canonical: https://www.podiummarkets.ai/features/code-execution
---

# Code Execution

## Code Execution

Ivy writes and runs code to answer the questions a hunch can’t: correlations, drawdowns, backtests and rebalancing scenarios. She shows the results, the assumptions and the trade-offs, in language you don’t need a quant degree to read.

## Some questions need math, not a hunch.

Five tickers might really be one bet, and most investors only find out when a bad week proves it. Ivy works through the numbers before the market does, using your connected holdings or any tickers you name.

### More tickers. The same bet?

Compare the holdings in your connected account to see which move together. Explore correlations, volatility and historical drawdowns, then ask Ivy what those relationships mean for your diversification.

> “Compare my current holdings over 2025. Which moved together, and which added diversification? Explain the trade-offs in plain English.”

### Would your rule have beaten buy-and-hold?

Test a rules-based strategy against historical prices. Compare returns and drawdowns with simply buying and holding. Execution timing, trading costs and every assumption are spelled out, so you can see exactly what was tested.

> “Backtest a 50-day moving-average strategy for SPY over 2025 against buy-and-hold. Use next-day-open execution, include trading costs, and explain the trade-offs.”

### Rebalance with cash. Keep your holdings.

Model how available cash could bring a hypothetical portfolio closer to your target weights without selling anything. Ivy works through the allocation, shows what stays uninvested and respects the limits you set.

> “Using my current holdings and available cash, model a cash-only rebalance toward equal weights. No sales, margin or borrowing. Show the proposed purchases and remaining cash.”

## One question leads to the next.

- **Constrained allocations** — Compare portfolios with caps on any position or sector.
- **Scenario analysis** — Explore outcomes by resampling historical returns.
- **Custom metrics** — Calculate the numbers you actually track.
- **Real-world returns** — Measure annualized returns with irregular contributions.

## Every number comes with its receipts.

Open any answer to see the code Ivy ran, the data range she used and the assumptions behind the result. If something looks off, ask her to change it and run it again.

[Watch Ivy put the numbers to work (video)](https://vimeo.com/1242670870)

## Ask a sharp question. Get a clearer picture.

Start a conversation with Ivy and put your next idea to the test.

- [Start Free](https://app.podiummarkets.ai/signup)

- HTML: https://www.podiummarkets.ai/features/code-execution
- Site index (llms.txt): https://www.podiummarkets.ai/llms.txt
- Sitemap: https://www.podiummarkets.ai/sitemap.xml
- Product app: https://app.podiummarkets.ai
- Help center: https://help.podiummarkets.ai/
