Andre KnuchelSummer 25 – Winter 26BDD 4 · Crypto app
Fictional figures

Every result number on this page is fake: the real values were scaled in proportion so the client’s data stays private. The conclusions are unchanged.

BDD #4 · Crypto-investment app caseAlbert School Geneva · Bachelor 1, Semester 1 · Autumn 2025
Data project · 58,458 anonymised users · 2022–2025

Where a crypto-investment app should grow, and whether its users time the market

Two scoring engines built from the user, transaction and price data of a European crypto-investment app. The first ranks countries for user acquisition. The second grades every trade against what the coin did before and after it.

Engine 1 · Country score

Which markets are worth acquiring users in?

A good market is cheap to acquire in, finishes onboarding, brings experienced investors, is big, and has households with money to invest.

(CAC + onboarding + good profiles) × market share × economic capacity
Top 5 · score × market share (corrected)
  • France0.450
  • United Kingdom0.260
  • Switzerland0.257
  • Italy0.086
  • Türkiye0.078
Done · one spreadsheet column to fix
Engine 2 · Trade-timing score

Do the app's users buy and sell at good moments?

A buy is well timed if the coin keeps rising after it. Each trade gets a score from −3 to +3 built from the price moves 1, 3 and 5 days before and after.

buy score = −past + trade day + future
Middle 50 % of 585,032 scored buys
−30+3 median −0.001 Runs end-to-end · results provisional
58,458registered users
1.7Mtransactions (Jan 2022 – Aug 2025)
439currencies with daily prices
53countries scored by engine 1
585,032buys scored by engine 2

Fictional figures, scaled from the real results.

What to remember
How it works

Two pipelines, one dataset

Engine 1 reduces users to one row per country and combines five ratios. Engine 2 works at trade level: it scores price days first, then looks up the score of the coin and date behind each trade.

ENGINE 1 · COUNTRY SCORE UsersMain.csv · 58,458 rows Ratios per countryA, B, C, D · 4 scripts Country table53 countries · Excel Eurostat macro datasaving rate × income → E Final scoreranked markets group by merge (A+B+C) × D × E ENGINE 2 · TRADE-TIMING SCORE Daily pricesOHLC · 439 currencies Transactions1,048,575 rows used Price-move scores±1/3/5 days, scaled −1…+1 Trade legsEUR_DOGE → 2 legs Trade score−3 … +3 per leg User score19,647 users Country average67 countries moves split join coin + date mean mean country from master_merged.csv
Engine 1 in detail

Country score

Each country gets three quality ratios between 0 and 1, computed from Main.csv. They are added into a raw score out of 3. That score is then weighted by the country's share of the app's onboarded users and by how much its households save.

ACAC score(40 − avg CAC) ÷ 35

Cheaper markets score closer to 1. The $5–$40 bounds hold 98.9 % of user-level acquisition costs.

BOnboarding completiononboarded ÷ registered

Share of sign-ups that finish onboarding. Called “% of full commits” in the sheet.

CGood profiles(advanced + expert) ÷ registered

Share of users who declare an advanced or expert investment profile.

DMarket shareonboarded ÷ 39,173

The country's share of all onboarded users. Stops tiny markets from topping the list.

EEconomic capacitysaving rate × income

Gross saving rate × adjusted disposable income, rescaled so Norway = 1. Covers 28 European countries.

final score = (A + B + C) × D × E  ·  raw score = A + B + C, max 3

What the raw score is made of

Markets with 1,000+ registered users, raw score A + B + C

A · CAC scoreB · Onboarding completionC · Good profiles
Türkiye has the highest raw score of any large market (2.27). Its users are cheap to acquire ($8.09), 91 % finish onboarding, and 44 % say they are advanced or expert. France scores lowest of the nine: it has the lowest onboarding completion (73 %) and the fewest experienced users (9 %).
Show as a table

Small markets dominate the raw score

Raw score vs onboarded users, 51 countries (log scale)

Montenegro (2 onboarded users) and Jersey (4) score above 2.0. Ratios built on a handful of people swing to extremes, which is why the engine multiplies by market share D.

Score × market share: the spreadsheet vs the corrected values

Every country that appears in either top 5, sorted by corrected value

CorrectedAs in country_algo.csv
From Germany downwards, the sheet's Onboarded_%_Pays column is shifted four rows. Norway (98 onboarded users) inherits France's market share and Montenegro (2) inherits the UK's. Recomputing D as each country's own onboarded users ÷ 39,173 puts the UK, Italy and Türkiye back in the top 5.
Show as a table

