Fin Maverick
Foundations VocabularyAccounting & ReportingEconomics & MacroQuant Methods & ProgrammingBusiness & Company AnalysisCorporate Finance & ValuationBehavioural Finance
Banking & Market InfrastructureFixed Income & RatesDerivatives & Structured ProductsPublic EquitiesTransactions & DealsPortfolio ConstructionFunds & AMCs
Private Markets & AlternativesRisk, Treasury & ControlAI & Digital FinanceStochastic Calculus & PricingWealth & Personal FinanceIndian Markets & RegulationProfessional Practice
CalculatorComparison
Frameworks
Explore Bootcamps
Equity ResearchPortfolio ManagementMutual Fund MasteryFinancial LiteracyInvestment Banking Analyst
Private Equity AnalystHedge Funds AnalystBreaking Into VCBreaking Into QuantsAI For Finance
Financial Analyst ProgramRisk Management ProgramPrivate Wealth ManagementDebt Capital MarketsDerivatives Foundation
Explore Internships
Equity Research InternMutual Fund Intern
Portfolio Management InternFinancial Literacy Intern
Explore Micro Courses

Equity Research6

Writing an Investment ThesisBuilding a Discounted Cash FlowReading an Annual Report FastReading a Sector Before a CompanySpotting Quality of Earnings Red FlagsBuilding a Revenue Forecast From Drivers

Portfolio Management3

Rebalancing: When, Why and What It CostsStrategic and Tactical Asset AllocationMeasuring Risk in a Portfolio

Mutual Fund Mastery3

Comparing Funds Without Being FooledHow a NAV Is Struck and Which Day You GetReading a Fund Factsheet Properly

Derivatives Unlocked4

Hedging a Real ExposureThe Greeks, PracticallyFutures, the Basis and What Moves ItReading an Option Payoff

AI For Finance2

Retrieval and Grounding for FinanceDocument Extraction in Finance

Breaking Into Quants4

Backtesting a StrategyHypothesis TestingCleaning Financial DataRegression for Finance

Breaking Into VC3

Sizing a MarketReading a Term Sheet as a FounderHow a Venture Round Actually Works

Financial Analyst Program4

Common Size and Trend AnalysisReading a Cash Flow StatementRatio Analysis That Says SomethingBuilding a Working Capital Schedule

Risk Management Program2

Credit Exposure and How It Is ReducedValue at Risk and What It Hides

Investment Banking Analyst3

Precedent Transactions and Why They DifferReading a Term Sheet StructurallyBuilding a Comparable Companies Table

Private Wealth Management3

Tax Aware Portfolio DecisionsBuilding a Client Risk ProfileGoal Based Planning Arithmetic

Debt Capital Markets3

Analysing an Issuer's CreditDuration and What It Does Not Tell YouBond Pricing and Yield Mechanics

Private Equity Analyst2

Fund Waterfalls and CarryThe LBO in Structure

Hedge Funds Analyst2

