Read the screenplay: FANNIEGATE — $7 trillion. 17 years. The biggest fraud in American capital markets.

Based on Real Events

PRINCIPLES

The Machine of Truth

A middle-class kid from Long Island builds the world's largest hedge fund by codifying human behavior into algorithms and creating the most radically transparent workplace in history — a place where every meeting is recorded, every decision is analyzed, and every person, including the founder, must submit to the machine of truth he's built.

Written by Glen Bradford • With AI Assistance (Claude by Anthropic)

Disclaimer: This screenplay was generated with AI assistance (Claude by Anthropic) and has not been fully fact-checked. While based on real events, some dialogue is dramatized, certain details may be inaccurate, and timelines may be compressed for narrative purposes. This is a creative work, not a legal or historical document.

Cast

Christian Bale

as Ray Dalio

Founder of Bridgewater Associates, obsessive systematizer of truth and human behavior

Javier Bardem

as Ray Dalio (1982)

The younger Ray who bet everything on a depression that never came and lost it all

Florence Pugh

as Elena Vasquez

A brilliant young Bridgewater analyst, composite character, who must survive radical transparency

Mark Ruffalo

as Bob Prince

Co-CIO of Bridgewater, Ray's intellectual sparring partner and closest ally

Cate Blanchett

as Barbara Dalio

Ray's wife, the human center of gravity for a man who lives inside systems

ONE

THE EDUCATION

EXT. MANHASSET LINKS GOLF COURSE, LONG ISLAND — DAY (1960)

A sun-drenched afternoon. Sprinklers hiss across immaculate fairways. We see the world from knee-height — the perspective of an eleven-year-old boy lugging a golf bag that weighs nearly as much as he does. This is YOUNG RAY DALIO, skinny, observant, his eyes tracking everything.

He caddies for a WALL STREET EXECUTIVE, mid-50s, who is talking to his playing partner about a stock while lining up a putt.

WALL STREET EXECUTIVE

The thing about markets is — everyone thinks they're rational. They're not. Markets are just people. And people are machines that run on emotion.

Young Ray's eyes widen. He files this away. We can almost see the gears turning.

YOUNG RAY

(to himself, barely audible)

Machines...

RAY DALIO WOULD REMEMBER THIS MOMENT FOR THE REST OF HIS LIFE.

CUT TO:

INT. DALIO FAMILY KITCHEN, MANHASSET — EVENING (1961)

A modest middle-class kitchen. RAY'S FATHER, a jazz musician, sits at the table going over bills. RAY'S MOTHER washes dishes. Young Ray, now 12, bursts in holding a newspaper folded to the stock pages.

YOUNG RAY

Dad, I want to buy a stock.

RAY'S FATHER

(not looking up)

You're twelve.

YOUNG RAY

I have three hundred dollars from caddying. There's a company called Northeast Airlines. It's five dollars a share. It's the only airline I can afford.

RAY'S FATHER

That's not an investment thesis, Ray.

YOUNG RAY

It's the only one under five dollars. If it goes up, I make money. If it goes down, I learn something. Either way I win.

His father looks up for the first time. There's something in his son's eyes — not greed, but a pure, almost clinical curiosity.

RAY'S FATHER

(sighing)

I'll drive you to the broker on Saturday.

NORTHEAST AIRLINES TRIPLED. IT WAS ACQUIRED BY ANOTHER COMPANY. RAY THOUGHT HE WAS A GENIUS. HE WAS WRONG ABOUT EVERYTHING EXCEPT THE OUTCOME.

CUT TO:

INT. HARVARD BUSINESS SCHOOL, CLASSROOM — DAY (1971)

JAVIER BARDEM as YOUNG RAY DALIO, now in his early twenties. Handsome, intense, slightly out of place among the prep-school polish of his classmates. A PROFESSOR leads a case discussion.

PROFESSOR

The efficient market hypothesis tells us that stock prices reflect all available information. Mr. Dalio, do you agree?

YOUNG RAY

(standing)

No. Respectfully, Professor, that's insane.

Nervous laughter from the class. The Professor raises an eyebrow.

YOUNG RAY

Markets aren't efficient. They're a reflection of human psychology. And human psychology has patterns. Fear, greed, overconfidence — they repeat. If you can map those patterns, you can predict what happens next. Not perfectly. But better than the people who think it's all random.