With economic capacity (final score)

Multiplying by E rewards countries whose households save more. It only exists for European countries with Eurostat data, so the UK and Türkiye drop out (their E is missing and counted as 0), and Spain has no income figure.

RankCountryScore × DEFinal score
1France0.4500.6230.280
2Switzerland0.2570.7000.180
3Germany0.0630.7990.050
4Italy0.0860.3680.032
5Belgium0.0610.4590.028

What the engine reads

User rows follow the project files' format with altered values (IDs, ages, dates, costs). The economic rows are the public statistics behind the scores above; the country rows use the same fictional, scaled figures as the scores.

Users

csv_source/Main.csv · 58,458 rows × 32 columns (8 shown)
user (hashed)countryagetotal_wealth_usdinvestment_profileacquisition_channelOnboarding_complete_dateacquisition_cost_usd
5b81e07d3aFR370_to_50knovicereferral22.08.2310.88
e46f2c9b18CH5250k_to_200kno_experienceorganic03.05.2213.05
91ad7f3c60DE290_to_50kadvancedaffiliate17.01.2418.97
3c07b5e2d4GB460_to_50kno_experienceorganic11.10.2213.05
a2d98e41f7IT330_to_50knoviceonline28.06.238.18

Economic capacity

input/Eco_Sav_Disp_INC%.csv · 28 countries (5 shown)
countryGR_SAV_RATE %yearADJ_GR_DISP_INCincome ÷ maxsaving × incomecoefficient E
NO30.00202231,0350.74722.411.000
DE20.04202437,0980.89317.890.799
CH——36,0000.86618.100.700
FR17.93202432,3710.77913.970.623
IT11.97202428,6460.6898.250.368

Switzerland has no saving rate in the file. Its 18.10 was typed in by hand.

Country table

output/country_algo.csv · 53 countries (3 shown)
countryavg CAC $ABCA+B+ConboardedD× DEfinal
CH16.510.6710.8050.1061.5836,3510.16210.25660.7000.1796
FR15.130.7110.7340.0881.53311,4950.29340.44990.6230.2803
DE14.480.7290.7790.1541.6621,4840.1621 0.03790.2695 0.06300.7990.2153 0.0503

Germany's row in the sheet carries Switzerland's market share (0.1621), four rows up. Crossed-out values are the sheet's; the values beside them are recomputed from Germany's own 1,484 onboarded users.

Engine 2 in detail

Trade-timing score

Every exchange in the app swaps one currency for another, so it is a sale of one and a purchase of the other. The engine checks each leg against how that coin's price moved in the days around the trade. A purchase followed by a rise scores well; a purchase followed by a drop scores badly.

  1. Describe each price day. Daily average price = (open + high + low + close) ÷ 4. For every coin and day, compute the % change of that average to 1, 3 and 5 days later and earlier, plus the intraday change (close − open) ÷ open. The first and last 5 days of each coin are dropped.
  2. Put all moves on the same scale. Divide falls by the size of the 1st percentile and rises by the 99th percentile, then clip to −1…+1. A 10 % move means much more over one day than over five, and this makes them comparable.
  3. Split exchanges into legs. EUR_DOGE becomes a sell leg (EUR given) and a buy leg (DOGE taken). Timestamps become a date and a day part (morning or afternoon).
  4. Join each leg to its coin's scores for that date. This leaves 585,032 buy legs. Only 96,616 sell legs match, because of a date bug (issue 2).
  5. Score the trade from −3 to +3. Three windows are added: the past (mean of the −1, −3, −5-day scores), the trade day, and the future (mean of the +1, +3, +5-day scores). For buys the past is subtracted.
  6. Average upwards. All trade scores of a user give their trader score (19,647 users). Users with a known country are then averaged per country.

One trade, start to finish

User 7f1c04be92 bought $21.14 of ETH on the afternoon of 9 February 2024. Here is how the engine scored it (values altered to keep the data anonymous).

ETH daily average price around the buy

4 – 14 Feb 2024 · dots mark the days the engine measures