Short Selling MechanicsLong Short Mechanics
Courses
Explore Career Roadmaps
Investment Banking AnalystEquity Research AnalystVC AnalystPrivate Equity AnalystHedge Funds Analyst
Quant AnalystAI For FinanceFinancial Analyst ProgramPrivate Wealth ManagementDebt Capital Markets
Risk Management ProgramDerivatives FoundationPortfolio ManagementMutual Fund Mastery
PartnershipsShowdown
Log inSign up
Quantitative Methods, Financial Data & Programming
1Probability
Probability in FinanceRandom VariableProbability DistributionsThe Normal DistributionNormal Distribution ProbabilityThe Lognormal DistributionRandomness vs Uncertainty
2Statistics and Inference
Population and SampleMean, Median and ModePrecision and AccuracyVariable TypesVariance, Standard Deviation and…Dispersion MeasuresStatistical BiasEffect SizeHypothesis TestingThe Sampling DistributionSkewnessKurtosisCovarianceConfidence IntervalArithmetic Mean vs Geometric MeanStatistical Significance vs Economic…Confidence Interval vs Prediction IntervalHow to Summarise a…
3Correlation and Regression
RegressionCorrelation and CausationOrdinary Least SquaresInteraction TermsRegression CoefficientsRegression vs ClassificationHow to Build a…Spurious CorrelationRegression, Correlation and FitResidualsMulticollinearityAutocorrelation and Partial Autocorrelation
4Time Series
Time Series in FinanceSimple, Weighted and Exponential…Moving Average CalculatorPrice, Return and Level SeriesHow to Prepare Time-Series…LagFrequencySeasonalityTimestampsTrendStationarity and the Unit RootHeteroskedasticityLeadRolling WindowsDifferencing
5Simulation and Numerical Methods
SimulationMonte Carlo SimulationHow to Run a…Numerical MethodsIterationResampling and the BootstrapPseudorandom Numbers and the SeedConvergence and ToleranceNumerical Stability
6Optimisation
OptimisationLocal and Global OptimaConstraintsConvex OptimisationThe SolverLinear ProgrammingThe Objective FunctionConstraint ViolationThe Feasible SetLagrange MultipliersQuadratic Programming
7Modelling Practice
Linear, Logistic, Ridge and…Training, Validation and Test…The ModelModel ErrorDependent and Independent VariablesThe ROC Curve and AUCWhat a Model HoldsMSE, RMSE, MAE and MAPEPrecision and RecallCross Validation and RegularisationOverfitting and UnderfittingReturn Series MeasuresSimple, Compound and Log Return
8Backtesting and Research Integrity
BacktestingBacktest vs Live PerformanceHow to Document a…How to Prevent Backtest…Out-of-Sample TestingWalk-Forward AnalysisMultiple TestingP-HackingData Snooping
9Data Quality and Structure
Data QualityThe DatasetSelection and Survivorship BiasVersioned DatasetsData Structures in FinanceData CleaningMissing Data and Null ValuesStructured Data vs Unstructured DataMissing Data vs ZeroData Validation vs Data CleaningOutliersDuplicate Records
10Programming for Finance
Data PipelinesAPIs for Financial DataAPI vs CSV FileDatabases in FinancePython for FinanceJoinsSQL for FinanceThe Analysis Workflow
11Quantitative Research
Research DesignThe Data Generating ProcessReproducibilityPeer Review in Analytical WorkThe Research HypothesisRobustness and Sensitivity

API vs CSV File: One Record, Two Deliveries

An application programming interface (API) and a comma separated values file (CSV) are two deliveries of one record, not two records. The Neelbagh stall returns arrive as 32 rows either way. The file arrives once and whole; the address arrives in pieces, and how many pieces is a setting somebody else chose. The checking differs, not what arrives.

The comparison is four sentences long, and everything below makes each one impossible to argue with. The material is the market office file already introduced: an invented covered market at Neelbagh, a market office writing one row for each stall in each of four months, 32 such rows in the file it hands over, and a takings column with a handful of faults already sitting in it. The office will hand that record over as a file, or answer for it at an address. Both are on the table, and both are introduced separately.

Three things hold the comparison up, and none of them is a matter of taste. First, the record itself, settled separately and used here rather than rebuilt. Second, the two doorways as already introduced: a text file with a header rowThe first line of a text file. It holds the column names and no data of its own, which is what lets every line under it be read as columns rather than as a sentence. on top and a separator between fields, and an address that answers with a nested reply broken into batches. Third, counting. Every reading below is a count of deliveries, a count of rows, or one average with the count underneath it named in the same breath.

Are these two different records, or one record handed over twice?

Getting this wrong poisons everything after it, so start here. The file and the address carry the same record, and every figure computable from one is computable from the other. Flattening the address answer back out gives 32 rows. Opening the file gives 32 rows. In both, 31 of the takings cells carry a number and one is empty. In both, those 31 numbers add to Rs 21,40,099/-. In both, dividing by 31 gives Rs 69,035.45/-.

Here is the everyday version. An electricity board sends a paper bill through the door once a month, and it also keeps a counter at the office where a clerk will read an account out to the customer. Nobody thinks the paper bill and the clerk are describing two different accounts. The account has two doorways, and any argument with the board is never about which doorway is telling the truth. The argument is about which reading was taken, and when.

TWO DOORWAYS, ONE RECORD BEHIND BOTH OF THEM the market office holds one set of stall returns and will hand it over either way THE NEELBAGH STALL RECORD 32 rows, 8 columns, kept by the office THE FILE one handover, the whole thing at once, a header row and 32 lines under it THE ADDRESS an answer on request, delivered in as many pieces as its setting decides same 32 rows, same 31 takings cells carrying a number, same Rs 21,40,099/-, same Rs 69,035.45/-
Both doorways lead back to one record, so the comparison that follows is about handling and checking rather than about the numbers themselves.