PROFESSOR

And you think you can build a system that maps human psychology?

YOUNG RAY

(with absolute certainty)

I think I have to try.

CUT TO:

INT. CBOE TRADING FLOOR, CHICAGO — DAY (1973)

CHAOS. The commodities trading floor is a pit of screaming men, hand signals, crumpled paper. Young Ray stands in the middle of it, sweating through his shirt, eyes alive with electric intensity.

He trades cattle futures, grain, oil. He watches the other traders — not the screens, the TRADERS. Their faces. Their body language. When they lean forward. When they hesitate.

YOUNG RAY

(V.O.)

I realized something on that floor that changed everything. The market wasn't a machine. It was a room full of people, each one running their own broken software. And if I could debug the software — if I could understand WHY they made the decisions they made — I could see what was coming before they did.

He pulls out a small notebook and begins writing furiously between trades. Decision rules. If-then statements. The first primitive version of what will become Bridgewater's algorithms.

CUT TO:

EXT. CENTRAL PARK, NEW YORK — GOLDEN HOUR (1974)

Young Ray walks with BARBARA (Cate Blanchett, made younger with subtle de-aging). They're clearly falling in love. She's warm, grounded, amused by his intensity.

YOUNG RAY

I want to start my own firm. Trade currencies, bonds, commodities. But differently. I want to build a machine — a set of principles — that tells me what to do in every situation. Remove the emotion. Just follow the logic.

BARBARA

That sounds lonely.

YOUNG RAY

(stopping, turning to her)

No, that's the thing. It's the opposite. If the machine handles the decisions, then you're free. Free to actually think. Free to actually feel. The machine does the worrying for you.

BARBARA

(smiling gently)

Ray, you're describing a person who builds a prison and calls it freedom.

He stares at her. This line will haunt him for decades. He doesn't know it yet.

CUT TO:

TWO

BRIDGEWATER

INT. RAY DALIO'S TWO-BEDROOM APARTMENT, NEW YORK — MORNING (1975)

A tiny apartment. Papers everywhere. A single desk with a phone and a legal pad. Young Ray sits in his underwear, phone wedged between ear and shoulder, making trades. Barbara, visibly pregnant, steps over stacks of research reports to bring him coffee.

BRIDGEWATER ASSOCIATES WAS FOUNDED IN 1975 IN A TWO-BEDROOM APARTMENT IN NEW YORK CITY.

YOUNG RAY

(on the phone)

Yes, I'm the analyst. I'm also the trader, the compliance officer, and the janitor. The firm name? Bridgewater Associates. The “associates” part is aspirational.

Barbara laughs from the kitchen. He covers the mouthpiece, grins at her.

BARBARA

You forgot chief coffee maker. That's me.

CUT TO:

INT. BRIDGEWATER'S FIRST REAL OFFICE, WESTPORT, CT — DAY (1981)

A slightly larger space now. A few employees. Whiteboards covered in decision trees. Young Ray is in his element — pacing, talking fast, drawing connections on the board that no one else can see.

YOUNG RAY

Look at the debt cycle. Mexico. Argentina. Poland. They've all borrowed in dollars they can't print. When the dollar strengthens — and it WILL strengthen — they default. And when they default, the American banks holding that debt go under. This isn't a theory. This is arithmetic.

BOB PRINCE

(younger, skeptical)

You're saying we're heading for a depression?

YOUNG RAY

(with terrifying conviction)

I'm saying it's already happening. The numbers are the numbers.

CUT TO:

INT. CONGRESSIONAL HEARING ROOM, WASHINGTON D.C. — DAY (1982)

Young Ray testifies before Congress. He's confident, almost cocky. He tells them the economy is heading for a depression. He's on television. He's quotable. He believes, with every fiber of his being, that he is right.

YOUNG RAY

We are on the brink of an economic depression. The debt levels are unsustainable. The math is clear.

HE WAS WRONG.

SMASH CUT TO:

INT. BRIDGEWATER OFFICE — NIGHT (1982)

The office is nearly empty. Desks cleared. Employees let go. Young Ray sits alone in the dark, illuminated only by a single desk lamp. Papers strewn everywhere. The phone rings. He doesn't answer it.