ETH had climbed about 7 % in the five days before the buy and gained another 5 % in the five days after.
WindowPrice changeDivided byScore
Past · mean −0.151, subtracted for a buy → +0.151
5 days before−6.29 %28.75−0.219
3 days before−3.29 %22.71−0.145
1 day before−1.00 %11.37−0.088
Trade day → +0.070
Close vs open+1.29 %18.47+0.070
Future · mean → +0.113
1 day after+1.64 %12.91+0.127
3 days after+2.71 %29.75+0.091
5 days after+4.93 %40.86+0.121
Buy score0.151 + 0.070 + 0.113+0.334

+0.334 is better than 81 % of all scored buys. The divisors are the 1st or 99th percentile of each window across all coins, so the same move counts for less over five days than over one.

The past changes are stored as (P[t−N] − P[t]) ÷ P[t], so −6.29 % means ETH was about 6 % cheaper five days earlier: it had been rising. Subtracting the past therefore rewards buying into a rally that keeps going. Whether that is the intended rule, or whether buying after a dip should score better, is open (see issue 3).

How a price move becomes a score

The +1-day window: falls divided by 11.58 (1st percentile), rises by 12.91 (99th percentile)

Anything beyond the 1st or 99th percentile is capped at −1 or +1, so a single extreme day cannot dominate a trade's score. Each of the seven windows has its own pair of divisors.

Most buys are neither good nor bad

Buy scores of 585,032 trade legs, bins of 0.1

Half of all buys score between −0.24 and +0.19. The mean is +0.001. Only 2.1 % of buys score beyond ±2.

Average trader score by country

Countries with 20+ traders who have a known country

Above zeroBelow zero
Every country stays within ±0.2 on a ±3 scale. The large markets are almost exactly zero: Switzerland +0.017, Germany +0.013, UK +0.004, France −0.009, Italy −0.011.
Show as a table
Trade legsScoredMean5th pctMedian95th pctStatus
Buys585,032+0.001−1.016−0.001+1.127Signs to confirm
Sells96,616−0.025−0.466−0.003+0.329Wrong dates · not usable

What the engine reads

Transactions, as delivered

output/user_transactions.csv · one user, one row per event type
user (hashed)timestamp (UTC)currencyevent_kindamount_in_usd
6e3a9d0f522023-03-14 09:12:47EURfiat_deposit271.88
6e3a9d0f522023-03-14 09:40:05EUR_ETHexchange126.32
6e3a9d0f522023-03-15 18:22:31USDTcrypto_deposit64.47
6e3a9d0f522023-04-02 11:05:56ETH_YLD.ETHyield_subscription84.22
6e3a9d0f522023-05-19 07:48:13YLD.USDT_USDTyield_redemption53.37
6e3a9d0f522023-07-08 16:30:09BTCcrypto_withdrawal115.19

Exchanges after preparation

notebook · df_user_trans_exchange (4 random rows)
user (hashed)dateday_partcurrency_given (sell leg)currency_taken (buy leg)amount_in_usd
d40b6a2e912022-04-11earlyEURBTC36.80
7c5e13f8a02023-09-27lateEURETH683.47
f29a84c6b32024-06-14earlyEURUSDC356.92
18e7d0a5c22025-02-03lateEURSOL16.44

Daily prices

output/ohlc_rates.csv · 249,296 rows (ETH, first 3 days of the example)
datecurrencyopenhighlowcloseaverage (O+H+L+C)÷4
04.02.24ETH2,253.842,357.332,247.662,321.372,295.05
05.02.24ETH2,321.372,373.712,290.912,345.252,332.81
06.02.24ETH2,345.252,418.542,320.802,389.172,368.44

Still open in engine 2

  • Deposits and withdrawals are not scored yet. The notebook's last note says this “has to be done based on average monthly rate of currency”.
  • 39,260 subscriptions and redemptions in the yield and early-access products have been isolated but not analysed.
  • Fees, app activity and day part are attached to every trade but not used in any score.
  • An earlier version bucketed moves into terrible / bad / good / great and grouped users as “Clowns / Subaverage / Better / Artists”. It is commented out, and one leftover cell still fails with NameError.
From the deck

What the team recommended

The final presentation turned the onboarding findings into two changes and a six-week plan. This part is the deck's proposal; the code above does not compute it.

Phone mock-up of the onboarding checklist: set your language, intro video, contacts and identity, KYC survey video, crypto experience, with a round question-mark button and a Let's Get Started button.
Segment 1 · OnboardingThe checklist, with a help video behind the “?” button.
Segment 2 · Crash course

A guided path of seven lessons, announced as under an hour, ending with a reward on the first deposit.

  1. 101Introduction to the course
  2. 102Navigating the app
  3. 103How to make money
  4. 104When to sell
  5. 105External influences
  6. 106Growing with the app
  7. 107Certification quiz
  8. →Rewarded first deposit
