QUOTE(dwRK @ Oct 3 2024, 11:11 AM)
can forget about stock market arbi... we cannot beat hft... last time did crypto arbi, when market moves fast can exploit exchange slippage/gap... overnight can make 4-5k easy... but daytime exhausted like zombie... lol...
anyways... just reminding that algo/bot trading can be our personal millennium fund...

(just restarted fine tuning my bot...hopefully in future can implement on ibkr... my legacy for the kids

)
also dun forget about ai... i know a guy who doesn't know programming but managed to talk ai into developing a trading stats management program... ai and quant are like dream partners, sadly i old liao hard to learn new tricks... hahaha... friend was showing off what the ai can do... really amazing stuff...
Will study the APIs some day hehe. Which API do you recommend for simple tasks like bid-ask spread scalping? I think I can code using Python to observe the spread and compare with previous day market price and detect over-valuation. Then instruct the bot to enter into a sell order at the high price while observing for any change in spread. Then when sell order is filled, immediately enter into a buy order at market price.
Seems easy lol
QUOTE(lhshyong @ Oct 3 2024, 11:58 AM)
Thank you for long explain taiko.
Wa.. you are doing phd in physics ar ? steady.
Actually my concern about HFT here is , i always got inquiry about doing HFT application.
client claim they doing HFT , but their HFT different, some is 1 second 10 trade, 1 minute 10 trades, 10 minutes 10 trade also got .
So i try to understand what the real standard border line for HFT, haha

Ya, PhD in Physics, specializing in complex systems...
Uhmm there is no hard and fast definition. After all HFT means high-frequency trading, and the frequency is up to you to define lol, Some firms hold a particular stock for seconds, some for minutes, some for days. There could also be a mix of them in a hedge fund/market maker. It really depends on the strategy deployed. If you are trying to exploit the stock price difference between Unilever NYSE (UL) and Unilever LSE (ULVR), you will surely close your positions within seconds when the price equilibrates, adjusted for trading commissions. But sometimes, the discrepancy could last for months before the premium/discount disappears, e.g. check out this paper:
https://www.researchgate.net/publication/22..._Unilever_NVPLCThen the trader will hold the long-short positions for months before closing. It won't be a HFT trade anymore.
https://en.wikipedia.org/wiki/High-frequency_tradingQUOTE(lhshyong @ Oct 3 2024, 12:05 PM)
having many type arbitrage rite ? till now i also not so understand how spread scalping work. is it buy/sell first then close position in very short time frame ?
Haha you just need to google "bid-ask spread scalping"
When you detect anomaly in market pricing, you sell at a high price and buy at a low price. My positions are always covered, and I don't short stocks/ETFs.
The easiest target to scalp is liquid US T-bill ETFs during Overnight US markets like BIL. US T-bills are very liquid and their prices are known nearly 24 hours a day (When US market closes, T-bills trade in Tokyo and London). The ultra-short duration of T-bills/T-bills ETFs also means they are insensitive to changes in short-term and long-term US rates. Hence their prices should not change dramatically from day to day. As the entry barrier to US Treasuries is rather high on IBKR (commissions are high), US T-bill ETFs become a good choice.
Comparing the overnight market ask price with the bid price and the most recent session's closing price, if you see the ask price jumps by 0.05-0.06 USD over the bid price/previous session closing price, you check the Tokyo market US T-bills price/yields, if there is no news on Bloomberg/FT/WSJ, then you know an anomaly exists and you can scalp BIL for a couple of USD. Do allocate some 2 USD margin for commissions beforehand.
A tip for traders is always queue in the market early. This is a tip from my finance professor in Hong Kong. You will notice HK bankers arrive at their office desks earlier than most other people. That's because they need to revise previous day's news and queue in the order book before the stock exchange opens... They got first-move advantage...
The best time to queue for scalping is usually between 8 am and 9 am, when the bid-ask spread fluctuates and the trading volume is thin. (8 am is when Tokyo exchange opens, 8.15 is when IBKR's Overnight Trading session starts, 9 am is when Singapore exchange opens and 9.30 is when HKEX opens for trading.) Usually your orders will also get filled around 10 am, or close to lunch break, 12 pm and also possibly around 3.30 pm before US premarket starts, from my past scalping experiences.
This post has been edited by TOS: Oct 3 2024, 10:58 PM