He picks up the phone, dials. His hand is shaking.

YOUNG RAY

(voice cracking)

Dad? It's Ray. I... I need to borrow four thousand dollars. I know. I know. I'm sorry.

He hangs up. Puts his head in his hands. A long, terrible silence.

RAY DALIO (V.O.) (breaking the fourth wall)

I had been so arrogant. So certain. I'd confused being smart with being right. And the market taught me the most important lesson of my life: it doesn't matter how good your logic is if your premises are wrong. I had to choose — was I going to keep being the guy who was always certain? Or was I going to become the guy who was always asking, “What am I missing?”

CUT TO:

INT. DALIO HOME, WILTON, CT — KITCHEN — LATE NIGHT (1982)

Ray sits at the kitchen table. The house is quiet — the boys are asleep. Barbara sits across from him. Two mugs of tea between them. He looks hollowed out.

YOUNG RAY

I was wrong about everything. I lost people their money. I lost our money. I had to let everyone go.

BARBARA

Not everything. You weren't wrong about me.

He looks up at her. She takes his hand.

BARBARA

You'll figure it out. You always figure it out. But this time, maybe figure it out a little more quietly.

Despite everything, he almost smiles.

YOUNG RAY

I need to build a system. Not just for trading. For thinking. A set of principles that prevents me from ever being this wrong again. That prevents anyone from being this wrong.

BARBARA

Just promise me one thing.

YOUNG RAY

What?

BARBARA

That the system has room for people. Not just logic. People.

He nods. But we can see — he's already somewhere else. Already building.

CUT TO:

MONTAGE — THE REBUILDING (1983-1990)

Quick cuts set to minimalist piano music:

— Ray at his desk, writing in a notebook. Each page is a PRINCIPLE. “Pain + Reflection = Progress.” “Be radically open-minded.” “Believability-weight your decisions.”

— New employees being hired, one by one. Each one is handed a printed document: “PRINCIPLES.”

— Ray in meetings, now different. He LISTENS. When someone disagrees with him, instead of arguing, he writes it down. He codes it.

— Computer screens filling with algorithmic models. The primitive decision trees from the apartment evolving into sophisticated systems.

— The Pure Alpha fund launching. The returns ticking upward. 18%. 22%. Consistently.

BRIDGEWATER GREW FROM ONE MAN IN AN APARTMENT TO THE LARGEST HEDGE FUND IN THE WORLD. THE SECRET WASN'T THE ALGORITHM. IT WAS THE CULTURE.

CUT TO:

THREE

THE MACHINE

INT. BRIDGEWATER ASSOCIATES, WESTPORT, CT — MAIN FLOOR — DAY (2005)

CHRISTIAN BALE as RAY DALIO now. Older, leaner, more controlled. The office is unlike any workplace on earth. Cameras everywhere. Recording equipment in every room. Employees with iPads, rating each other in real time.

ELENA VASQUEZ (Florence Pugh), 26, Harvard MBA, walks in for her first day. She's sharp, ambitious, slightly terrified. A SENIOR ASSOCIATE gives her the tour.

SENIOR ASSOCIATE

Every meeting is recorded. Audio and video. Anyone in the company can access any recording. If you say something in a meeting, you own it forever. There's no “off the record.”

ELENA

Every meeting?

SENIOR ASSOCIATE

Every meeting. Including this one.

Elena glances up. A small camera blinks red in the corner.

SENIOR ASSOCIATE

Welcome to radical transparency.

CUT TO:

INT. BRIDGEWATER — CONFERENCE ROOM — DAY (2005)

Elena's first investment committee meeting. Ray sits at the head of the table. BOB PRINCE (Mark Ruffalo) is beside him. Twenty analysts around the table. iPads out. The DOT COLLECTOR app is running — a real-time feedback system where participants rate each other on various attributes during the meeting.

RAY

Elena. You're new. What do you think about the China thesis?

Elena freezes. Everyone is looking at her. She glances at her iPad — she can see that people are already rating her on “willingness to speak up.”

ELENA

I... I think the thesis is strong, but the timeline is aggressive. The data on Chinese consumer debt suggests —

RAY

(cutting her off)

Don't tell me what you think I want to hear. Tell me what you actually think. What's your gut say?

