My Stocks Portfolio API integration (OpenFinance & data sync)

Protocol analysis and runnable APIs for the Peeksoft My Stocks Portfolio app — holdings, transactions, watchlists, quotes and FX rates exposed as clean OpenFinance endpoints.

From $300 · Pay-per-call available
OpenData · OpenFinance · Protocol analysis · Portfolio sync

Turn your My Stocks Portfolio account into a programmable data source

My Stocks Portfolio (package co.peeksoft.stocks, by Peeksoft) tracks roughly 1.7 million installs of holdings across stocks, ETFs, funds, FX, crypto and unlisted equity, plus the realized/unrealized P&L the app computes on top. That is exactly the kind of structured, account-bound data that OpenFinance toolchains, dashboards and tax workflows want to consume on a schedule — but the app itself only ships a CSV export to Google Drive or email.

Multi-portfolio holdings export — Pull every position across every portfolio (symbol, exchange suffix, quantity, average cost, currency, account tag) in one call instead of merging CSV files by hand.
Transaction-level history — Buy, sell, dividend, split and FX events with annualized return fields, ready for Sharesight-style tax reports or portfolio reconciliation.
Quote & FX sync — Real-time US quotes plus selected international markets and live FX so a multi-currency book can be normalised to a single reporting currency on demand.

Why this app is worth integrating

The Peeksoft team has shipped quietly consistent updates: the 2025–2026 versions added dynamically resizing OHLC line widths, buy/sell trade annotations on quote summary charts, hollow-candle and colored-volume chart types, infinite-scroll full-screen charting, and a 2-ring pie chart that buckets allocations by custom dimensions like sector or asset type. In April 2026 the team also exposed a default accounting method (LIFO / FIFO / average) at the portfolio level and rolled out overnight extended-hours support — both of which produce richer, better-typed P&L numbers worth pulling into downstream systems. None of that data is currently exposed via a documented public API, which is exactly the gap our integration closes.

Our delivery model is simple: you tell us which portfolios and data types matter, we ship a runnable adapter (Python or Node.js) plus an OpenAPI spec that mirrors the relevant in-app screens. You get to wire the result into a data warehouse, a tax tool, an internal dashboard, or your own OpenFinance-style aggregator — without writing a line of mobile reverse-engineering code.

What we deliver

Deliverables checklist

  • OpenAPI 3.1 specification of every exposed endpoint
  • Protocol & auth flow report (token lifecycle, sync handshake, CSV schema)
  • Runnable Python or Node.js source for holdings, transactions and quotes
  • Webhook receiver for price-alert and transaction events
  • Test harness (pytest / vitest) plus sandbox fixtures
  • Compliance notes: SEC market-data redistribution, GDPR data minimization

Engagement models

Two clean ways to engage so you only pay for what you use:

  • Source code delivery from $300 — runnable adapter and full docs handed over; pay after acceptance.
  • Pay-per-call hosted API — call our managed endpoints and pay per request; ideal for low-volume tooling or proof-of-concept dashboards.

Data available for integration

The table below maps each data type to its in-app source, the granularity we can return, and a typical downstream use. All fields derive from screens or exports already present in My Stocks Portfolio — we do not invent data the app does not hold.

Data typeIn-app sourceGranularityTypical use
Holdings & positionsPortfolio > Holdings tabPer symbol, per portfolio, per account; cost basis & currencyNet-worth dashboards, allocation analytics
TransactionsHolding detail > TransactionsBuy / sell / dividend / split, with date, qty, FX rateTax reporting, P&L reconciliation
WatchlistsWatchlist portfolio typePer portfolio, ordered, with custom notesSignal generation, research workflows
Real-time & delayed quotesQuote summary screenOHLCV, daily/yearly range, market cap, P/E, beta, dividend yieldPricing services, alerting, valuation models
FX ratesCurrency converter / portfolio currencySpot rate per currency pairMulti-currency normalization, treasury reporting
Crypto positions & quotesCrypto portfolios (BTC, ETH, alts)Per-asset balance & spot priceUnified TradFi + crypto portfolio views
News feedNews tab per quote / global feedHeadline, source, timestamp, URL, symbol tagsNLP sentiment, research dashboards
Performance metricsPortfolio summary cardRealized, unrealized, daily, total, annualized gainsInvestor reporting, KPI tiles

Typical integration scenarios

1. Tax & capital-gains reporting

An accountant aggregates a client's positions across two My Stocks Portfolio portfolios and a brokerage statement. We push /transactions?from=&to= output, normalised to ISO-4217 and HMRC/IRS lot-matching rules, into the firm's tax engine. The new default-accounting-method field (LIFO / FIFO / average) flows through so cost-basis matches what the user sees in the app.

2. Multi-currency net-worth dashboard

A wealth platform pulls holdings + the app's FX rate every 15 minutes, converts to a single reporting currency, and renders the same 2-ring sector pie chart logic used in-app. The OpenFinance-style aggregation lets one user view US equities, LSE positions and BTC in a single allocation view.

3. Risk & concentration alerts

