Install any skill in seconds. Free to start, no credit card required.
Get Started Free →taracodlabs/upstox
Upstox API v2: portfolio, market data, orders, P&L (Indian F&O)
Passed 22 of 22 test cases with the skill, and 17 of 22 without it.
and 5 more in the full report
5 fixed17 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 5 test cases the skill fixed. Same model, same prompt, with and without the skill.
What HTTP method and path are required to submit a new order to Upstox API v2?
| Checked | Without skill | With skill |
|---|---|---|
| Uses HTTP method POST. | Passed | Passed |
| Uses endpoint path /order/place. | Missed | Passed |
The instructions your model reads when the skill loads.
Access your Upstox brokerage account via the Upstox API v2 — live quotes, holdings, positions, order placement, and margin data. Requires Upstox API credentials.
$env:UPSTOX_TOKEN = "your_access_token" # Bearer token from OAuth flow
$baseUrl = "https://api.upstox.com/v2"
$headers = @{
"Authorization" = "Bearer $env:UPSTOX_TOKEN"
"Accept" = "application/json"
}
$resp = Invoke-RestMethod -Uri "$baseUrl/portfolio/long-term-holdings" -Headers $headers
$resp.data | Select-Object tradingsymbol, quantity, average_price, last_price,
@{N='PnL';E={[math]::Round(($_.last_price - $_.average_price)*$_.quantity,2)}}
$resp = Invoke-RestMethod -Uri "$baseUrl/portfolio/short-term-positions" -Headers $headers
$resp.data | Select-Object tradingsymbol, quantity, average_price, last_price, pnl, product
$instrument = "NSE_EQ|INE009A01021" # INFOSYS ISIN-based instrument key
test cases passed, vs 17 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.