ELENA

(a beat, then)

My gut says you're wrong about the timeline by two years.

Silence. Everyone watches Ray. His face is unreadable. Then —

RAY

Good. Now tell me why. And be specific.

Elena exhales. On her iPad, her “willingness to speak up” score ticks upward. Bob Prince gives her an almost imperceptible nod.

CUT TO:

INT. BRIDGEWATER — RAY'S OFFICE — LATE AFTERNOON (2005)

Ray reviews Dot Collector data on his screen. Hundreds of data points from today's meetings. Each person rated by every other person on dozens of attributes. He sees patterns. He sees who's afraid. Who's honest. Who's coasting.

Bob Prince enters.

BOB

The new analyst. Elena. She told you that you were wrong in front of the entire investment committee.

RAY

(not looking up)

I know. It was the best thing that happened all day.

BOB

She might be right about the timeline.

RAY

She IS right about the timeline. That's not the point. The point is that she said it. Most people here have been trained their entire lives to agree with authority. School, parents, bosses — the whole system rewards agreement. I'm trying to build a place that rewards disagreement. Do you know how hard that is?

BOB

I've worked here for fifteen years, Ray. Yes. I know how hard that is.

Ray finally looks up. There's something vulnerable in his expression.

RAY

Do you think it works? Honestly?

BOB

I think it works for the fund. I'm less sure it works for the people.

Ray considers this. Nods slowly. Then goes back to the data.

CUT TO:

INT. BRIDGEWATER — ELENA'S DESK — NIGHT (2006)

Elena sits alone, staring at her Dot Collector feedback. The building is nearly empty. Her scores are mixed: high on analytical rigor, low on “openness to feedback.” She reads a note from a colleague: “Elena is defensive when challenged. She needs to separate her ego from her ideas.”

She picks up the phone. Calls her mother.

ELENA

Mama, I work at a place where my boss records every conversation, everyone rates everyone else on an app, and today I got a 3 out of 10 on “humility” from a guy who started three weeks before me.

Beat.

ELENA

No, it's not a cult. It's a hedge fund. I think. Sometimes I can't tell the difference.

She hangs up. Looks at the feedback again. Then, slowly, deliberately, she opens a new document and begins writing: “Things I need to work on.” The Bridgewater machine is getting inside her.

CUT TO:

INT. BRIDGEWATER — ALL-HANDS MEETING — DAY (2007)

Ray stands before the entire company. Screens behind him show economic data. Housing prices. Mortgage default rates. CDO structures. He's calm, measured, but there's an undercurrent of urgency.

RAY

I'm going to show you something, and I need you to tell me what you see. Not what you think I see. What YOU see.

He clicks through slides. Subprime mortgage data. Leverage ratios at major banks. The growing divergence between housing prices and income.

RAY

This is a debt crisis. The same pattern I saw in 1982 — too much debt, denominated in something the borrowers can't control. Except this time it's not Mexico and Argentina. It's American homeowners. And the scale is...

He pauses. For the first time, we see something that might be fear.

RAY

The scale is unlike anything we've ever seen.

ELENA

(from the audience)

How confident are you?

Ray looks at her. A flicker of 1982 crosses his face. The memory of being catastrophically wrong.

RAY

Sixty percent. Which means there's a forty percent chance I'm wrong. And that's exactly why we need to stress-test every assumption. I want everyone in this room to try to prove me wrong. Please. Try.

RAY (V.O.) (breaking the fourth wall)

In 1982, I was a hundred percent sure and I was wrong. In 2007, I was sixty percent sure and I was right. The difference wasn't intelligence. It was humility. The machine I'd built — the culture, the principles, the system — it had finally taught me the thing I couldn't teach myself: how to be uncertain.

CUT TO:

INT. BRIDGEWATER — TRADING FLOOR — SEPTEMBER 2008

Lehman Brothers has just collapsed. On every screen: RED. Markets in freefall. The room is tense, but not panicked. Because Bridgewater is on the right side of this trade. They positioned for exactly this scenario.

Ray stands in the middle of the floor, watching the screens. Bob is beside him.

BOB

Pure Alpha is up fourteen percent. While everyone else is —

RAY

(quietly)

Don't celebrate. People are losing their homes.