Why insist on this before anything else? Because a reader who half suspects the two doorways hold different data will read every criterion below as a question about quality, and will end up asking which one is more reliable. The question has no subject, so it has no answer. Reliability is a property of the record and the record is the same one; everything the two doorways differ on is a property of the delivery.

Try it out

The market office hands over the file and, on the same morning, gives the address to ask at. What does that amount to?

Breaking Into Quants Bootcamp — Fin Maverick

How does each one arrive, and how many times?

The file arrives once. The description ends there. The file lands whole, all 32 rows of it, and nothing about the arrival needs a decision from the analyst.

The address arrives in as many pieces as its batch size decides, and the first genuinely useful idea sits right here. A batch size of 10 means the answer comes back ten rows at a time, so 32 rows need four deliveries holding 10, 10, 10 and 2. A batch size of 4 means eight deliveries. A batch size of 32 means one, and at that setting the address behaves exactly like the file. The batch size is a setting held by whoever publishes the answer, it can be changed without notice, and so the number of deliveries is a fact about their configuration rather than about the record.

The same 32 rows, cut five ways. Deliveries are 32 divided by the batch size, rounded upward.
Batch sizeDeliveries the record needsHow the 32 rows split
48eight lots of 4
84four lots of 8
10410, then 10, then 10, then 2
162two lots of 16
321one lot of 32: the file itself
THE SAME HEIGHT, CUT FIVE DIFFERENT WAYS every column is 32 rows tall; only the cuts move, and the shaded block is the first delivery 32 rows THE FILE 1 handover SIZE 4 8 deliveries first holds 4 SIZE 8 4 deliveries first holds 8 SIZE 10 4 deliveries first holds 10 SIZE 16 2 deliveries first holds 16 SIZE 32 1 delivery first holds 32 the record never grows or shrinks; the only thing that changes is where somebody else decided to cut it
The same 32 rows need 8, 4, 4, 2 or 1 deliveries depending on a batch size chosen by whoever publishes the answer.
Try it out

The address was set to a batch size of 8 and is now set to 4. A colleague says the record has grown: there are eight deliveries now instead of four. What is wrong with that sentence?

What shape does each one arrive in, and what does that shape cost to check?

A file arrives flat, one row for each stall in each month. The grainThe answer to the question, what does one row of this table describe. Stated as a plain sentence, it settles what a row count is actually a count of. is one stall in one month. A flat table has no way to say anything once, so the stall identifier and the stall name are repeated on every row that stall appears in. Kadamba Idli is written out four times. Chandan Tea is written out four times. The repetition is not waste and it is not a fault; it is what makes each row readable on its own.

An address answers nested. Every stall gets written down a single time, with its months hanging underneath. Nothing is repeated. Saving the repetition reads nicely and counts badly. There is no row to count until the reply has been flattened. The practical consequence is narrow and it is the only one worth carrying away: a flat delivery can be counted the moment it lands, and a nested delivery has to be flattened first and counted on both sides of the flattening.

THE SAME SEVEN ROWS, WRITTEN FLAT AND WRITTEN NESTED three stalls, months 1 and 2, taken from the record printed below FLAT, AS THE FILE WRITES IT stall_id stall_name month takings NB-01 Kadamba Idli 1 42000 NB-02 Chandan Tea 1 31000 NB-03 Harit Greens 1 38000 NB-01 Kadamba Idli 2 44000 NB-02 Chandan Tea 2 33000 NB-03 Harit Greens 2 36400 NB-03 Harit Greens 2 39700 the shaded strip is the same two fields written out seven times NESTED, AS THE ADDRESS ANSWERS NB-01 Kadamba Idli month 1 42000 month 2 44000 NB-02 Chandan Tea month 1 31000 month 2 33000 NB-03 Harit Greens month 1 38000 month 2 36400 month 2 39700 each stall stated once; nothing is a row until it is flattened both sides hold seven rows once flattened
Writing it flat costs the stall details on all seven lines and writing it nested costs the row count until flattening, and the two land on the same seven.
# one delivery from the address, batch 1 of 4, at a batch size of 10
GET  /neelbagh/stall-returns?batch=1&batch_size=10
{ "batch": 1, "batch_size": 10, "rows_in_this_batch": 10,
  "stalls": [
    { "stall_id": "NB-01", "stall_name": "Kadamba Idli",
      "months": [ {"month": 1, "takings_rupees": 42000},
                   {"month": 2, "takings_rupees": 44000} ] },
    { "stall_id": "NB-02", "stall_name": "Chandan Tea",
      "months": [ {"month": 1, "takings_rupees": 31000},
                   {"month": 2, "takings_rupees": 33000} ] }
  ] }