The plan · six weeks
  1. Onboarding remodelWeeks 1–2
  2. Producing the courseWeeks 3–4
  3. Test and launchWeeks 5–6
Expected return
  • Faster, better onboarding
  • Better KYC data
  • More confident users
Investment
  • Remodelling the onboarding
  • A production team with YouTube experience
  • A first-deposit reward
The data

Who the users are

Sign-ups run from January 2022 to August 2025. France, Switzerland and the UK account for 52 % of registered users; 8,158 users have no country of residence.

Onboarding funnel

Users who reached each step, out of 58,458 registered

Two steps lose the most users: 11,127 answer the questionnaire but never complete onboarding, and 13,399 get verified but never deposit. Only 41 % of registered users make a first deposit.

How users arrived

Acquisition channel, registered users

Declared investment profile

Registered users

Two thirds never answered. Engine 1 counts them in the denominator of C, so countries where fewer people answer score lower on good profiles.

Files

FileRowsOne row isContent
csv_source/Main.csv58,458userProfile, onboarding step dates and times, acquisition channel and cost
csv_source/user_onboarding_stats.csv58,458userSame users with raw ISO timestamps
csv_source/acquisition_cost.csv58,458userAcquisition cost in USD
csv_source/fees_per_user.csv20,798userFees in months 1–12 after joining
input/user_transactions.csv1,745,717transaction41,152 users, Jan 2022 – Aug 2025
output/user_transactions.csv1,048,575transactionFirst 60 % of the file above, cut at Excel's row limit. Used by the notebook
input/daily_app_activity_per_user (1).csv1,048,575user-dayApp opens and page views. Also at Excel's row limit
output/ohlc_rates.csv249,296currency-dayOpen, high, low, close for 439 currencies, Mar 2020 – Nov 2025
output/master_merged.csv58,458userUsers joined with one activity, fee and transaction row each
input/Eco_Sav_Disp_INC%.csv28countrySaving rate, disposable income, coefficient E

Fees per user

csv_source/fees_per_user.csv · USD
user (hashed)month 1month 2month 3month 12
9b4e27c1d81.613.584.408.47
0f6a3e85b20.300.300.300.30
c71d5b9e400.450.451.036.05

Daily app activity

input/daily_app_activity_per_user (1).csv
user (hashed)dayopensmarkettabsdeposit
4a8f1d6c3708.03.233121
e25c90b7fa21.11.241000
6d13a7e4b902.07.247250
Known issues

What to fix, by impact

Changes the results

1 · Shifted market-share column in the country table

In country_algo.csv, Onboarded_%_Pays and every column computed from it are shifted down four rows from Germany onwards. The published top 5 is wrong. The corrected ranking is shown in engine 1.

2 · Sell legs get the wrong dates

df_user_trans_sell["date"] is filled from df_OHCL_rates["date"] instead of df_user_trans["date"], so sells are matched to unrelated price days by row index. This likely explains why only 97k sells are scored against 585k buys.

3 · Score signs need re-deriving

-N_day_%_change is positive when the price fell into the trade day. The buy score subtracts it, which rewards buying into a rise. The sell score adds the future change, which rewards a sale followed by a price rise. Decide the rule for each window, then fix the signs.

Limits coverage

4 · Data cut at Excel's row limit

The transactions copy and the app-activity file both stop at exactly 1,048,575 rows. The notebook sees only 60 % of the 1,745,717 raw transactions.

5 · Missing countries

8,158 users have no country, and about half of the transaction rows belong to users not in Main.csv. E only covers 28 European countries.

6 · master_merged.csv keeps one row per user

