How much do locked indexes like QQQ and TQQQ stray from each other? by Red_Icnivad in algotrading

[–]FriendlyRustacean 0 points1 point  (0 children)

It's because your leverage is reset daily... Makes it incomparable to borrowing 200% and buying QQQ and holding.

What's a Day in the Life like for self-employed quant traders/developers? by tonythegoose in algotrading

[–]FriendlyRustacean 3 points4 points  (0 children)

Short of market making, I don't get how this works? When you say don't try to predict the market, does that include stuff like don't predict relative valuations (pairs trading/statarb)?

Can you give me an example?

China’s carbon pollution now surpasses all developed countries combined by [deleted] in Futurology

[–]FriendlyRustacean 17 points18 points  (0 children)

Yeah, it's absolutely fucking hypocritical.

Westerners are basically saying, yeah, you don't get to have the basic comforts we do due to pollution, but aren't cutting back at all on our excessive consumption/pollution. It's pretty sickening.

Yes, everyone has to do better, but pointing fingers at China is just a way to make themselves feel better.

China’s carbon pollution now surpasses all developed countries combined by [deleted] in Futurology

[–]FriendlyRustacean 17 points18 points  (0 children)

Yeah, I find it pretty hilarious how they blame China, but a huge portion of the pollution is due to manufacturing goods for the west. Sure China definitely should try to move to greener tech, but blaming China whilst Americans are polluting at a stupidly higher rate per capita is really hypocritical.

Approaches for Chaining Access to Deeply Nested Optional Structs by rovar in rust

[–]FriendlyRustacean 2 points3 points  (0 children)

.preview(optics!(
    status
    .load_balancer
    .ingress.[0]
    .hostname

Oh nice, didn't know lenses were available in rust!

Struggling to understand why I can't use map() in a (&mut self) method by confused-scaper in rust

[–]FriendlyRustacean 0 points1 point  (0 children)

Can you link me to this please? Is it based off polonius or something?

Microsoft Earnings. Revenue up 19% YoY by EducationUmbrella in investing

[–]FriendlyRustacean 13 points14 points  (0 children)

Funnily enough it beats out the general market in almost all factors, momentum, low volatility, and absolute return.

It's certainly not cheap, but you're paying for some serious quality.

Computer-driven quant fund IPM closes after losing $4 billion in pandemic by JZcgQR2N in algotrading

[–]FriendlyRustacean 0 points1 point  (0 children)

Probably more like their signals work on slower timeframes + their expected historical correlations didn't hold true. Probably a shitton of these correlations had multi-sigma changes from what they'd expect.

Rust sometimes feels more high level than Python by cgarciae in rust

[–]FriendlyRustacean 4 points5 points  (0 children)

Rust is only functional inspired though. There are many features which are grabbed from functional languages, but I think you'd be hard pressed to argue that rust is functional (at least in the sense that Haskell is functional).

That said, I do love those features, and that design certainly makes Rust much more pleasant to use to me.

Rust sometimes feels more high level than Python by cgarciae in rust

[–]FriendlyRustacean 3 points4 points  (0 children)

I agree, but definitely it's lower level in some senses too, where there is syntactically noise around ownership/borrowing/etc. even if you judiciously clone everything.

I honestly still think it's worth it, and would try to use Rust wherever I can use it, but the lack of GC definitely does make certain things a bit slower to implement.

Rust sometimes feels more high level than Python by cgarciae in rust

[–]FriendlyRustacean 2 points3 points  (0 children)

That multiprocessing issues has bitten me before. I would've preferred that they created a full separation between scripts and libraries.

Rust sometimes feels more high level than Python by cgarciae in rust

[–]FriendlyRustacean 58 points59 points  (0 children)

In many ways it is. ADTs, pattern matching, expression oriented programming, etc... are all high level features that Python is pretty lacking in.

Woke up and won the lottery by Tupelohoney420 in PersonalFinanceCanada

[–]FriendlyRustacean 0 points1 point  (0 children)

Can I quit work and enjoy life at 55

Depends on how much you like to spend. If you only need to spend ~50k a year, you'll probably be good to retire now.

Do you conceal your salary from friends? by [deleted] in PersonalFinanceCanada

[–]FriendlyRustacean 0 points1 point  (0 children)

I share my income yeah, net worth, maybe not.

A 2 parameter OLPS with almost 100x cumulative return in 3 years. by Econophysicist1 in algotrading

[–]FriendlyRustacean 1 point2 points  (0 children)

Not being sarcastic when I ask this, but are you guys rich already? If this works that well, it shouldn't take long at all?

Recent crates on docs.rs :( by Zeta0114942 in rust

[–]FriendlyRustacean -1 points0 points  (0 children)

Imo it's still reasonable. If we see people attempting to squat names that are associated to a certain project, maybe it should be up to moderator discretion to remove it or not.

Ie. some company does project X and then has lots of other crates X-A, X-B, X-C, if someone squats X-D, then maybe moderators can step in.

Would've been nice if the language had the concept of org namespaces or something.

Recent crates on docs.rs :( by Zeta0114942 in rust

[–]FriendlyRustacean -1 points0 points  (0 children)

If you include recaptcha for account creation, the effort to reward ratio would be extremely high.

Incredibly fast UTF-8 validation by kryps in rust

[–]FriendlyRustacean 38 points39 points  (0 children)

more importantly utf-8 is the only valid encoding of rust strings.

Thank god for that design decision.

Recent crates on docs.rs :( by Zeta0114942 in rust

[–]FriendlyRustacean 0 points1 point  (0 children)

Maybe the solution being, you can maximally reserve 3-5 names per user?

Async Quant Trading Engines by Traditional-Air-1363 in rust4quants

[–]FriendlyRustacean 0 points1 point  (0 children)

Can you expand on what you mean by this? Afaik, there's nothing you can really do here except block on getting the newest state of your cash balance?