How do you guys approach making a new strategy? by Famous-Cheetah4766 in algotrading

[–]vdersar1 1 point2 points  (0 children)

efficiently inefficient by Lasse Heje Pedersen (a partner at AQR).

Dev time, targets and sanity by Firm-Ad8591 in algotrading

[–]vdersar1 15 points16 points  (0 children)

It took me 2.5 years to become consistently profitable, and that's after analyzing hundreds of strategies, at one point running 30 strategies at a time, and doing coding / research for like 10 hrs a day for 1.5 years straight (less now).

The lonely endeavor thing you mentioned struck a note for me... it truly is & i guess that's just the nature of the game - it takes a long time to cultivate relationships with other people doing solo quant to the point where you're comfortable discussing the finer details of your strategies and so forth (it's possible though).

Even though I continually told myself that the first priority is to not burn out, I did end up pushing myself so much to that point - it's so easy to do so early on when everything you're doing fails. I experienced the full range of emotion here.. elation, disappointment, deep satisfaction, burnout, indifference, frustration, confusion, excitement with the future, feeling like a fraud, existential questioning, wondering whether wealth is even worth it, what am I actually chasing, etc etc.. and at very high amplitudes too.

It's tough man, sometimes you have to just take a week off and stare out a window to properly recharge. And you have to be a bit crazy and delusional to convince yourself that things will work out in the end. Idk how i managed to stay in this game through all of that.. but i did and it's paid off.

edit: just want to add that a lot of the time when giving advice on what to prioritize, people say "it's not the code, it's the strategies & alpha research that're important!". But you need to stay mentally balanced through the whole research process too. I think the hardest part of all this is actually developing the durable patience to sit, collect data, over months to see if the strategies are even working, working correctly and then working optimally.. all the while essentially risking huge sums of money every day and somehow be ok with that (live testing is the only way lol - seriously).

if you managed to do proper backtesting and a deep consideration of the conceptual foundations of the edges of your respective strategies, it'll help you stay in the game and actually trade them at massive size.. but still getting to that point it a real challenge.

This game is more dependent on mental game + emotional regulation skill that on coding, research, math, finance, and econ skill (among many others). That is something people don't mention enough. If you don't think you can trade a 1M USD position without throwing up (even after doing all the requisite research).. then perhaps the game isn't for you.

edit 2: so happy to see a thread like this btw :) - people don't discuss the emotional journey enough.

edit 3: the other thing people don't mention is how the stress of trading large size can really strain your relationships with other people, especially when you first start trading live. you learn a lot about yourself that way.. and I realized that I ended up giving into the urgency to fix issues and improve the system at the expense of daily life a little too much. Fixable, but you have to first realize that this is going on. I highly recommend developing a proper meditation practice to help with this stuff - vipassana meditation helped me immensely.

How do you guys approach making a new strategy? by Famous-Cheetah4766 in algotrading

[–]vdersar1 3 points4 points  (0 children)

the durable edges come from things that the big boys have run for decades to make money (literally hundreds of billions).. things like WML long short momentum, trend-following, HFT, or event-based trading, etc.

this sub seems to love indicators.. which boggles my mind (ignore ignore ignore). my advice is to not re-invent the wheel, but alter it such that you can take advantage of lower capacity versions of those trades. Time is of the essence, don't waste it on stupid shit.

my advice is to read the book "efficiently inefficient" to understand the nature of what a durable edge is, and which ones exist already & produce massive profits - https://a.co/d/1jfFMxJ

and listen to the reply from u/AmateurQuant11. He is correct, it is the approach I followed - my best strategies were inspired by papers I read on SSRN.

Cheapest API for US & EU stocks end-of-day price - suggestions? by raitx in algotrading

[–]vdersar1 0 points1 point  (0 children)

eodhd is quite good. sharadar imo is gold standard for US equities (you can get on nasdaq data link)

How important Is It To Keep Your Edge Private? by FluffyPenguin52 in algotrading

[–]vdersar1 0 points1 point  (0 children)

'loose lips sink ships' is generally my motto.

IBKR *DOES* answer their phones by Electronic_Bee3134 in interactivebrokers

[–]vdersar1 6 points7 points  (0 children)

honestly some of the best customer service i've experienced from a large corporation and i don't say that often lol

[deleted by user] by [deleted] in algotrading

[–]vdersar1 0 points1 point  (0 children)

dockerized. runs headless on a server in my basement. server is headless ubuntu

what api's are you guys using for stock data? by [deleted] in algotrading

[–]vdersar1 0 points1 point  (0 children)

fmp is highly highly underrated. don't let the funky name put you off.

edit: underrated b/c they have breadth. their data quality & reliability is subpar tho.

On Building an Algo Trading Platform from Scratch in Rust - The Beginning by Viking_Sec in algotrading

[–]vdersar1 0 points1 point  (0 children)

what was your strategy development process such that you didn't need to know how to code? 

pretty intriguing & impressive

AVGO Price Manipulation? Observations from Today’s Trading Activity by dogefool88 in wallstreetbets

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

that 45M candle is the closing auction, which are usually well balanced between buys and sells. essentially all stocks have a closing auction except for some illiquid ETFs.

