BTG Pactual homebroker data extraction, portfolio sync, and variable income trading API — compliant delivery for Brazil's B3 market
Necton Trade, powered by Banco BTG Pactual S.A., is Brazil's specialized variable income trading platform built for day traders and equity investors active on B3. The app holds rich, server-side user data — including live order books, position records, daily P&L, flow analysis metrics, and personalized market news — making it a prime target for OpenFinance-compliant data integration.
Our studio delivers production-ready source code and API documentation that exposes Necton Trade's structured trading data through authorized protocol analysis and Open Finance integration patterns, aligned with Brazil's BACEN Open Finance Phase 4 framework and LGPD data privacy requirements.
Each module below corresponds to a discrete data surface within Necton Trade that we extract, normalize, and expose via a structured API. These are derived from the app's authenticated endpoints, paired with BTG Pactual's Open Finance participation and the community-documented btg-hb-api protocol layer.
We implement the full BTG Pactual homebroker login flow — credential submission, MFA token handling, session cookie / bearer token extraction, and automatic token refresh. This forms the foundation for all downstream data calls. Useful for: SSO bridges, enterprise multi-account management, and automated data pipeline authentication.
Paginated retrieval of all order records — buy/sell direction, asset ticker (e.g. PETR4, WINM24), order type (market, limit, stop-loss, OCO), quantity, execution price, fees, and settlement status. Supports date-range filters and export to JSON or CSV. Critical for trade reconciliation, tax reporting, and brokerage back-office workflows.
Reads the full position snapshot: asset symbol, quantity held, average cost, current market price, daily variation, unrealized gain/loss, and portfolio weight. Enables continuous synchronization to external wealth management platforms, robo-advisors, and ERP systems that need live portfolio exposure data.
Extracts intraday performance figures specific to Necton Trade's exclusive Day Trade Mode — including gross/net P&L, leverage multiple applied (up to 100x), drawdown, and configured stop-loss limits. This data supports real-time risk monitoring dashboards, prop-trading firm reporting, and automated kill-switch integrations.
Necton Trade's flow analysis screens expose aggregated buyer/seller volume data, net flow direction, and institutional vs. retail participation breakdown by asset. We surface this as a structured feed, enabling quantitative strategies, signal generation pipelines, and market microstructure research tools to consume it programmatically.
In 2024, Necton Trade integrated Reuters as its primary news provider, delivering richer and more comprehensive market news. Our API wraps the personalized news feed and corporate events calendar (earnings, dividends, splits, bond payments) tied to a user's holdings. Useful for: investment newsletters, alert systems, and portfolio-context news aggregators.
The following table maps Necton Trade's key data types to their source within the app, data granularity, and typical downstream use case. This inventory is the basis for scoping an integration engagement and maps directly to Brazil's Open Finance Phase 4 investment data categories.
| Data Type | Source (screen / feature) | Granularity | Typical Integration Use |
|---|---|---|---|
| Order history | Order management screen / execution log | Per-order: ticker, direction, qty, price, fee, status, timestamp | Trade reconciliation, tax reporting (DARF), brokerage back-office sync |
| Portfolio positions | Position breakdown / portfolio view | Per-asset: quantity, avg cost, market price, unrealized P&L, weight | Wealth management dashboards, robo-advisory, ERP exposure tracking |
| Account balance & buying power | Account summary / day-trade mode panel | Cash balance, margin available, leverage utilization ratio | Credit risk assessment, liquidity monitoring, automated trading gates |
| Day-trade intraday P&L | Day Trade Mode performance analytics | Intraday gross/net P&L, drawdown, leverage multiple, stop-loss status | Prop-trading firm reporting, risk dashboards, automated kill-switch triggers |
| Market flow data | Flow analysis system screen | Buyer/seller volume, net flow direction, institutional vs. retail split by asset | Quant signal generation, market microstructure research, flow-based alerts |
| Real-time quotes & chart data | Quotes screen / interactive charts | Tick-level or OHLCV candlestick; technical indicators (MACD, RSI, Bollinger) | External charting tools, algorithmic strategy backtesting, price alert engines |
| News & corporate events | News feed / corporate events calendar | Per-article or per-event: headline, asset tags, publication time, event type | Portfolio-context newsletters, event-driven trading alerts, compliance monitoring |
| Fundamental analysis reports | Analysis library / financial insights | Per-asset: key ratios, analyst targets, sector comparisons, financial highlights | Investment research platforms, advisory report generation, screening tools |
Below are five concrete end-to-end scenarios showing how Necton Trade's data, accessed via our API layer, maps to real business workflows. Each scenario names the specific data involved and its alignment with Open Finance or OpenData patterns used in the Brazilian fintech ecosystem.
Business context: Brazilian retail investors must calculate and pay monthly capital gains tax (DARF) on equity trades and declare annual income tax (IR). Many use accountants or tax-prep tools that need verified trade data.
Data & API involved: Order history API — pulling every executed trade with settlement dates, asset tickers, buy/sell prices, quantity, and net proceeds after brokerage fees.
Open Finance alignment: Maps directly to Brazil's Open Finance Phase 4 investment transaction data standard (BACEN resolution). The normalized output feeds tax engines like ContaAzul, Tributei, or custom IR declaration systems without manual statement export.
Business context: High-net-worth clients often hold positions at multiple brokers (Necton/BTG + XP + Inter). Wealth advisors need a unified portfolio view across all accounts in real time.
Data & API involved: Portfolio position sync API — delivering per-asset holdings, cost basis, unrealized P&L, and daily variation; paired with the account balance API for buying power.
Open Finance alignment: Mirrors the investment position data sharing consent model introduced in Brazil's Open Finance Phase 4 (completed April 2024). Our integration replicates this data flow for platforms that serve customers whose broker has not yet implemented native Open Finance consent sharing.
Business context: Proprietary trading desks that fund day traders via Necton Trade need real-time visibility into each trader's leverage exposure, daily P&L, and stop-loss adherence — without requiring traders to manually report.
Data & API involved: Day-trade P&L & risk metrics API — intraday gross/net P&L, leverage multiple (up to 100x), drawdown, and stop-loss trigger status at sub-minute polling intervals.
Open Finance alignment: Positions this as an authorized data delegation model: the trader grants the firm API-level access to their Necton Trade performance data under a documented consent agreement, consistent with LGPD data-sharing rules.
Business context: Quantitative traders and fintech startups want to incorporate Necton Trade's flow analysis data (buyer/seller volume, institutional participation ratios) into algorithmic trading signals or market analytics products.
Data & API involved: Flow analysis feed API — asset-level net flow direction, volume-weighted buyer/seller imbalance, and time-series snapshots at configurable intervals.
Open Finance alignment: Treated as open market intelligence data; ingested into time-series databases (InfluxDB, TimescaleDB), combined with B3 official data, and consumed by backtesting frameworks or live signal engines via our normalized REST or WebSocket endpoint.
Business context: Asset managers and individual investors want news and corporate events (earnings releases, dividend declarations, stock splits) filtered and prioritized based on their actual Necton Trade holdings — not generic market headlines.
Data & API involved: News & corporate events API (Reuters feed integrated in 2024) combined with the portfolio position list to produce holding-aware, relevance-ranked news items and calendar alerts.
Open Finance alignment: Represents an enriched data delivery layer — combining user-permissioned portfolio data with public market data to create personalized financial intelligence, consistent with Open Finance data enrichment patterns used across EU PSD2-inspired frameworks.
The following pseudo-code snippets illustrate the request/response structure, authentication method, and error-handling patterns for the three core integration layers we deliver. All endpoints follow REST conventions with JSON payloads; WebSocket variants are available for streaming quote and flow data.
// POST /api/v1/necton/auth/login
// Initiates session with BTG homebroker credential flow
Request:
POST /api/v1/necton/auth/login
Content-Type: application/json
{
"username": "user@email.com",
"password": "••••••••",
"mfa_token": "123456" // TOTP if 2FA enabled
}
Response (200 OK):
{
"access_token": "eyJhbGciOiJSUzI1NiJ9...",
"refresh_token": "rt_abc123xyz",
"expires_in": 3600,
"account_id": "NEC-88321",
"broker": "BTG_PACTUAL_NECTON"
}
// Error handling:
// 401 → invalid credentials
// 403 → MFA required or invalid OTP
// 429 → rate-limited; retry after Retry-After header
// GET /api/v1/necton/orders
// Returns paginated executed and pending orders
Request:
GET /api/v1/necton/orders
Authorization: Bearer <ACCESS_TOKEN>
X-Account-Id: NEC-88321
Query params:
from_date=2025-01-01
to_date=2025-03-31
status=EXECUTED // EXECUTED|PENDING|CANCELLED
asset_type=EQUITY // EQUITY|FUTURES|OPTIONS
page=1&page_size=50
Response (200 OK):
{
"total": 312,
"page": 1,
"orders": [
{
"order_id": "ORD-9921433",
"asset": "PETR4",
"direction": "BUY",
"type": "LIMIT",
"quantity": 200,
"price": 38.42,
"net_value": 7684.00,
"fee": 0.00,
"status": "EXECUTED",
"executed_at": "2025-03-14T10:32:11-03:00"
}
// ... more orders
]
}
// Errors: 401 (expired token), 404 (account not found)
// GET /api/v1/necton/portfolio/positions
// Returns current holdings with live P&L
Request:
GET /api/v1/necton/portfolio/positions
Authorization: Bearer <ACCESS_TOKEN>
X-Account-Id: NEC-88321
Response (200 OK):
{
"snapshot_at": "2025-03-14T15:55:00-03:00",
"cash_balance": 12500.00,
"buying_power": 1250000.00, // 100x leverage (DT mode)
"total_equity": 94320.50,
"positions": [
{
"asset": "WINM25",
"asset_type": "FUTURES",
"quantity": 3,
"avg_cost": 128500.00,
"last_price": 129200.00,
"unrealized_pnl": 2100.00,
"daily_variation_pct": 0.54
},
{
"asset": "BBAS3",
"asset_type": "EQUITY",
"quantity": 500,
"avg_cost": 22.10,
"last_price": 23.45,
"unrealized_pnl": 675.00,
"daily_variation_pct": 1.83
}
],
"day_trade": {
"gross_pnl": 4380.00,
"net_pnl": 4210.00,
"leverage_used": 45.2,
"drawdown_pct": 1.1,
"stop_limit_status": "ACTIVE"
}
}
// Polling interval: 5–30 seconds recommended
All Necton Trade integrations we deliver are scoped and implemented under applicable Brazilian regulatory frameworks. We do not perform unauthorized access; all data flows are predicated on user-granted consent and documented authorization chains.
Brazil's Central Bank (BACEN) completed the Phase 4 Open Finance extension in April 2024, expanding the mandatory data-sharing framework to include investment accounts, pension products, and insurance. BTG Investimentos is a registered participant in the Open Finance Brasil ecosystem. Our integrations adopt the same consent-flow patterns defined in the BACEN Open Finance technical standards, ensuring compatibility with platforms that consume Open Finance-compliant investment data.
The CVM regulates securities markets in Brazil, including best-execution obligations, trade reporting, and post-trade transparency on B3. Data integrations that feed compliance systems (e.g. trade audit logs, position reporting) must align with CVM disclosure and reporting standards. Our order history and position APIs produce output in formats compatible with standard CVM compliance and back-office reporting workflows.
Brazil's LGPD (analogous to GDPR) governs the processing of personal and financial data. All integrations we deliver include: explicit consent capture documentation, data minimization guidance (only fields required for the stated purpose), defined retention policies, and PII handling advice for storage and logging. We provide NDAs and data-processing addenda on request.
A typical Necton Trade data integration follows a four-node pipeline. The client app authenticates via our abstraction layer, which handles token lifecycle management and rate-limiting against BTG's backend. Normalized data is pushed to a storage/cache layer (PostgreSQL, Redis, or S3 for raw exports) before being served to downstream analytics tools, dashboards, or third-party platforms via our REST or webhook output layer.
Polling intervals are configurable: 5–30 seconds for live P&L and positions; daily batch jobs for order history exports. Webhook variants push events (order filled, position changed, news alert) to customer endpoints in near-real-time, reducing polling overhead for event-driven architectures.
Necton Trade targets Brazilian retail and semi-professional traders who are active participants on the B3 exchange (São Paulo), primarily in equities (Bovespa segment), mini-contracts (WIN/WDO futures), and options. The platform is particularly well-regarded among day traders who use leverage-amplified Day Trade Mode, where intraday positions benefit from over 100x buying power. The app is maintained by Banco BTG Pactual S.A. — Brazil's largest investment bank and one of Latin America's most capitalized financial institutions (CNPJ 30.306.294/0002-26, headquartered at Av. Brigadeiro Faria Lima, 3,477, São Paulo). Necton operates as BTG Pactual's retail brokerage brand, competing alongside XP Investimentos, Clear, Rico, and Toro for the Brazilian self-directed investor segment. The user base skews toward technically sophisticated traders who value advanced chart analysis, flow data, and rapid order execution. The app is available on both Android and iOS, with the Google Play package ID com.btg.pactual.homebroker.mobile.necton, and the iOS listing under the App Store ID 1606793778. Primary geography: Brazil; primary language: Portuguese; primary exchange: B3 (formerly BM&FBovespa).
Click any thumbnail for a full-size view of the Necton Trade interface.
Necton Trade operates in a competitive segment of Brazil's B3-focused retail brokerage apps. Users who trade across multiple platforms often need unified data exports, consolidated portfolio views, and cross-broker tax reporting. The following platforms share significant user overlap with Necton Trade, and integrating two or more creates strong demand for normalized, multi-source trading data pipelines.
One of Brazil's largest investment platforms, XP holds equity, fixed income, fund, and FII transaction data for millions of accounts. Users moving between XP and Necton Trade frequently need cross-broker order history exports for unified tax declarations and portfolio consolidation dashboards.
Clear is a zero-fee brokerage subsidiary of XP, ranked among Brazil's top homebroker apps for day traders. It shares a similar user profile with Necton Trade — leverage-focused intraday traders on B3 — making combined Necton + Clear data pipelines a common request for prop-trading firms managing accounts across both platforms.
Rico targets Brazilian beginner-to-intermediate investors with low-cost access to equities, funds, and fixed income. Users who graduate from Rico to Necton Trade for advanced features often need historical trade records migrated or aggregated for continuity in tax reporting and portfolio analytics.
Toro combines zero-fee brokerage with copy-trading and portfolio guidance features, attracting self-directed retail investors. Its position data and order history format a natural complement to Necton Trade data in multi-broker wealth management dashboards serving Brazilian retail clients.
Órama specializes in fund investments and diversified asset allocation, holding structured fund position and transaction data for over a decade. Integrating Órama alongside Necton Trade covers both the active trading and the passive/fund investment dimensions of a complete Brazilian investor's portfolio.
The main BTG Pactual Trader app (com.btg.pactual.homebroker.mobile) serves the broader BTG institutional and high-net-worth client base, sharing much of the same underlying infrastructure as Necton Trade. Cross-account integration between BTG Pactual Trader and Necton Trade is a natural requirement for BTG's corporate clients managing multiple book types.
Ágora is Bradesco's brokerage arm, offering B3 trading and investment products. As a zero-fee brokerage, it holds order history and position data analogous to Necton Trade, and joint Necton + Ágora integrations serve advisors who manage mixed-bank portfolios.
Banco Inter's investment platform hosts equity, FII, ETF, and fixed income positions for its large digital bank user base. Its order and position data overlaps significantly with Necton Trade users, making it a common pairing in multi-broker consolidation APIs used by Brazilian fintech aggregators.
Íon is Itaú's investment super-app, combining brokerage, advisory, and banking functions. High-net-worth clients who trade actively on Necton Trade often hold longer-term positions via Íon, creating demand for cross-platform portfolio reconciliation and unified reporting APIs.
Modal Mais (now part of BTG Pactual group's broader ecosystem) was a specialist B3 trading broker before its acquisition, and retains a loyal day-trader user base. Its order history data complements Necton Trade integrations for clients who operated on both platforms during the transition period.
We are an independent technical service studio specializing in app interface integration and authorized API integration, with engineers who have hands-on backgrounds in fintech, mobile brokerage platforms, protocol analysis, and cloud data pipelines. Our team has delivered integrations for financial apps across Brazil, Southeast Asia, the Middle East, and Europe — working with equities, payments, banking, and open data ecosystems.
We understand Brazil's Open Finance regulatory landscape (BACEN, CVM, LGPD) and B3 market data standards, and we ship end-to-end APIs under compliance and security constraints. Every engagement begins with a clear scope of what data is targeted, how consent is captured, and what the output format must be.
To request a quote, submit your integration requirements, or ask about Necton Trade API availability, reach us through our contact page. Just provide the app name and a brief description of what data or workflows you need — we handle the rest.
Response within 1 business day · NDA available on request · Engagements available globally
Typical first delivery: 6–15 business days. Third-party auth or B3 data licensing requirements may extend timelines.
What do you need from me to start?
Does this work for corporate / multi-account setups?
How do you ensure compliance with LGPD and CVM rules?
What if the app updates and the integration breaks?
Necton Trade (package ID: com.btg.pactual.homebroker.mobile.necton) is the dedicated trading application of Necton, the retail brokerage brand of Banco BTG Pactual S.A. — Brazil's largest standalone investment bank, headquartered at Av. Brigadeiro Faria Lima, 3,477, São Paulo, SP, Brazil (CNPJ 30.306.294/0002-26). The app targets Brazilian retail investors and active traders who participate in the B3 exchange across equities (Bovespa segment), mini-futures contracts (WINM, WDOF), and options.
The application's flagship feature is its exclusive Day Trade Mode, which enables intraday traders to operate with leverage exceeding 100x on selected assets, supported by integrated risk management tools including configurable stop-loss limits and daily loss caps. Real-time performance analytics provide traders with precise P&L tracking throughout the session.
In 2024, Necton Trade added Reuters as its primary news provider, significantly expanding the breadth and timeliness of market news available within the app, alongside its existing corporate events calendar that covers earnings releases, dividend announcements, stock splits, and bond payments relevant to a user's portfolio.