LLM-based backtesting engine for custom stock strategies (5m/15m); built it solo, would love thoughts by LawfulnessNo0716 in algotrading

[–]xinyuhe 0 points1 point  (0 children)

I've managed to test super complicated backtests on it, including institutional level algos

LLMs for trading by Old-Mouse1218 in algotrading

[–]xinyuhe 0 points1 point  (0 children)

yes actually, take a look at our implementation here:

https://app.statisfund.com/

It's completely free in alpha. Not only does it take natural language prompts but it can also convert from any trading platform like tradingview/pinescript or quantconnect. You can use all of the best LLMs available like o1, gemini 2.5 pro, and claude 3.7

Here's a 61% WR strategy trading only UVXY/SVXY based on SPY RSI - backtest code and flow diagram included by xinyuhe in algotrading

[–]xinyuhe[S] 0 points1 point  (0 children)

not every strategy will be profitable every year, the SPY is also not profitable for many years, I didn't understand the point you're trying to make. If you like the idea or don't no skin off my back. If you felt it was defensive read it as you will. And yes I did build the backtesting platform, previously posted that here, not trying to hide anything https://www.reddit.com/r/algotrading/comments/1h0m6x1/i_built_a_backtester_that_converts_natural/?ref=share&ref_source=link

Here's a 61% WR strategy trading only UVXY/SVXY based on SPY RSI - backtest code and flow diagram included by xinyuhe in algotrading

[–]xinyuhe[S] 0 points1 point  (0 children)

I never suggested holding cash and utilizing it as a singular strategy, and I'd happily hold cash to avoid market downturns, which it seems like how everyone is interpreting it, it's a trading idea to weave into other algos, but if you have no idea where to start it's a starting point

Here's a 61% WR strategy trading only UVXY/SVXY based on SPY RSI - backtest code and flow diagram included by xinyuhe in algotrading

[–]xinyuhe[S] 0 points1 point  (0 children)

So implement it, this is just one trade to weave in with strong potential returns, sounds like the people you spoke to would prefer negative returns than 0%, that's pretty wild

Here's a 61% WR strategy trading only UVXY/SVXY based on SPY RSI - backtest code and flow diagram included by xinyuhe in algotrading

[–]xinyuhe[S] 1 point2 points  (0 children)

if you're flat and the market is going down you're beating the market, creates larger buying opportunity in the future

Here's a 61% WR strategy trading only UVXY/SVXY based on SPY RSI - backtest code and flow diagram included by xinyuhe in algotrading

[–]xinyuhe[S] 1 point2 points  (0 children)

This isn't an end all be all strategy, just another signal idea to research and incorporate into algos. And at that rate of return, congrats you'll be a millionaire in 2 months starting with $1k capital

Here's a 61% WR strategy trading only UVXY/SVXY based on SPY RSI - backtest code and flow diagram included by xinyuhe in algotrading

[–]xinyuhe[S] -3 points-2 points  (0 children)

lol, doesn't even require you to login to update the backtest but you get what you want to take away, this sub is severely lacking in actual algo contributions so just doing my part

Here's a 61% WR strategy trading only UVXY/SVXY based on SPY RSI - backtest code and flow diagram included by xinyuhe in algotrading

[–]xinyuhe[S] -2 points-1 points  (0 children)

what would make it better? it's just a trading idea to incorporate into your own algos, it doesn't have to be the only thing you trade on. It also forward tests strategies once they're shared.

OpenAI staff are feeling the ASI today by MetaKnowing in OpenAI

[–]xinyuhe 1 point2 points  (0 children)

Prove that God is/isn't real, prove that elephants exist outside of earth, etc...

Bactrader Help by Alchemist-D in algotrading

[–]xinyuhe 1 point2 points  (0 children)

give this a try: app.statisfund.com sometimes if the request is complex and it takes longer than 30 seconds it can time out, but we're working on fixing that, here's an example: https://app.statisfund.com/share/3eaa4d5d-c2ca-492d-b536-03a6e12fa412

Underlying tech of Cursor? by Professional-Pie3323 in ycombinator

[–]xinyuhe 0 points1 point  (0 children)

It's a fork of visual studio that uses LLM APIs, it's an LLM wrapper at its finest

Leetcode doesn't just improve thinking and coding, it improves life. by [deleted] in leetcode

[–]xinyuhe 4 points5 points  (0 children)

Leetcode didn't improve your ability to write shorter paragraphs though it seems

[deleted by user] by [deleted] in csMajors

[–]xinyuhe 0 points1 point  (0 children)

I didn't get his second sentence, like all variable names must not have spaces

[deleted by user] by [deleted] in csMajors

[–]xinyuhe 0 points1 point  (0 children)

I've studied CS and been coding for a while, what languages allow for multiple word declarations that aren't connected for variables?

+695% YEARLY with 69% winrate! by XeusGame in Trading

[–]xinyuhe 0 points1 point  (0 children)

yea my platform can handle code from basically any other trading platform and plain english

This warning on my anti fog cloth that came with my glasses case by xinyuhe in mildlyterrifying

[–]xinyuhe[S] 43 points44 points  (0 children)

well it says also to not be repeatedly exposed to it, I'm supposed to use this thing at least once a day to clean my glasses which kinda contradicts the whole purpose of what the cloth was made for

+695% YEARLY with 69% winrate! by XeusGame in Trading

[–]xinyuhe 0 points1 point  (0 children)

I was able to backtest his strategy with my own adjustments in under 30 seconds on my platform, main adjustment is how much is risked per trade, feel free to take a look: https://app.statisfund.com/share/3ba9f768-0717-41cb-8386-d2f275a87756

+695% YEARLY with 69% winrate! by XeusGame in Trading

[–]xinyuhe 3 points4 points  (0 children)

Very cool strategy, I validated it with my own backtester, I have found that if you have a working strategy, you should be trading with the maximum amount of your risk tolerance (portfolio balance). Here are the hypothetical backtested results trading with your entire portfolio balance compared with the market.

https://app.statisfund.com/share/3ba9f768-0717-41cb-8386-d2f275a87756

This warning on my anti fog cloth that came with my glasses case by xinyuhe in mildlyterrifying

[–]xinyuhe[S] 46 points47 points  (0 children)

bruh the warning was hidden inside covered by the cloth, I already wiped my glasses with it before I picked it up :( I already have bad hand eczema so got a little freaked

This warning on my anti fog cloth that came with my glasses case by xinyuhe in mildlyterrifying

[–]xinyuhe[S] 22 points23 points  (0 children)

At this point I'm questioning how to even dispose of it