Skip to content
Octo × Fixed income PT Request an assessment

Octo for CDB, LCI, LCA and Tesouro Direto

The rate in the shop window is gross. The figure that matters is the net one, with the assumptions written down.

100% of CDI, taxed, or 90% of CDI, tax-exempt? Fixed, floating or IPCA+? Octo fetches CDI and IPCA from the Central Bank, reads the official Treasury CSV, applies the regressive income tax, the IOF of the first 30 days and the custody fee, adds up the exposure to the FGC (Brazil's deposit guarantee fund) per financial group and returns a dated table. It simulates and compares; you are the one who chooses.

The Octo panel with its eight arms next to an illustrative CDI and IPCA curve and a fictional maturity ladder At the top, two illustrative lines of annual rates, CDI as a solid cyan line and IPCA as a dashed amber line, over ten years. Below, the maturity ladder of a fictional portfolio: five steps of R$ 20 thousand, from 2027 to 2031, one floating, two fixed and two linked to IPCA. On the left, the Octo panel shows the Octo mark and the eight arms in a list, each with a green status dot: Discovery, Data, Security, Architecture, Development, Review, Release and Documentation. All data are fictional. simulacao_renda_fixa.ipynb · fictional data annual rate, % · illustrative 15105 — CDI- - IPCA 17202326 maturity ladder · fictional portfolio float2027 fixed2028 IPCA+2029 fixed2030 IPCA+2031 R$ 20 thousand per step Octo · 8 arms Discovery Data Security Architecture Development Review Release Documentation
Illustration: the Octo panel with its eight arms next to illustrative CDI and IPCA lines and a maturity ladder; fictional data
Selic target13.75%series 432 of the BCB's SGS, queried on 12 Nov 2026
Regressive income tax22.5→15%Law 11,033/2004, art. 1, by calendar days
FGCR$ 250 thousandper CPF and per financial group; R$ 1 million over 4 years
Sources11listed at the end of the page
01

What Octo does with fixed income.

Six deliverables, all with the source and date of every number. None says "invest here": all show the figures to whoever decides.

Net comparison

CDB, LCI, LCA and Treasury bonds over the same term, net of income tax, IOF, custody and lock-up, with the CDI and IPCA assumptions in plain sight.

Deliverable: simulacao.csv and premissas.json

Income tax and IOF ladder

How much of the return goes to tax if you redeem on day 10, day 200 or day 800, using the table in the law.

Deliverable: ladder by redemption date

Central Bank series

CDI, Selic and IPCA downloaded from the public SGS API, with the raw response stored and the sha256 of every file.

Deliverable: cdi_ipca_anual.csv and manifest

Today's curve

Rates by maturity from the official Treasury CSV, with the header checked before calculating.

Deliverable: curve by date and bond type

Mark-to-market

Why the fixed-rate bond's balance dropped on the statement, and how much it moves if the rate goes up or down one point.

Deliverable: price under rate shocks

FGC exposure

The position added up by financial group, with interest to date, against the R$ 250 thousand limit and the R$ 1 million cap.

Deliverable: excess per group
Line chart with CDI and IPCA accumulated in each year from 2016 to 2025. CDI: 13.99% in 2016, 9.93% in 2017, 6.41% in 2018, 5.95% in 2019, 2.75% in 2020, 4.44% in 2021, 12.38% in 2022, 13.03% in 2023, 10.89% in 2024 and 14.33% in 2025. IPCA: 6.29%, 2.95%, 3.75%, 4.31%, 4.52%, 10.06%, 5.78%, 4.62%, 4.83% and 4.26% in the same years. In 2020 and 2021 CDI was below IPCA. 0% 4% 8% 12% 16% 201617181920 212223242025 CDI < IPCA 13.99 2.75 14.33 10.06 CDI in the year (series 4391) IPCA in the year (series 433)
CDI and IPCA accumulated per year, 2016 to 2025, compounded from the monthly values. Source: Central Bank of Brazil, SGS API, series 4391 and 433; accessed 12 Nov 2026. Past data, not a forecast.
02

What Octo delivers, in charts.

Examples of the material that comes out of public data, with fictional data. Illustration, not recommendation: a person reads and decides.

Net comparison

CDB at 100% of CDI, LCI at 90% or Tesouro IPCA+: the two-year math

Fictional horizontal bars with the return on R$ 10,000 over 730 days, CDI at 12% and IPCA at 4.5% a year. LCI from Example Bank at 90% of CDI: net R$ 2,262.94, no income tax. CDB from Example Bank at 100% of CDI: gross R$ 2,544.00, income tax R$ 381.60 and net R$ 2,162.40. Tesouro IPCA+ at 6.5%: gross R$ 2,386.02, income tax R$ 357.90, custody R$ 44.60 and net R$ 1,983.52. Below, the break-even: an LCI at 90% of CDI ties with a CDB at about 105.9% of CDI beyond 720 days, and the note that a different assumption changes the order. R$ 10,000 · 730 days · CDI 12% · IPCA 4.5% (fictional assumptions) 05001,000 1,5002,0002,500 LCI 90% CDI exempt · FGC CDB 100% CDI tax 15% · FGC Tesouro IPCA+ 6.5% · no FGC 2,262.94 net 2,162.40 net 1,983.52 net tax 381.60 tax 357.90 custody 44.60 break-even: LCI 90% ≈ CDB 90 / (1 − 0.15) = 105.9% of CDI (beyond 720 days) up to 180 days: 90 / 0.775 = 116.1% of CDI · LCI has a minimum lock-up of 6 months IPCA at 7% instead of 4.5% changes the order: the output is a table, not a verdict
Illustration: net return of three fictional offers under fictional assumptions; fictional data.
Early redemption

Redeem on day 10 or day 400: how much of the return becomes tax

Two panels. On the left, the first 30 days: the share of the return that goes to IOF plus income tax falls from 97% on day 1 to 74% on day 10, 61% on day 15, 48% on day 20 and 22.5% on day 30. On the right, from day 30 to day 800, the income tax ladder: 22.5% up to 180 days, 20% from 181 to 360, 17.5% from 361 to 720 and 15% beyond 720. Below, the fictional example of R$ 10,000 redeemed on day 10: gross return R$ 31.53, IOF R$ 20.81, income tax R$ 2.41 and net R$ 8.31. days 1 to 30: IOF + income tax days 30 to 800: income tax only 0%25%50%75%100% 0%10%20% 97% 10º: 74% 20º: 48% tax 22.5% 1102030 22.5% 20% 17.5% 15% 180360720800 own scale: 0 to 25% R$ 10,000 redeemed on day 10: gross 31.53 · IOF 20.81 · tax 2.41 net 8.31: 73.6% of the return went to tax
Illustration: share of the return that goes to IOF and income tax depending on the redemption date, per the tables in the law; fictional data.
Curve and mark-to-market

The fixed-rate bond dropped on the statement: today's curve and the price at the new rate

On the left, a fictional fixed-rate yield curve, with rates of 12.8% at 1 year rising to 14.5% at 7 and 8 years, and the same curve shifted 1 point up, dashed. On the right, three bars with the price of a fictional 4-year fixed-rate bond with a face value of R$ 1,000: R$ 635.52 at 12%, R$ 613.32 at 13% and R$ 592.08 at 14%, that is, plus 3.62% and minus 3.46% relative to 13%. Below, the reminder that, held to maturity, the bond pays the contracted R$ 1,000. fixed-rate curve (fictional) 11%12%13%14%15%16% 1357 years +1 p.p. real CSV: Tesouro Prefixado by date PU, 4 years, face R$ 1,000 635.52 613.32 592.08 12% 13% 14% +3.62% −3.46% PU = 1000 / (1 + rate) ^ (business days / 252) held to maturity, it pays the R$ 1,000; the swing is only realised if you sell before
Illustration: shifted yield curve and the price of a fixed-rate bond at the day's rate; fictional data.
03

Eight arms, one checked calculation.

The same Octo cycle, applied to fixed income. Each arm has a narrow role; the investor chooses the investment, and the registered professional is the one who recommends to third parties.

  1. Discovery

    Finds the data

    SGS API, Treasury CSV, broker statement; format, update date and licence of each one.

  2. Data

    Models offers and positions

    Index, rate, lock-up, financial group; money with two decimals, decimal comma, calendar and business days.

  3. Security

    Keeps what belongs to the client

    No broker password in any script; statements with a CPF stay on the machine of whoever is accountable for them (LGPD).

  4. Architecture

    Chooses the path

    Spreadsheet, notebook or script; public API or file; everything reproducible with the access date.

  5. Development

    Writes the scripts

    Net simulator, curve, mark-to-market and FGC exposure, with the rule beside each table.

  6. Review

    Checks the math

    Against a case done by hand and against the table in the law; BCB's IPCA against IBGE's.

  7. Release

    Delivers the report

    Spreadsheet and PDF with assumptions and sources. For a client, it goes out with the name and registration of whoever signs.

  8. Documentation

    Records the rule used

    Which income tax table, which CMN resolution, which CSV date. If the law changes, the old simulation is still explained.

Octo does not say "invest here", does not promise returns and does not pick issuers. It does the math with the assumptions of whoever asks and shows each one.

04

Each question, its data and its rule.

Where each number in the simulation comes from and which rule governs it, checked on 12 Nov 2026.

QuestionData or ruleNote
How much did CDI yield?BCB's SGS: series 12, 4389, 4391On 11 Nov 2026, 13.65% a year, 252-day basis
What is the Selic rate?SGS: 432 (target) and 11/1178 (effective)Target 13.75%; effective 13.65%: different series
And inflation?SGS: 433, checked in SIDRA (table 1737)October 2026: 0.14% in the month
How much income tax?Law 11,033/2004, art. 122.5%, 20%, 17.5%, 15% by calendar days
Do LCI and LCA pay income tax?Law 11,033/2004, art. 3, II and IVExempt for individuals; MP 1,303/2025 lapsed
Redeeming in under 30 days?Decree 6,306/2007, art. 32 and AnnexIOF from 96% to 0% of the return; LCA at a zero rate
Minimum term for LCI/LCA?CMN Resolution 5,215/20256 months without an index; monthly LCI with an index, 36 months; LCA with an index, 12
What if the bank fails?fgc.org.brR$ 250 thousand per CPF and financial group; R$ 1 million over 4 years
Treasury price and rate?Tesouro Transparente CSV (ODbL)Eight types, including Renda+ and Educa+
Cost of holding Treasury bonds?B3 custody, Tesouro Direto page0.20% a year; Selic bond exempt up to R$ 10 thousand
05

From a one-off calculation to ongoing tracking.

Three steps. Each only makes sense after the previous one has shown results for whoever uses it.

A proposal, not a promise

1 Today

Net simulation

Offers typed in by the person, assumptions chosen by them, the full math with income tax, IOF and custody.

  • Table with assumptions
  • Exempt vs taxed break-even
  • Lock-up warning
Gain: no more comparing by the gross rate
2 Next

Dated official data

CDI, IPCA and the Treasury curve downloaded with a manifest, so the simulation says where every number came from.

  • BCB series with sha256
  • Treasury CSV checked
  • Assumption scenarios side by side
Gain: math someone else can redo
3 Later

Portfolio tracking

The person's own positions, maturities, FGC exposure per group and mark-to-market explained in the monthly report.

  • Maturity calendar
  • Excess per financial group
  • Signed report, if it is for a client
Gain: fewer surprises on the statement
06

Confirmed by source.

Every point below has a source published by the vendor, by the project or by the responsible agency. The sources are in the next section.

6

points with a published source, each with its reference alongside.

Octo simulates and compares; it does not pick products, issuers or terms. Real rates change every day, and the offer that counts is the one in the institution's document on that date. The investor decides. Recommending to third parties is the job of a CVM-registered professional, with a suitability assessment; a report for a client carries the name and registration of whoever signs. Positions and statements with a CPF follow the LGPD and do not leave the machine of whoever is accountable for them unless that person decides so.

ConfirmedRegressive income tax
22.5% up to 180 days, 20% up to 360, 17.5% up to 720, 15% beyond; LCI and LCA exempt for individuals.Source: Law 11,033/2004, arts. 1 and 3, Planalto (12 Nov 2026)
ConfirmedMP 1,303/2025
Proposed a flat 17.5% and 5% on LCI/LCA; it lapsed on 8 Oct 2025.Source: note in the consolidated text of Law 11,033 and the Chamber of Deputies (12 Nov 2026)
ConfirmedIOF
1% a day capped at the return, from 96% on day 1 to 0% on day 30; LCA at a zero rate.Source: Decree 6,306/2007, art. 32 and Annex (12 Nov 2026)
ConfirmedLCI and LCA
6 months without a price index; buybacks and extensions limited; backing without credit written off as a loss.Source: CMN Resolution 5,215 of 22 May 2025, BCB (12 Nov 2026)
ConfirmedFGC
R$ 250 thousand per CPF or CNPJ, per institution or financial group; R$ 1 million over 4 years.Source: fgc.org.br, About the guarantee (12 Nov 2026)
ConfirmedSeries and CSV
Selic target 13.75%; CDI 13.65% a year; October IPCA 0.14%; Treasury CSV with eight bond types.Source: SGS API, SIDRA and Tesouro Transparente (12 Nov 2026)
07

What Octo does and what stays with you.

Octo prepares everything, but it does not sign. The document of record stays with whoever is accountable for it.

Drawing of an adviser and a client talking at a table, with a screen in the background showing the maturity ladder
Illustration: adviser and client look at the maturity ladder; the offer that counts is the one in the institution's document

Octo prepares

Collects the public data, calculates, checks and puts the material together: spreadsheets, charts, reproducible notebooks, calculation records and draft reports, with the source and date of every number.

Deliverable: material ready to check

Your team checks

Whoever is accountable for the portfolio, the tax or the report checks what Octo delivered before using it. If something does not add up, it goes back to Octo with the correction.

Step: checked by the person accountable

Who signs and decides

Octo does not recommend investments and does not sign. The decision to invest belongs to the investor; recommendations to third parties, analysis reports and suitability stay with the CVM-registered professional; the tax stays with the taxpayer and the accountant.

Decision: the investor and the CVM-registered professional
08

Sources.

Laws and decrees on the Planalto site, CMN resolutions at the BCB, FGC, Tesouro Direto, SGS API, SIDRA/IBGE and Tesouro Transparente, consulted on 12 Nov 2026.

Your fixed income, compared by the net figure and with the assumptions written down.

The diagnosis starts with a simulation using the offers you already have on the table. You get the table, the assumptions, the rules used and the questions only you can answer, and you decide with that in hand.