The shape of a single delivery, written with a path that has no host behind it. Two stalls are shown; the real delivery at this setting holds ten rows once flattened.

The answer volunteers a field, rows_in_this_batch. The field is the delivery stating how much of itself it is, and it is the cheapest guard either doorway offers. The file has no equivalent. The file is all of itself, and the count is whatever the reader returns. Both are countable. Only one of them counts itself out loud.

Try it out

What does a header row hold, and what does the nested answer do instead of repeating the stall on every line?

AI For Finance Bootcamp — Fin Maverick

When does each one go out of date, and how would that be known?

A file is a photograph. The file was true at the instant it was written and it has been drifting quietly ever since. Whether somebody wrote the date on the envelope is a matter of office habit, not of the format, and a file that does not carry its own vintage will still open cleanly and give a confident figure. A photograph has no mechanism for noticing that the room has changed, so the file cannot go stale in a way it can report.

An address answers now, and that sounds like the fix until the cost appears. Answering now is exactly why it cannot report what changed since the last time it was asked. There is one instance sitting in this record already: the Harit Greens return for month 2 was filed on day 5 reading Rs 36,400/-, then revised on day 19 reading Rs 39,700/-. Asking the address on day 10 returns the first figure with no hint that a revision is coming. Asking it on day 20 returns, depending on how the office handled it, both rows or only the second. Neither answer mentions that anything moved.

A PHOTOGRAPH AND A WINDOW, AND WHAT NEITHER ONE SAYS written on the flap: day 6 THE FILE a photograph, and it stays that day THE ADDRESS a window, and it answers for today day 1 day 30 day 5, Rs 36,400/- filed day 19, revised to Rs 39,700/- the envelope cannot show the revision; the window shows the result and never the change so both doorways need the date and the trail written down beside them
A file is a photograph with a date on the envelope and an address answers now, and neither one reports what changed in between.

Neither doorway carries provenanceThe written trail behind a number: where it came from, who touched it, and what was done to it before it arrived. It is kept beside a figure because nothing about the figure itself records it. by itself, and both need it written down beside them. One sentence does it: what was asked, where it was asked, on which day, and how many rows came back. Two of those four are free from the address and none of them are free from the file. The file, of the two, is the one people forget to date.

Try it out

One figure is taken from the file and one from the address, and the two disagree. What has to be asked for before anything is compared?

Risk Management Program Bootcamp — Fin Maverick

What does each one cost to check?

The cost of checking is the criterion that decides most real cases, and it is the one people notice last. The Neelbagh file prints on one screen, so every fault in it can be pointed at with a finger. Thirty two rows. The duplicated Harit Greens month sits at rows 11 and 12. The empty takings cell sits at row 14. The office code for no return received sits at row 26. Two rows both reading Rs 4,80,000/- sit at rows 23 and 24. All of that can be seen at once, argued about in a meeting, and marked up in pencil.

A batched answer must be reassembled before it can be checked at all, and until it is reassembled, the figure in hand depends entirely on where the reading stopped. The point is not a warning about carelessness. The point is arithmetic, and here is the arithmetic.

The first delivery, read alone, at each of the five batch sizes. The count divided by is the number of takings cells in that delivery carrying a usable number.
Batch sizeDeliveriesRows in the firstOf those, carrying a numberWhat the first delivery reads
4844Rs 34,250/-
8488Rs 38,500/-
1041010Rs 38,500/-
1621615Rs 35,873.33/-
3213231Rs 69,035.45/-

The ladder repays a slow walk, and it does something the story about batching does not prepare for. From a batch size of 4 to a batch size of 8 the reading rises. From 8 to 10 it does not move at all. From 10 to 16 it falls. From 16 to 32 it jumps to the record figure. At four settings out of five the first delivery reads below what the whole record reads. At exactly one setting it reaches it, and that is the setting where the address stops being an address and becomes the file.

