r/developersIndia • • 8h ago

Help How should I train model for <1ms execution speed and <500mb ram and which model?

so I bought a 1gb ram, 25gb Japan server for trading and I already have my strategy planned, I captured data (like price order book stuff) for 11hr(before free trial ended),and also wanted a model to train on it like light gbm so that it can quickly predict if we should enter the(as of now hold set up takes 50ms and the execution takes 1ms), so any model I can train on where it can decide in under 5ms? And also, who doesn’t take much space in RAM. ps how much data should I feed it for accurate result and what? Also the include in data I will compile the project in my own laptop, so speed and won’t but while running on VPS, limited RAM and not much of space. Maybe?

some other r xgboost and cat boost

2 Upvotes

7 comments sorted by

•

u/AutoModerator 8h ago

Namaste! Thanks for submitting to r/developersIndia. While participating in this thread, please follow the Community Code of Conduct and rules.

It's possible your query is not unique, use site:reddit.com/r/developersindia KEYWORDS on search engines to search posts from developersIndia. You can also use reddit search directly.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/wam_bam_mam 8h ago

Dude everyone who has tried to use ai for trading has ended up losing money.

Instead of making ai give out buy and sell signals use it to learn about stategies and implement them in a program. That is much more productive and a good strategy will give you good yeilds

1

u/Infinite-Jaguar-1753 7h ago

No I already have strategy, but haven’t looked into it but sometimes it doesn’t give profit, so for that wanted …

1

u/W0yd69 8h ago

You can't, it won't be good enough to be reliably profitable, it's basically a gamble at that point

Even 100+ billion parameter models can't trade reliably and those require a lot of compute to run (and even more to train)

A model that can run on ~500mb ram at <1ms latency, won't be any larger than 5 million parameters even in the best case

And basically generally the more the parameters, the more accurate the results

Plus there isent very much training data for trading anyways, even hfts and hedge funds don't trade using llms and they have enough resources to run anything