He walks to the window. Outside, it's a beautiful autumn day. Leaves changing color. A world that doesn't know yet how bad it's going to get.

RAY

I spent twenty-six years building a machine to predict exactly this moment. And now that it's here... I wish I'd been wrong.

IN 2008, WHILE THE AVERAGE HEDGE FUND LOST 19%, BRIDGEWATER'S PURE ALPHA FUND GAINED 9.5%. THE FUND WOULD GO ON TO MANAGE OVER $150 BILLION.

CUT TO:

INT. BRIDGEWATER — ELENA'S OFFICE — NIGHT (2008)

Elena, now a senior analyst, sits in her office surrounded by screens showing the aftermath. She's been here for three years. The radical transparency has changed her. She's harder, more precise, but also more honest — with others and with herself.

Ray appears in her doorway.

RAY

You were right about the China timeline, by the way. Three years ago. You said I was off by two years. You were off by six months.

ELENA

You remember that?

RAY

Everything is recorded, Elena. I remember everything.

She can't tell if this is warm or unsettling. Maybe it's both.

RAY

How do you feel about what we did? Getting this right while everyone else got it wrong?

ELENA

(carefully)

I feel like the machine worked. And I feel like a lot of people are suffering because we were right.

RAY

That's the correct answer. Both things are true at the same time. Most people can't hold two contradictory truths simultaneously. You can. That's why you're still here.

He leaves. Elena sits in the silence. On her desk, a framed photo of her family. Next to it, a dog-eared copy of Ray's Principles document.

CUT TO:

FOUR

THE TRANSITION

INT. BRIDGEWATER — RAY'S OFFICE — DAY (2011)

Ray sits at his desk. On his screen: a document titled “PRINCIPLES” — but now it's not a corporate memo. It's a book manuscript. 500 pages. He's been writing it for years, codifying everything he's learned into a universal system for decision-making.

Barbara calls on the phone.

BARBARA

(on phone)

You missed dinner again.

RAY

I'm writing the book.

BARBARA

You've been writing the book for ten years.

RAY

Because it has to be right. Every principle has to be tested. I can't just tell people what I believe — I have to show them the system. The logic tree. The decision matrix. If I just write “be honest,” it's a fortune cookie. I need to write HOW to be honest. WHEN to be honest. What to do when honesty hurts.

BARBARA

(gently)

Ray. Come home. Be honest with your wife about the fact that you'd rather be at work than at dinner.

A long pause.

RAY

That's... a fair point.

BARBARA

Write that one down. Principle number four hundred and twelve: your wife is usually right.

He laughs. A real laugh. The kind the machine can't produce.

CUT TO:

INT. BRIDGEWATER — BOARDROOM — DAY (2017)

A formal meeting. Ray at the head of a long table. Bob Prince. Elena, now a senior leader. The board of directors. Lawyers. The topic: succession. Ray's stepping down as co-CIO.

RAY

I've spent forty-two years building a machine that doesn't need me. The whole point of systematizing decisions is that the system outlasts the individual. If Bridgewater can't function without me, then everything I've built is a fraud.

BOB

Ray, with all due respect — the system IS you. Every principle, every algorithm, every cultural norm in this building came from your brain. You're not handing over a machine. You're handing over a mirror.

Ray stares at Bob. This is the most honest thing Bob has ever said to him. The Dot Collector app pings on everyone's iPad. Bob's “courage” score jumps.

RAY

(slowly)

Then the mirror needs to learn to reflect without me standing in front of it.

CUT TO:

INT. BRIDGEWATER — HALLWAY — MOMENTS LATER (2017)

Ray walks down the hallway alone. Past the cameras. Past the recording equipment. Past the screens showing real-time data from every market on earth. He stops at a glass wall overlooking the main trading floor.

Below him, hundreds of people working. The machine humming. The system functioning.

Elena appears beside him.

ELENA

Can I ask you something?

RAY

Everything is recorded.

ELENA

I know. I'm asking anyway. Are you afraid?

A long pause. The machine hums. The cameras record.

RAY

I built a system for making decisions. I built a system for managing people. I built a system for understanding markets. But there's one thing I never built a system for.

ELENA

What's that?

RAY

Letting go.