WHAT THE FIRST DELIVERY READS, SETTING BY SETTING the dashed line is the whole record; the walk goes up, then level, then down, then up the whole record reads Rs 69,035.45/- PAGE SIZE 4 Rs 34,250/- PAGE SIZE 8 Rs 38,500/- PAGE SIZE 10 Rs 38,500/- the same figure twice, and it is arithmetic on this row order PAGE SIZE 16 Rs 35,873.33/- PAGE SIZE 32 Rs 69,035.45/- Rs 0/- Rs 75,000/- four of the five settings read below the whole record, and exactly one reaches it
The first delivery reads Rs 34,250/-, Rs 38,500/-, Rs 38,500/-, Rs 35,873.33/- and Rs 69,035.45/-, and the repeat is arithmetic on the order these particular rows happen to sit in rather than a law.

The repeat in the middle of that ladder is the most dangerous thing in the whole comparison, and it deserves naming rather than admiring. At a batch size of 8 the first delivery holds rows 1 to 8. The eight cells add to Rs 3,08,000/- and give Rs 38,500/-. At a batch size of 10 the first delivery holds rows 1 to 10. The ten cells add to Rs 3,85,000/- and give Rs 38,500/- again. The reason is small and specific. Rows 9 and 10 together come to Rs 77,000/-, and over 2 cells that is Rs 38,500/-, exactly what the eight rows above them average. Two extra rows that happen to sit at the running average cannot move it, and that is a fact about this row orderThe order the rows happen to be sitting in. It belongs to the way the record was written out, not to the record itself, so a fact that depends on it will not survive being sorted. rather than a property of batch sizes.

Put it in the language of a market and it stops feeling clever. Eight stalls average Rs 38,500/- a month between them. Two more stalls walk in, and they happen to average Rs 38,500/- too. Of course the ten stall average is Rs 38,500/-. Nothing about the number eight and the number ten made that happen. Shuffle the file so that the two Rs 4,80,000/- rows sit in positions 9 and 10, and the two settings come apart at once.

Try it out

At batch sizes of 8 and 10 the first delivery gives exactly the same figure. Is that a property of batch sizes, and what would have to be checked before repeating the claim on a different record?

WHAT CAN BE POINTED AT, AND WHAT CANNOT BE POINTED AT YET the file printed whole, against the same record at a page size of 10 THE FILE ON ONE SCREEN seven marked lines: a stall month written twice, a zero, an empty cell, two equal large figures and an office code THE SAME RECORD, IN FOUR DELIVERIES delivery 1, opened: 10 rows visible reads Rs 38,500/- on its own delivery 2, still sealed delivery 3, still sealed delivery 4, still sealed every one of those marked lines sits in a delivery nobody has opened yet
A record small enough to print can have every fault pointed at, and a batched answer has to be reassembled before it can be checked at all.

Where the faults actually sit sharpens the point. At a batch size of 10, every marked line in that file lands in delivery 2 or delivery 3. A reader who opens the first delivery and stops has not seen a single one of the record faults, and nothing about the delivery they are holding suggests there is anything to see. The delivery is a clean, well formed answer to a question they did not quite mean to ask.

Try it out

The first delivery at a batch size of 16 holds 16 rows. Before the figure is read: what number does it get divided by?

Try it out

The batch size is about to be raised from 4 all the way to 32. Before the control moves: what does the first delivery figure do on the way?

Play with it

Moving the batch size changes what a first look reads.

One control moves: the batch size the address is set to, through the five settings of 4, 8, 10, 16 and 32. The record never changes. Two things redraw together, the strip of deliveries and the bar for what the first delivery reads, and the dashed line stays where it is at the whole record figure. At the opening setting the batch size is 10, the record needs 4 deliveries, the first one holds 10 rows all carrying a number, and it reads Rs 38,500/- against the Rs 69,035.45/- the whole record reads.

Jump to a setting:
Batch size
10
Deliveries needed
4
Rows in the first
10
Divided by
10
The first delivery reads
Rs 38,500/-
Below the whole record by
Rs 30,535.45/-

Educational illustration. The batch size is a setting held by whoever publishes the answer, never by the reader. The named convention counts only the takings cells that carry a usable number, so an empty cell and the office code for no return received are treated separately and are printed as such.