Activity and transaction columns come from one matching row, not totals. Its header (and new copy.csv's) has pip install pandas sqlalchemy pasted where verified_at should be.

Housekeeping

7 · Scripts point at the old folder

All scripts hard-code the project's previous location (…/ASchool_GVA/Bach_1_Sem_1/…), write to analysis.xlsx (now country_algo.xlsx), and merge+match.py reads a missing input/eco/ folder.

8 · Broken environment

The .venv lost its Python interpreter when the folder moved. The fallback conda Python has no openpyxl or seaborn.

Reproduce & next steps

Running it again

# from the project root
python3.11 -m venv .venv && source .venv/bin/activate
pip install pandas numpy matplotlib seaborn openpyxl ipykernel
  1. Fix the paths. Replace the hard-coded absolute paths with paths relative to the project root, for example Path(__file__).resolve().parents[1] / "csv_source" / "Main.csv".
  2. Engine 1. Run Avg_acquisition_cost_Pays.py, %_onboards_Pays.py, clients_checked_Pays_%.py, then %_good_profiles_Country. Add E and compute the scores as described above.
  3. Engine 2. Run OHCL_usertrans.ipynb top to bottom, skipping the cell that references df_sell_country_by_group_sorted.

Suggested next steps

  • Republish the country ranking with the corrected market share.
  • Fix the sell dates and the score signs, then re-run engine 2.
  • Use the full 1.7M-row transactions file in pandas instead of the Excel copy.
  • Set a minimum sample (for example 30 users) before ranking a country in either engine.
  • Add the unused signals: 12-month fees as a revenue proxy for LTV ÷ CAC per country, app engagement, use of the yield and early-access products.
  • Find economic data for the UK and Türkiye, both top-5 markets by volume.
Appendix

Project files

Folder structure
PathContents
csv_source/Cleaned source tables. Main.csv is the main user table.
input/Raw extracts: transactions, app activity, fees, economic coefficients.
eco_data_country/Saving rate and disposable income per country.
csv_scripts/Small pandas scripts, one metric each, for engine 1.
output/Country score table, merged user master, OHLC rates, trimmed transactions.
OHCL_usertrans.ipynbEngine 2 notebook.
merged_output.csvSaving rate joined with disposable income.
new copy.csvDuplicate of user_onboarding_stats.csv with a damaged header.
BDD4_CRYPTO_APP_PROJECT_SUMMARY.mdText version of this page.
Script reference
FileWhat it doesWrites to
Avg_acquisition_cost_Pays.pyAverage CAC per countryanalysis.xlsx · sheet “average cost per country”
%_onboards_Pays.pyAverage CAC and onboarding completion per countrysame sheet
clients_checked_Pays_%.pyOnboarded clients and their share of all clientssame sheet
%_good_profiles_CountryShare of advanced or expert profiles (no .py extension)same sheet
merge+match.pyJoins the economic coefficient onto the country tablemaster_merged_single_col.csv
convert_xls2_csv_(file_for_sheet).pyExports each sheet of country_algo.xlsx to CSVcsv_source/
index:col.pyPrints the column names of Main.csvconsole
Untitled-1.ipynbJoins saving rate and disposable incomemerged_output.csv
count%_miss_val.pyMissing-value matrix, left over from BDD #3missing_values_matrix.csv
new_tester.py, total_clients_Pays.pyEmpty—

Personal notes

In my own words

What I wrote about this project for my portfolio, arranged around the questions it answers.

Can an onboarding bottleneck be about confidence?

The project was to evaluate the quality of the app's onboarding. Once we had identified which part of it was the bottleneck, we were tasked to bring solutions.

We believed the numbers showed that clients were committed to entering the crypto market, but that once they had enough time to think, they lost confidence in the whole idea.

How do you test confidence with data?

First, we found some speedbumps in the onboarding layout and suggested asking for less data and fewer questions. Then, to prove our hypothesis, we took the dataset of the people who joined and created an algorithm that scored each move as good, medium or bad, based on the currency debited and credited, over several periods of time.

It was a relatively simple system, built with only two months of data science education, and it gave us the complete performance of the company's users.

So, are the users winners in the market?

No.

We found a fair answer to our question, and the answer was no.

What would bring their confidence back?

So we imagined a system that rewards users for watching the educational videos the company had already made. By doing so, it would bring more investment from clients and more wins per client on average, and an education funnel with rewards would cost less than the churn they were losing on acquisition.

  1. Watch the company's own videos
  2. Get rewarded for it
  3. Invest more
  4. More wins per client, on average

We could also identify the regions that needed it most, which made it possible to tailor the solution to a specific country.

How was it received?

They liked it, but the overall idea was badly communicated.

It was my first experience of translating a hard-coded algorithm for a non-mathematical, non-technical audience, and my first lesson in becoming the bridge between the technical side of a business and the non-technical one: operations, onboarding and strategy.

What did it teach me?

We learned to extend the search for causality and correlation further than the comfort zone, and to actually test it.

Mixing the engineering and business sides, we could aim our solution at the most valued segments in the most need, while being creative with the interface. A good example of what mixing business and data looks like.