He stands there, looking down at the machine he built. The machine that doesn't need him. The machine that was always, in some sense, a way of making himself unnecessary.

CUT TO:

INT. DALIO HOME, GREENWICH, CT — STUDY — NIGHT (2017)

Ray sits in his study at home. Books everywhere. A beautiful room. Barbara brings him tea and sits down across from him. The same positions as the kitchen scene in 1982, but now the kitchen table is a mahogany desk, and the tea is in porcelain.

RAY

Do you remember what you said to me? In Central Park? Before any of this?

BARBARA

I said a lot of things in Central Park.

RAY

You said I was building a prison and calling it freedom.

BARBARA

(softly)

I remember.

RAY

Were you right?

Barbara looks at him for a long time. Forty-three years of marriage in that look.

BARBARA

I think you built something extraordinary. I think you helped a lot of people think more clearly. I think the fund speaks for itself. But I also think... you spent so much time perfecting the machine that you sometimes forgot you weren't one.

Ray nods. His eyes are wet. The great systematizer, undone by the one variable he could never fully control: his own humanity.

RAY

Pain plus reflection equals progress. That's the principle. But the principle doesn't tell you what to do with the progress once you have it. It doesn't tell you what to do when the pain is just... missing someone. Missing the life you were too busy optimizing to live.

BARBARA

So what are you going to do?

RAY

(the faintest smile)

I'm going to write that down. And then I'm going to come home for dinner.

CUT TO:

EXT. BRIDGEWATER CAMPUS — DAWN (2018)

Early morning. Mist over the Connecticut woods that surround the Bridgewater campus. Ray walks alone through the grounds. He's dressed casually. No suit. No tie. Just a man walking.

He passes the main building. Through the glass, he can see the early arrivals already at their desks. The machine running. The system functioning. Without him.

RAY

(V.O.)

I spent my life trying to understand the machine. The economic machine. The human machine. The decision-making machine. And in the end, the most important thing I learned was the simplest: the machine is not the point. The machine is a tool. The point is what you do with the time the machine gives you.

He walks past the building. Keeps walking. The mist swallows him.

CUT TO:

INT. BOOKSTORE — DAY (2017)

A Barnes & Noble. A display table stacked high with copies of “PRINCIPLES: Life and Work” by Ray Dalio. A line of people stretches out the door, waiting for him to sign their copies.

Ray sits at the signing table. One by one, people come through. A young woman — early twenties, clearly nervous — hands him her copy.

YOUNG WOMAN

Mr. Dalio, your book changed my life. I used to be afraid of making mistakes. Now I see them as data points.

Ray pauses. He looks at her — really looks at her.

RAY

Can I tell you something that's not in the book?

YOUNG WOMAN

Of course.

RAY

Mistakes aren't just data points. They're also pain. And the pain matters. Don't optimize the pain away. Feel it. Then reflect. Then progress. In that order.

He signs her book. She walks away, clutching it.

Ray watches her go. Then he picks up his pen and, on a napkin, writes one more principle:

“THE GREATEST PRINCIPLE IS KNOWING THAT NO PRINCIPLE IS COMPLETE.”

FADE TO BLACK.

BRIDGEWATER ASSOCIATES MANAGES APPROXIMATELY $150 BILLION IN ASSETS. RAY DALIO'S BOOK “PRINCIPLES” HAS SOLD OVER 5 MILLION COPIES WORLDWIDE. THE DOT COLLECTOR APP IS STILL USED IN EVERY MEETING AT BRIDGEWATER. RAY AND BARBARA DALIO HAVE BEEN MARRIED SINCE 1977. THEY HAVE FOUR SONS. THROUGH THE DALIO FOUNDATION, THEY HAVE DONATED OVER $4 BILLION TO EDUCATION, OCEAN EXPLORATION, AND MENTAL HEALTH. WHEN ASKED IF HE REGRETS ANYTHING, RAY DALIO SAID: “I REGRET NOT BEING WRONG MORE OFTEN. EVERY TIME I WAS WRONG, I LEARNED SOMETHING.”

Would you watch this movie?

Vote if you think Ray Dalio's story should get produced.

Leave feedback

0/500 characters

More on Ray Dalio

Continue Exploring

Return to Ray Dalio's full profile or browse all 102 of the world's wealthiest people.