Try it out

One of these two doorways breaks loudly and one breaks quietly. Which is which, and what does the quiet one look like when it happens?

Spotting Quality of Earnings Red Flags — free micro-course from Fin Maverick

How does each one break, and which break is louder?

A file breaks visibly. A row that is not there is not there, and the count says so. Opening the Neelbagh file expecting 32 rows and finding 29, the difference sits in plain sight before anything has been computed. A file that arrived truncated usually announces itself in a worse way still, with a half written last line that stops a reader dead. Loud, ugly, and cheap to fix.

An address breaks quietly, and this is the expensive one. A short read is a well formed answer to a question nobody meant to ask. The delivery is complete, the fields are correct, the numbers are real, and nothing anywhere reports an error. The figure computed from it is wrong for exactly one reason: one delivery out of four was asked for. The quiet break costs more than the loud one because nothing about it looks like a break, so nobody goes looking.

# the one line guard, run on the ten rows printed above
rows   = delivery_rows
usable = [r for r in rows if r["takings_rupees"] is not None]
figure = sum(r["takings_rupees"] for r in usable) / len(usable)
print(len(rows), "rows in,", len(usable), "usable,", figure)
# 10 rows in, 10 usable, 38500.0

The row count and the count divided by, printed in the same breath as the figure, on the ten rows of the first delivery shown earlier.

The whole fix is one line, and notice that it is the same fix for both doorways. Print the row count and the denominatorThe number a total is divided by. It decides what an average is an average of, which is why two people can divide the same honest total and still disagree about the answer. in the same sentence as the figure. Against the file it records that 32 arrived and 31 were usable. Against the address it records that 10 arrived when 32 were expected. The quiet break is made loud, in one line, for free.

Spotting Quality of Earnings Red Flags teaches you to test whether a reported profit is a sound base to forecast from.

So what does the whole comparison look like on one grid?

Five criteria, two doorways, one reading in each cell. Everything above compresses into this, and the shape of it is the argument: the two columns differ on every row about handling and checking, and on no row about the record.

FIVE CRITERIA, AND NOT ONE OF THEM IS ABOUT THE RECORD THE FILE THE ADDRESS HOW IT ARRIVES once, whole, all 32 rows in a single handover that needs no configuring in 8, 4, 4, 2 or 1 pieces, and the count is a setting somebody else holds WHAT SHAPE IT ARRIVES IN flat, one row per stall month, the stall repeated, countable the moment it lands nested, each stall stated once, and no row exists until it has been flattened WHEN IT GOES OUT OF DATE from the instant it was written, and it has no way of mentioning that never, because it answers now, which is why it cannot say what changed WHAT IT COSTS TO CHECK prints on one screen at 32 rows, so every fault can be pointed at must be reassembled before it can be checked, and until then it reads short HOW IT BREAKS loudly: a row that is not there is not there, and the count says so at once quietly: a short read is a well formed answer, and nothing reports it and on every row, the 32 rows and the Rs 69,035.45/- underneath are identical
On five criteria the file and the address differ on handling and checking, and on nothing about the record itself.

The morning spent asking which source was right

A small analysis team keeps both doorways open. The monthly report is built from the file: the file is what the market office emails over. A quick mid month check is done against the address. Asking is faster than waiting for a file. One morning the two disagree: the report says the average takings per stall month is Rs 69,035.45/- and the quick check says Rs 38,500/-. Somebody asks which source is right, and four people spend most of a day on it.

Neither source is wrong, and both carry the same 32 rows. The quick check read one delivery out of four, so the count it divided by was 10 rather than 31, and 10 rows of a 32 row record cannot be expected to land anywhere near the whole. There is no data fault here, no corruption, no bad export and nobody to blame. There is a first delivery and a whole record, sitting side by side without labels.

The cost is the investigation, not the figure. A disagreement about a source cannot be closed. There is nothing to test: two systems, two figures, and an argument that runs until somebody gets tired. A disagreement about a count divided by closes in one line. The two numbers are visible, and one of them is obviously not 31. Write the row count and the count divided by beside every figure from either doorway, and the difference is located before anybody starts looking for a culprit.