A risk engine subscribes to a webhook of price-alert events and recomputes Value-at-Risk whenever a position drifts past a threshold. Because alerts fire from the app's own logic, no separate quote feed needs to be reconciled.

4. Migration to an OpenFinance aggregator

A user moving from My Stocks Portfolio to Ghostfolio, Wealthfolio or Sharesight imports the full transaction history in one shot. Our parser maps the CSV schema (and the live API equivalent) to each target's import format including dividend reinvestment events.

5. Research backtesting on watchlists

A quant team feeds the user's watchlists plus historic OHLCV into a backtester, joining symbol metadata (exchange, currency, sector tag) so signals can be ranked against a personal universe rather than a generic index.

Technical implementation

Three representative endpoints. The shapes below are illustrative; the production OpenAPI spec ships with every delivery.

Auth: token exchange

POST /api/v1/peeksoft/auth/token
Content-Type: application/json

{
  "user_id": "ext-7421",
  "consent_id": "c_2026_05_10_a1",
  "scopes": ["holdings:read","tx:read","quotes:read"]
}

200 OK
{
  "access_token": "eyJhbGc...",
  "refresh_token": "rft_...",
  "expires_in": 3600
}

Holdings export

GET /api/v1/peeksoft/portfolios/{pid}/holdings
Authorization: Bearer <ACCESS_TOKEN>

200 OK
{
  "portfolio_id": "p_main",
  "report_currency": "USD",
  "as_of": "2026-05-10T12:00:00Z",
  "holdings": [
    {"symbol":"AAPL","exchange":"NASDAQ","qty":50,
     "avg_cost":141.22,"currency":"USD",
     "unrealized":1820.50,"weight_pct":18.7},
    {"symbol":"BTC","exchange":"CRYPTO","qty":0.42,
     "avg_cost":28110.00,"currency":"USD",
     "unrealized":4123.10,"weight_pct":9.4}
  ]
}

Webhook: price alert event

POST https://your-app.example.com/webhook
X-OFL-Signature: sha256=...

{
  "event":"price_alert.triggered",
  "alert_id":"al_99821",
  "symbol":"TSLA",
  "direction":"above",
  "threshold":280.00,
  "last_price":281.34,
  "fired_at":"2026-05-10T13:02:11Z"
}

// Recommended: respond 2xx within 5s,
// reconcile asynchronously, retry on 5xx.

Errors follow RFC 7807 problem+json. Rate limits are advertised via X-RateLimit-Remaining, and every response carries a request_id so support tickets are trivially traceable.

Compliance & privacy

We integrate only with explicit user authorization or documented public endpoints. Personal data is processed under GDPR (EU) and CCPA (California) with retention windows configurable per deployment. Market-data redistribution respects exchange terms and US SEC / FINRA disclosure rules; EU venues are handled per MiFID II best-execution and reporting obligations. Crypto data flows reference the EU's MiCA framework and US FinCEN guidance for custodial vs non-custodial reporting. Every consent event is logged with a tamper-evident hash so audits are straightforward.

Data flow / architecture

A typical pipeline looks like this:

  • Client app (My Stocks Portfolio) — origin of holdings, transactions, alerts.
  • Protocol adapter — performs auth handshake, paging, schema normalization.
  • Storage & cache — Postgres for canonical state, Redis for hot quotes & FX.
  • API gateway — exposes REST/JSON to your backend and signs outbound webhooks.

Market positioning & user profile

My Stocks Portfolio sits in the prosumer end of personal finance: long-tenured retail investors who manage multiple accounts, track international tickers in a single converted currency, and care about LIFO/FIFO accounting accuracy more than social-trading gimmicks. The user base skews toward English-speaking markets — the US, UK, Canada, Australia and Singapore — on both Android and iOS, with a meaningful slice of crypto-curious investors who want one app for stocks, ETFs and BTC/ETH together. That profile is exactly the audience our integration partners (wealth dashboards, tax tools, family-office back ends) want to serve.

Screenshots

Click any thumbnail to view the full-resolution screenshot. Source: Google Play store listing.

My Stocks Portfolio screenshot 1 My Stocks Portfolio screenshot 2 My Stocks Portfolio screenshot 3 My Stocks Portfolio screenshot 4 My Stocks Portfolio screenshot 5 My Stocks Portfolio screenshot 6 My Stocks Portfolio screenshot 7 My Stocks Portfolio screenshot 8 My Stocks Portfolio screenshot 9 My Stocks Portfolio screenshot 10

Similar apps & integration landscape

Investors rarely live in one tool. The apps below frequently appear alongside My Stocks Portfolio in 2026 alternatives lists from StockAnalysis, Benzinga and Wallstreetzen — each holds adjacent slices of portfolio data, and we regularly bridge them in unified integrations.

Sharesight

Award-winning performance and tax-reporting platform tracking equities and ETFs across 60+ exchanges. Users often want one-shot import of a My Stocks Portfolio CSV plus ongoing transaction sync.

Empower (Personal Capital)

Free dashboard for net worth, retirement and investment tracking. Integrations typically merge Empower's account-level data with the per-symbol detail My Stocks Portfolio provides.

