Asfi Profile picture
Writing code to (someday) perform financial analysis at the speed of thought. Currently playing with a GraphRAG app for financial reports stored as PDFs
Sep 14 11 tweets 3 min read
My biggest challenge with DSPy has been letting go of the “how”, embracing the “what” and understanding the difference.

This thread describes my use case, pre DSPy state, post DSPy state and an example of what’s a “what” versus a “how”. 1. Use case

Tag each page of a financial report with this schema.

In a pre DSPy world I wrote extensive instructions on how to figure out which tag to apply + 7 or so examples. Image
Dec 17, 2022 25 tweets 9 min read
What is the Money View and how it can help you navigate the rise of stablecoins

- What and Why?
- Money vs Credit
- Hierarchy of balance sheets
- 3 Prices of Money
- Fed origin story
- Eurodollar market
- Changing role of Fed
- Stablecoins
- Resources Motivation to write

I write to learn. I’m almost 40. Spent my career in M&A, helped build a Tower Co and taught financial modeling. I thought I understood finance and capital markets well.

Realized recently my understanding of our monetary system is awful. I want to fix that.
Aug 18, 2022 11 tweets 4 min read
I was going through older messages in @AmpleforthOrg discord and stumbled upon a really fun resource that’s no longer on their website: The Red Book.

web.archive.org/web/2020041205…

Each time I study AMPL, I’m impressed by the academic rigor that went into creating this protocol. AMPL critics say they don’t see any point of moving all volatility to supply and the idea of a protocol dipping into your wallet to remove tokens is just weird.

But what’s the thought process that led them to this design?

Let’s dig in.
Jul 27, 2022 11 tweets 3 min read
And the folks in developing countries said:

“Just give us ‘USD as a service’ that lets us send our money globally without jumping through 10 hoops”

Then Ethereum came along and made this possible.

The rich in developed countries said:

“Where’s the use case, it’s all a scam” For context sending dollars out of places like Nigeria, Turkey and Pakistan is a real pain.

Most of these countries have dwindling dollar reserves. $ reserves going down cause their currencies to depreciate.

Their central banks then impose limits on daily remittances.
Jul 25, 2022 12 tweets 4 min read
Imagine a game that lets you bet on and earn from $ETH Volatility.

Here’s how it works:

- Deposit ETH and mint an equal $ amount of a hard-pegged stablecoin called DYAD

- If ETH price rises, more DYAD is minted and distributed to 1 of 10,000 NFTs (remember, its a hard peg) - If ETH price falls, DYAD in NFTs is burnt to ensure DYAD supply = protocol TVL

- DYAD distribution depends on how much XP as % of total XP is inside each NFT

- The NFT with the highest XP % will get disproportionate upside (2-3x) and downside (0.3-0.6x) Image
Jun 1, 2022 16 tweets 6 min read
What is @reflexerfinance creating and why does it matter?
- What is $RAI?
- How is $RAI created?
- How stable is $RAI?
- What determines it’s stability?
- What requires governance?
- What is a PID controller?
- Where will price stabilize?
- $AMPL versus $RAI
- $OHM Relevance 1a. What is $RAI?

An unpegged crypto currency that seems to have stabilized at the $3 mark.

Interestingly, $RAI has no peg and simply oscillates between:
• Market Price
• Redemption Price

Redemption Price was set at $3.14 at launch but it could have been any other number.