TWO SLIPS, ONE RECORD, AND THE LINE NOBODY WROTE NEELBAGH STALL RETURNS average takings per stall month Rs 69,035.45/- added in pencil afterwards: 32 rows read, divided by 31 NEELBAGH STALL RETURNS average takings per stall month Rs 38,500/- added in pencil afterwards: 10 rows read, divided by 10 same record, same market office, same named convention, same four months without the pencil line these are two sources disagreeing, and the argument has no end with it they are one record read two ways, and the difference is 31 against 10
Two figures from one record differ because of a count divided by rather than a source, and writing it beside each one closes the argument immediately.
Financial Literacy Bootcamp — Fin Maverick

How is the choice made?

Two lines, and a lender, an analyst or a household budget keeper all use the same two. The file suits a record small enough to print, where pointing at a row matters. The address suits a record too large to hand over in one piece, or one that changes often enough that a photograph would be stale before it was opened.

The whole decision really is those two lines, and it is worth noticing what is not in it. Nothing about which is more modern. Nothing about which is more professional. A household checking its own electricity bills for a year has twelve rows and should absolutely be handed a file. A lender reading stall returns across four hundred markets, refreshed weekly, cannot be handed a file at all and should be given an address. The size and the freshness of the record decide, and nothing else does.

THE CHOICE BRANCHES; THE CHECK DOES NOT Is the record small enough to print, and steady enough that a photograph of it still keeps? YES NO TAKE THE FILE it can be printed, marked up and pointed at, row by row, in an argument TAKE THE ADDRESS too big to hand over, or it moves too often for a photograph to be worth much count of rows, denominator named, origin written down the same three things, on either branch
The doorway is chosen on size and freshness, and the check underneath is the same on both branches.

What a lender actually does with this

A lender assessing small market traders reads stall returns to size a working capital limit. The lender does not care which doorway the returns came through, and it does not ask. The lender asks, every time, for the count of rows behind the figure, the count the figure was divided by, and the day the reading was taken. The three answers turn an average into evidence. Without them, a credit note carrying Rs 38,500/- and a credit note carrying Rs 69,035.45/- are indistinguishable in a file, and the smaller one will quietly size a smaller limit for a trader who did nothing wrong except be read from the first delivery.

The habit that survives contact with real work is not choosing well; it is labelling well. A conventionA rule about how something gets counted, agreed and written down before the counting starts, so that a second person counting the same thing lands on the same number. that is written down travels with the figure, and a doorway that is not written down is an argument waiting to be had.

Try it out

A record is 32 rows and it changes once a month. Which doorway suits it, and which part of that answer changes if the record were a hundred times larger?

What sits either side of this comparison

Covered separately: the make up of a request, what comes back nested inside the reply, and the work of turning that reply into rows. Covered separately too: the anatomy of a comma separated file, the job its first line and its separator do, and the written down path a record travels once it is in hand. The comparison assumes all of it and sets the two doorways against each other instead.

Covered later: the place a structured table actually lives and what declaring its shape buys, working inside a table held in memory, matching two tables to each other on a shared key, putting a precise question to a table that is stored, and the ordered run of cells that lets a second person reproduce a finished answer from scratch.

Where the numbers were got

What was usedWhat it isSite named
The Neelbagh stall recordAn invented file of 32 rows and 8 columns, carried forward unchanged from the ordered notes on data qualityNone
The five first delivery figuresEach one re-added from the rows printed aboveNone
The delivery countsThirty two rows divided by the batch size and rounded upward, worked five timesNone
The named conventionThe sum of the takings cells carrying a usable number, over how many carry oneNone

The Neelbagh market, its stall record, the market office keeping it, the day book beside it and every stall named on it, Kadamba Idli, Chandan Tea and Harit Greens among them, are invented, and the example address reaches no host.
Educational material. Not advice on any investment, tax, budget or market position.

← PreviousNext →
Fin Maverick Micro CoursesExplore Micro Courses
Fin Maverick BootcampsExplore Bootcamps
Fin Maverick

Finance education that ends in a job, not a certificate that gathers dust. Built for young India.

LEARN
CalculatorsFrameworksComparisonsCareersShowdown
RESOURCES
All CoursesMicro CoursesBootcampsInternships
COMPANY
AboutJob openingPartnership
LEGAL
Privacy PolicyTerms & ConditionsContent LicenseReturn & Refund Policy
© 2026 FIN MAVERICK / BUILT FOR INDIA.DO FINANCE, DO NOT JUST READ ABOUT IT.