Delta Investment Tracker

Multi-asset tracker popular with crypto-heavy portfolios. Bridging it with My Stocks Portfolio gives users a single transaction ledger across TradFi and digital assets.

Snowball Analytics

Dividend-focused tracker. Pairs naturally with the dividend events exported from My Stocks Portfolio when users want forecasted income calendars.

Kubera

Modern wealth tracker covering stocks, crypto, real estate and private holdings. Often imports My Stocks Portfolio holdings to consolidate liquid investments in one balance sheet.

Stock Rover

Research-heavy desktop platform. Users typically push watchlists from My Stocks Portfolio into Stock Rover for screening and back-testing.

Yahoo Finance Portfolio

Long-running web/mobile tracker. Many users keep Yahoo for news + alerts and My Stocks Portfolio for cost-basis accuracy; the two are commonly synced.

Ghostfolio & Wealthfolio

Open-source, privacy-first portfolio trackers. Self-hosters frequently ask for an adapter that ingests My Stocks Portfolio exports into a Ghostfolio or Wealthfolio database.

Seeking Alpha & M1 Finance

Seeking Alpha covers research and rating signals; M1 Finance handles brokerage and pie-based portfolios. Both pair well with the holdings layer that My Stocks Portfolio already maintains.

About OpenFinance Lab

We are an independent studio focused on App protocol analysis and authorized API integration. Engineers on the team have shipped trading systems, market-data feeds and OpenBanking adapters for fintech clients across North America, EMEA and APAC. We specialise in turning consumer finance apps — like My Stocks Portfolio — into reliable backend data sources without breaking their compliance posture.

  • Personal finance, brokerage, crypto and OpenBanking integrations
  • OAuth / token / cookie protocol analysis and renewal logic
  • Custom Python / Node.js / Go SDKs and test harnesses
  • Full pipeline: scope → analysis → build → validation → compliance
  • Source code delivery from $300 — runnable adapter and full docs handed over; pay after acceptance
  • Pay-per-call hosted API — no upfront fee; ideal for low-volume tools

Contact

Tell us the target app and the data you actually need (holdings, transactions, alerts, watchlists). We'll come back with scope, timeline and price.

Open contact page

Engagement workflow

  1. Scope confirmation: which portfolios and which data types (login, holdings, transactions, alerts).
  2. Protocol analysis & OpenAPI design (2–5 business days).
  3. Build and internal validation against fixtures (3–8 business days).
  4. Docs, samples, test cases (1–2 business days).
  5. Typical first delivery: 5–15 business days; exchange or third-party approvals may extend the schedule.

FAQ

What data can you actually pull out of My Stocks Portfolio?

Holdings (symbol, quantity, cost basis, currency, account), transaction history (buy/sell, dividends, splits), watchlists, real-time and delayed quotes, FX rates, alerts and the realized/unrealized gains the app calculates per portfolio.

How do you handle the CSV export workflow vs a live API?

For one-off migrations we parse the app's CSV/Google Drive backup directly. For ongoing sync we wrap the relevant network endpoints behind a stable REST schema with paging, deltas and webhook notifications, so your downstream stays in sync without you handling raw payloads.

What about compliance for stock and crypto data?

We work only with user-authorized access or documented public endpoints, log every consent event, and keep delivery aligned with SEC/FINRA disclosure rules for US market data, MiFID II for EU venues and GDPR/CCPA for personal data. Crypto flows reference applicable MiCA and FinCEN guidance.

How long until I get a working build?

A first usable drop (auth + holdings + transaction export + docs) typically lands in 5–12 business days. Real-time quote streams or multi-exchange coverage extend that, and we share interim builds along the way.
📱 Original app overview (My Stocks Portfolio by Peeksoft)

My Stocks Portfolio (package co.peeksoft.stocks) is a long-running personal investing app from Peeksoft, available on Google Play since June 2014 with roughly 1.7 million installs and a 4.7-star rating from over 37,000 reviewers. The app has steadily evolved from a quote-and-watchlist tool into a multi-portfolio tracker that covers stocks, ETFs, funds, FX, crypto and unlisted equity in one place.

  • Track stocks, equities, funds, ETFs, currencies, crypto and unlisted equity
  • Real-time price alerts for the stock market and crypto
  • Multiple portfolios & watchlists with allocation pie charts
  • Realized, unrealized, daily, total and annualized gains
  • Convert mixed-market holdings to one currency using live FX rates
  • Real-time US quotes plus selected international markets
  • Crypto support: BTC, ETH, LTC, XRP, BCH, XMR and more
  • Pre-market & after-hours support, including overnight extended hours (added 2026)
  • Stocks widget, full-screen charts (line/area/candlestick/log/hollow candle)
  • Pinch-zoom, trackball and panning chart interactions
  • Detailed quote info: daily/yearly ranges, market cap, P/E, EPS, volume, beta, dividend & yield
  • Password lock, multi-device sync, CSV import/export to Google Drive or email

App help center: help.mystocksportfolio.app · Developer site: peeksoft.co

Last updated: 2026-05-10