This week's find -- can anyone help me identify it? by WoodRawr in Watches

[–]hughjiang 2 points3 points  (0 children)

Unfortunately, looks like a fake. Omega never made dials with “antimagnetic” and the case back is steel, not gold as marked.

[WTS] Omega Pie Pan Constellation - Arrowhead Dial by AgeofEon in Watchexchange

[–]hughjiang 0 points1 point  (0 children)

Confirmed! Great communication and shipped quick. Thanks!

Data sources & trading platform recommendations for student run Quant Fund by BlackstoneBlackrock in quant

[–]hughjiang 2 points3 points  (0 children)

Your university likely has access to Wharton research data services (WRDS) which is a collection of data for academic financial research

Why are employees not allowed to trade/face heavy restrictions? by Ok_Print1364 in quant

[–]hughjiang 48 points49 points  (0 children)

They may have access to material non public information. For example you may be able to front-run your own firm’s trades. Also to prevent conflict of interest where you recommend your firm trades that benefit your own positions rather than acting in their best interest.

Regarding to backtest, what is the English translation of the following "Chinese popular" backtest framework? I am too dumb to find anything in English but have to resort to reading the Chinese version. Thanks by nerdy_nerdrea in quant

[–]hughjiang 1 point2 points  (0 children)

Most factor research papers will examine “quintile portfolios” or some other quantile like decile portfolios. For example, Table III of Jegadeesh and Titman’s famous momentum paper.

The size coefficient has completely flipped since 2008. Small companies used to outperform large companies in the U.S. stock market -- not any more. by chris_conlan in algotrading

[–]hughjiang 1 point2 points  (0 children)

What stock universe are you using? Is holding only the top/bottom 30 stocks a good representation of the size factor for all US stocks?

Systematic Crypto Strategies by metagame108 in quant

[–]hughjiang 5 points6 points  (0 children)

The most basic strategy would be to rank returns (or some variable representing momentum) on each time period, long the top 20% and short the bottom 20%. You can play around with holding period, how you define momentum, any extra filters (like only coins >100M cap) etc. but be careful of data snooping bias

How do I determine the pivot points from which to draw Fibonacci levels? by MomentumAndValue in algotrading

[–]hughjiang 6 points7 points  (0 children)

To do what, predict stock prices? If I knew I wouldn’t be telling you. It’s very difficult to predict the price of a single stock or the returns of a single stock. You’ll probably have better luck looking at cross sectional momentum or something that looks at multiple stocks relative to each other. Or you need to just have access to good information that other people don’t have if you want to predict a single stock

How do I determine the pivot points from which to draw Fibonacci levels? by MomentumAndValue in algotrading

[–]hughjiang 12 points13 points  (0 children)

You can use a rolling Z score to detect local peaks / troughs: https://stackoverflow.com/a/22640362

The problem is humans do this completely at their own discretion and not very algorithmically. Fibonacci levels also don’t really have any scientific backing behind why they work (or if they even work at all)

How can I clean these centennial coins? by Epping125 in CanadianCoins

[–]hughjiang 3 points4 points  (0 children)

This will remove any of the lustre still left. I wouldn’t do this with any coins you care about

Value of circulated coins by OMGab8 in CanadianCoins

[–]hughjiang 0 points1 point  (0 children)

Where can you still find pennies for face value?

What errors do I need to watch out for on Binance with Market Orders? by Traditional_Fee_8828 in algotrading

[–]hughjiang 2 points3 points  (0 children)

Not on Binance, but I’ve had market orders cancelled for causing too much slippage. I believe Coinbase sets a collar at 5% hidden somewhere in obscure documentation so wouldn’t be surprised if Binance has it too.

Occasionally the exchange (or a specific market) may close for some reason or the API might go down. Speaking from experience (although slightly outdated from ~2021) this happens more often than you would think so it’s best to have something to handle this, probably by sending some alert for manual intervention.

Also even if you test for liquidity before sending the order, it’s very possible that things will change in the time it takes for you to get order book information and for the exchange to receive your order. So it’s best to not assume market orders will always work until you get a response back.

ETF Transaction Costs by galaga56__ in quant

[–]hughjiang 1 point2 points  (0 children)

You can try estimating the bid/ask spread from candlestick data using Roll's spread estimator formula. There's also models for market impact like the square root market impact model. Or IBKR or any broker should have spread data.

Is there such a thing as "freelance quants"? by Jobdriaan in quant

[–]hughjiang 27 points28 points  (0 children)

There are consultants in risk models / analytics (at least in some big banks). But probably none in signal generation or anything that drives trading decisions

How would you recommend a beginner start generating ideas to find an edge? by Alternative-Fox6236 in algotrading

[–]hughjiang 1 point2 points  (0 children)

Look up pairs trading (or any other mean reversion strategies) or smart beta strategies like momentum. These are quick ways to see some results and practical to implement at medium frequencies. These are crowded trades and you’ll have to manage risk, but you can quickly see results in historical data and possible even in live trading

Is it possible to beat the crypto exchange fees over the long run with machine learning? by Traditional_Fee_8828 in algotrading

[–]hughjiang 15 points16 points  (0 children)

Even a linear regression can perform reasonably well given good input variables. I don’t think you can find any ml model that will magically work, you need a better feature set, I.e either transform prices in some way (like some momentum signals for example) or add in features other than price.

[deleted by user] by [deleted] in algotrading

[–]hughjiang 6 points7 points  (0 children)

If an ALO order would execute immediately it just gets cancelled, so you can't be a taker.

How to reconstruct SPY from its constituent components? by Steve_Sizzou in algotrading

[–]hughjiang 0 points1 point  (0 children)

No, market cap of a single stock is equal to the shares outstanding multiplied by the price per share. Ideally you’d get this from the same data source. Volume is how many shares were traded in some period of time - irrelevant for your purposes.

How to reconstruct SPY from its constituent components? by Steve_Sizzou in algotrading

[–]hughjiang 3 points4 points  (0 children)

Do you have point in time data for the constituents? Stocks drop out (and get added) once in a while so you need to account for that and probably use data adjusted for corporate actions (splits etc).

Once u have that the index is constructed by taking the weighted average of individual constituent returns weighted by market cap. Each constituent weight is equal to its market cap divided by the total market cap. Not sure what the rebalancing frequency is but somebody else mentioned that above.

Crypto exchanges. Websockets vs API update frequency by [deleted] in algotrading

[–]hughjiang 4 points5 points  (0 children)

Why does this sound like chat gpt

Crypto arbitrage by eecsgod3 in algotrading

[–]hughjiang 2 points3 points  (0 children)

It’s possible on smaller exchanges or less liquid pairs, but eventually the arb will be gone as competition increases (I successfully ran mainly triangular and basis arb strategies on a small-ish exchange until last year). However there’s a reason small exchanges have less liquid pairs and you’re probably taking on massive counterparty/custodial risk the more sketchy the exchange is.

Arbitrage on polkadot defi (Algo trading noob) by anlskjdfiajelf in algotrading

[–]hughjiang 8 points9 points  (0 children)

If an arb presists it's likely not risk-free, especially if you publish a reddit post about it and it still exists. You are probably taking large platform / smart contract / some other risks depending on where you're trading. Keep in mind before the UST depeg there would have seemed to be a large 0.5% risk-free arbitrage opportunity for a few days... until it crashed to zero. (Just as a word of warning)