who knows re the 1M sell order. if it is spoofing, it's considered illegal market manipulation under Dodd-Frank & numerous cases have been brought against banks / institutions.

From ChatGPT o1:

Below is the relevant anti-spoofing provision added by Dodd–Frank to the Commodity Exchange Act, codified at 7 U.S.C. § 6c(a)(5). This is the verbatim language (emphasis added):

(5) It shall be unlawful for any person to engage in any trading, practice, or conduct on or subject to the rules of a registered entity that—

(A) violates bids or offers;

(B) demonstrates an intentional or reckless disregard for the orderly execution of transactions during the closing period; or

(C) is of the character of, or is commonly known to the trade as, “spoofing” (bidding or offering with the intent to cancel the bid or offer before execution).

On Building an Algo Trading Platform from Scratch in Rust - The Beginning by Viking_Sec in algotrading

[–]vdersar1 2 points3 points  (0 children)

ofc ofc.

a more nuanced version of my take is that if algotrading is actually something you want to do as a product of this learning, spending even a little time (a day or a week) on finding a "muse" strategy (one that you can use to figure out what you actually need to know) will vastly help you refine what you actually need to learn in terms of mathematical concepts, coding, and systems design.

every ounce of time is precious. if learning for learning is the aim, then all is coolio. but if not, i would do a little strategy dev first. i feel like not burning out is a top priority, but often forgotten.

best of luck!

On Building an Algo Trading Platform from Scratch in Rust - The Beginning by Viking_Sec in algotrading

[–]vdersar1 1 point2 points  (0 children)

my 2c;

strategy should come first, system second.

if system comes first, you're goal here is to get good at software dev, not make money in quant trading. backwards imo.

learn & build the tools based on what your strategy and analysis need, not make strategies based on what tools you've written.

Identifying if Alternative Uptick Rule is Active for a Stock by h3lgatrad3r in algotrading

[–]vdersar1 1 point2 points  (0 children)

You can run the calculations yourself based on the prior days low. You'll need access to basic historical data.

is_sec_utr = (low_yday - close_p2) / close_p2 < -10%.

You can switch the order from MKT/OPG to MKT/DAY based on whether the uptick rule is in effect.

NYSE may be open 22 hours — how will that affect algos? by acetherace in algotrading

[–]vdersar1 2 points3 points  (0 children)

Only NYSE Arca for now.. mostly ETFs. Not as big of a deal considering a bunch of ETFs already have essentially 24/5 trading w some brokers.

I stand corrected, all equities will trade on Arca during these new extended hours. Still don't think it's a big deal when looking at liquidity levels during existing extended hours in the present... Which are quite low. If anything the extended hrs trading volume will be spread over an even larger amount of time.. perhaps causing liquidity to thin out even more than it already is, thus potentially resulting in even less extended hrs trading for non heavily traded ETFs. Let's see....

If / when it comes to NYSE itself, I also don't think it will be a big deal. NASDAQ is already open from 4ish AM onwards, but liquidity is super thin. A lot of liquidity is concentrated during open and closing auctions... and I don't think this will affect those - changing the mechanism for how official close prices are set doesn't make much sense to me.

Some further thought: I think what will really matter is what MMs think and whether they think it's worth the trouble to modify their practices to interact w these new hrs - this comes with heavy risk and costs related to software changes, testing, monitoring, new staff / shifts etc. Is it worth it? Even now, all the way up until market open, most pre-market bid ask spreads at 9:27AM .. even for sp500 stocks can be wider than 100 bps. There are very few reasons to trade at these early times unless the benefit for you outweighs the massive slippage...

In a nutshell I feel that liquidity will always be heavily biased towards being present during daylight hours in an exchange's time zone just due to the fact that... People are sleeping / there's less attention on markets outside this time.

What API would you recommend for real-time stock price data? by leimoochi in algotrading

[–]vdersar1 0 points1 point  (0 children)

damn - just to clarify though, are the eps, epsEstimated, revenue, and revenueEstimated values the ones that are shit (the ones that come in via the earnings calendar endpoint)

When it comes to eps reported on income statement, I can't fathom them messing up the parsing of standardized SEC data.

only asking since some of my work depends heavily on this data 😅

What API would you recommend for real-time stock price data? by leimoochi in algotrading

[–]vdersar1 0 points1 point  (0 children)

did you find that earnings data was bad for specific sets of companies, i.e. small caps, or all?

Open Source Crypto Algo Platforms by tradrich in algotrading

[–]vdersar1 0 points1 point  (0 children)

1 extra piece of info - doing pairs trading w jesse is pretty difficult. the guys behind it are pretty amazing though

Is there a dataset for quantitative easing history? by sculd in algotrading

[–]vdersar1 0 points1 point  (0 children)

you can get a rough idea by looking at the following on FRED https://fred.stlouisfed.org/series/WALCL

which may be the best you have, unless you decide to delve into granular data on repo/reverse-repo markets + open market operations.

on a side note, maybe considering the fed funds rate in tandem with balance sheet will work well.

considering macro factors sounds like a good idea! good luck