excited to bring this account back to life!
when I started Spear in 2024, i was a computer science student just getting into DeFi and building basic bots
two years later, I’m a full-time engineer and spend a lot of my time researching trading strategies, building trading systems, and working with Rust
though finding edge in crypto is getting harder, i think crypto is one of the best sandboxes for learning quantitative trading and building trading systems. the barrier to entry is incredibly low, and it’s one of the few places where anyone can build, test, and compete
going to be shifting this account towards quant strategy research, HFT, and trading systems
if you’re interested in learning about or building this stuff too, follow along!
quant research 101: how do you backtest a market that barely has any historical data?
you will likely run into this problem if you have a thesis on a new / relatively illiquid market that you want to test
in the absence of significant historical data, one approach is:
- find a more mature market that you believe is closely related to the one you’re studying
- use regression analysis to estimate the relationship between the two over the limited history where they overlap
- apply that relationship to the older market’s historical data to generate synthetic history for the newer market
- backtest your strategies against that synthetic data
this introduces a lot of bias and the relationship might not hold across different market conditions. however, it’s better than no data!
you can use bootstrapping to stress-test different outcomes and account for some of that uncertainty as well
there is also edge in the effort it takes to do this, as you will have access to data that is not easily accessible without the above steps
I’m begging you, learn how Hyperliquid works
Perps, HIP-3, HIP-4, prediction markets, stocks and everything else onchain
This is where crypto is going whether you pay attention or not
i built a perps funding arbitrage strategy a couple months back and noticed some interesting things
our estimated round-trip execution costs were ~30 bps
over a 4-hour trade, that’s 7.5 bps/hour just to cover costs
so, i had to set a practical hurdle of ~13 bps/hour
which is actually a pretty large funding rate gap needed for profitability
depends heavily on the platforms, but goes to show how “delta-neutral” strategies often require slightly more alpha than you might think