crypto_hades Profile Banner
rbit Profile
rbit

@crypto_hades

Followers
15K
Following
19K
Media
131
Statuses
2K

Quant trading. In crypto since 2011. HFT, statarb.

Joined September 2019
Don't wanna be here? Send us removal request.
@crypto_hades
rbit
4 years
1/x Today it’s officially more than 10 years since I started using crypto. A decade! It looks like yesterday. A small thread about time $BTC
Tweet media one
18
17
177
@crypto_hades
rbit
21 days
when I eventually quit trading at some point I would love to work on a project like this.
@TansuYegen
Tansu Yegen
21 days
Dyson is now growing strawberries with robots, spinning trays and UV lights, making farming super smart and fun 🍓
15
1
160
@crypto_hades
rbit
24 days
RT @quantymacro: discretionary view, quantitative portfolio for thematic brypto long/short. probs one of the "harder" articles to write abo….
0
134
0
@crypto_hades
rbit
1 month
this is my quant.
@LacyHimself
FaZe Lacy
1 month
if i’m going 100 mph does that mean i can go 100 miles in an hour?.
1
1
65
@crypto_hades
rbit
2 months
Some scammer is impersonating me. Please report @_crypto_hades
Tweet media one
1
0
22
@crypto_hades
rbit
2 months
new just dropped boys.
@NickTimiraos
Nick Timiraos
2 months
Iraq was a minor market for Visa and Mastercard a few years ago, generating $50 million a month or less in cross-border transactions. Then it exploded to around $1.5 billion in April 2023, a 2900% increase. What changed? Iraqi militia groups figured out how to squeeze dollars on.
0
0
24
@crypto_hades
rbit
2 months
Ops, forgot the unit tests folder: +8600 lines.
3
0
59
@crypto_hades
rbit
2 months
DISCLAIMER: code quantity DOES NOT MEAN code quality! In fact often the opposite! Code quality is derived from the fact that I traded this successfully, did 0 maintenance over the last year and had 0 downtime or crashes in the whole period.
6
0
122
@crypto_hades
rbit
2 months
So, don’t be lazy and go quote some markets!.
3
2
69
@crypto_hades
rbit
2 months
Writing these 60k lines took me about 3 weeks, averaging a bit over 3k lines a day, + time for testing. With today’s AI tools I think I could’ve done 5k lines a day or more.
3
0
63
@crypto_hades
rbit
2 months
. exchange, to the research, strategy planning, execution, analysis, management, and taxes. The infra that I use for my high capacity strategies, which is mostly C++ for the operations and mostly Python for the research/modelling/analytics, is MUCH bigger.
1
1
65
@crypto_hades
rbit
2 months
There you go! 60k lines. Nothing crazy, no fancy ML models, I didn’t count any markdown or config json files, its mostly Python. As you can see, it’s not a crazy number to get to once you have a complete infrastructure that takes you from the very first packet received from the. .
1
0
66
@crypto_hades
rbit
2 months
Now add in all the small modules such as math utils, rate limiters, server monitoring scripts (to monitor RAM, CPU usage, disk space, send me alerts if anything goes wrong, etc etc), and that runs up to another 3-4k lines (many small files, hard to count).
1
0
54
@crypto_hades
rbit
2 months
We are at 55600 lines. I also have a script that analyses some of the exchange statistics (volumes, spreads etc), to keep track of how I’m doing relative to how the venue itself is doing, if my performance is correlated to the exchange growing, etc. That’s another 1800 lines.
1
0
52
@crypto_hades
rbit
2 months
So add in 2700 lines to get, parse and store all the necessary data, + 3700 lines to analyse and cross-reference everything and spit out some reports and CSVs for my accountant. 6400 lines.
1
0
50
@crypto_hades
rbit
2 months
Now, I want to make sure I pay the right amount in taxes for all of this. I already log my trades in real-time, but I need to double check with the exchange’s historical data too to make sure everything is correct.
2
0
54
@crypto_hades
rbit
2 months
So, add in logging via Grafana/Discord and in-flight settings changes via Telegram so I can push them easily from my phone: 6500 more lines. I’ll admit this one is a bit overkill, but I wanted it to be nice to use since I was traveling for 4 months. We are at 49100 lines.
2
1
68
@crypto_hades
rbit
2 months
So, now we need to execute these trades, and the OMS is around 2600 lines. We are at 41600. Now, you probably want to keep track of what your infra is doing and how, and have control over it….
1
0
59
@crypto_hades
rbit
2 months
Then you have to add in a whole bunch of strategy utilities, from processes that handle the inventory hedging, settings files, utilities used to compute all sorts of stuff… Total: 8500 more lines.
1
0
57
@crypto_hades
rbit
2 months
To be exact, about half of those lines are for post trade-analysis. So we haven’t placed a trade yet and we are at 28500 lines. Now, the main strategy code: 2993 lines, + 2500 lines of pricing.
1
0
58
@crypto_hades
rbit
2 months
So are already at 17000 lines and we haven’t done anything yet. Now we can start doing some research, which I use Jupyter notebooks for: those run up to 11500 lines (after stripout, of course, I’m not leaving any notebook output in the commits).
2
0
59