Explore more topics
AI trading walkthrough

I connected Cursor to a trading API and drafted a PLTR strategy

An experiment in using Cursor beyond coding. Research Palantir, preview RSI recovery rules, and prepare the first historical test.

As of 2026-10-14

Worked strategy
PLTR RSI recovery
Example status
Validated rule draft; historical test pending
Evidence status
Validated rule draft; historical development test pending
Jump to a section

Follow this worked strategy

I connected Cursor to the NexusTrade trading API and had it research Palantir and preview an RSI recovery draft with a $1,000 entry below RSI 30. The agent operated this workflow through NexusTrade's MCP server; it did not build the integration. The preview returns valid with an empty issues list. No historical result is recorded yet, and the first test runs only after the rules are approved.

Follow the full journey

Step 1 of 6

Connect Cursor

Add the NexusTrade server

{
  "mcpServers": {
    "nexustrade": {
      "url": "https://nexustrade.io/api/mcp"
    }
  }
}

Scroll horizontally to read the full command, or copy it.

For this project, create or open .cursor/mcp.json in the project root and merge the configuration above into its mcpServers object. For all projects, use ~/.cursor/mcp.json. Preserve other configured servers.

Sign in to your NexusTrade account

Open Cursor's Customize page to manage MCP servers. Find NexusTrade and complete the requested OAuth connection in your browser. Cursor supports OAuth for remote servers. You can also use Add to Cursor on the NexusTrade developer page and review the installed server in Customize.

What you should see

The result identifies Apple's company filing, filing date and source URL. The connection check makes no account changes.

Inspect the request

Step 2 of 6

Research Palantir

Open the latest company filing and date the brief before testing this price-based idea. The captured Q2 2026 filing covers the period ending June 30, 2026.

Company
Palantir (PLTR)
Filing captured
Q2 2026 10-Q; filed August 4, 2026
What you should see

A dated brief names the instrument, original sources and assumptions that matter to this strategy.

Inspect the request

PLTR RSI recovery entry and exit in the current NexusTrade strategy display
The current rule display renders this validated PLTR draft. Its historical test is pending.
Step 3 of 6

Preview the PLTR rules

Inspect the entry and exit in the native rule display. This candidate uses a $1,000 whole-share entry and a flat-position guard; the exact configuration is available with the copy request.

Execution
$10,000 initial cash; $1,000 entry; whole shares; cash dividends; manual approval
What you should see

The preview returns valid=true and an empty issues list for these rules. Saving later returns your own draft ID.

Inspect the request

Step 4 of 6

Run the first PLTR historical test

Freeze these thresholds and choose a dated daily test before reading the result. Compare the PLTR curve with holding the same stock over matched dates.

Current status
Historical test pending
Example test plan
2024-01-01 through 2024-12-31; daily; $10,000
Costs
0.1% stock fee per fill; cash dividends; whole shares
What you should see

A completed test supplies its own return, drawdown, fees and order history. This new draft has no recorded historical result yet.

Inspect the request

Step 5 of 6

Observe PLTR RSI recovery in paper trading

Observe this PLTR candidate prospectively after reviewing its historical test. A $1,000 entry limits the amount committed per signal; the exit remains the indicator threshold shown above.

Inspect before accepting an order
The PLTR indicator value, share rounding, $1,000 entry, holding guard, exit and order approval.
What you should see

Your paper portfolio has its own ID, start date, schedule and dated history. These forward observations begin with your own run.

Inspect the request

Step 6 of 6

Review PLTR RSI recovery for live deployment

Review the paper candidate in Deployment Center, then choose Port to Live and inspect the actual target account before confirmation.

Open the live deployment walkthrough
Account and instrument review
Whole-share PLTR support, available buying power, evaluation timing, $1,000 entry, exit rule and manual order approval.
What you should see

The review identifies the target account, supported instruments, rule changes and approval settings before confirmation.

Inspect the request

Follow the Cursor session

{
  "mcpServers": {
    "nexustrade": {
      "url": "https://nexustrade.io/api/mcp"
    }
  }
}

Scroll horizontally to read the full command, or copy it.

This guide runs on NexusTrade's MCP server. Cursor operated the trading workflow below, from connection to the live review. The agent's role here is operating the workflow through that server.

The table names the tool call, the approval checkpoint, and the artifact to keep at each stage. Placeholders such as a returned draft ID stand for values your own run returns. This page records no IDs from anyone else's run.

No historical result is recorded for this draft yet. The filing below dates the research brief, and the first test runs only after approval.

Show the table · 6 rows, 4 columns

Scroll sideways to compare all columns. Select a heading to sort.

Connect Cursorsec_edgar list_filings for AAPL with limit 1Public read only. No portfolios, ingested filings, or changes.Filing company, form, date, and source URL
Research Palantirsec_edgar list_filings and fundamentals for PLTRThe brief carries the filing URL, date, period, and units.Dated PLTR brief
Draft the rulesbuild_portfolio preview, then one create_portfolioApprove the rules before saving. Stop before paid tests.Returned draft ID with a readback
Test historyDaily 2024 test at $10,000 with a PLTR baselineShow the exact request and estimated cost. Submit once and poll the same ID.Return, drawdown, fees, and order events
Trade on paperSeparate paper-only deployment at $10,000Show the plan. Verify the portfolio is paper.Running paper ID and dated history
Review liveLive deployment review against the actual accountLive trading stays unchanged until explicit confirmation.Reviewed plan, or a stop report when unsupported

Where Cursor stops for approval

Each consequential action in this guide waits at an approval gate. The agent previews first and acts only after explicit approval.

The rules preview returns valid and an empty issues list before anything is saved. The agent resolves problems and re-previews instead of saving a candidate with open problems.

  1. Approve the rules before the agent saves them

    The agent previews the configuration with build_portfolio and shows entry, sizing, exits, valid, and issues. It saves with create_portfolio only after approval and reads the returned draft back.

  2. Approve the test cost before the agent submits once

    Historical tests are paid runs. The agent shows the exact request and estimated cost for approval before submitting once, then polls the same returned test ID until complete.

  3. Approve the paper plan and verify it is paper

    The paper deployment is a separate portfolio with its own ID. The agent shows the plan for approval, verifies the deployment type, and leaves brokerage accounts unchanged.

  4. Confirm the live move explicitly, or nothing moves

    The agent reads the actual account and broker capabilities first and keeps live trading unchanged until explicit confirmation. It reports an unsupported instrument or action and stops.

Open the company filing

The filing dates the research brief. The proposed 2024 historical test uses price indicators; future company figures are outside those rules.

Continue exploring

Discussion

Sign in or create a free account to join the discussion.

No comments yet.

Aurora · AI research assistant

Try this in Aurora

Edit the request, then open it in Aurora. You choose when to send it.