i posted my patented trading algorithm on r/wallstreetbets. it blew up, but the mods removed it because 1984. since it got taken down, i have refactored the code. now it is fully optimized. code is picrel (duh)
What the fuck dude, you can't just leak my trading strat like this
>>61009514bro i already made ~$5k with it you're a genius
>>61009514Kek dangerously based code here. Leave it up to god.
>>61009514I ran the code and it downloaded gayporn to my pc and stole all my crypto and feet pics!
>>61009529>>61009533>>61009545>>61009514it's statistically not possible you all know how to read this code, coding is a Hinduistic high IQ limited trait only 1.9.% of the population of India requires H1B visas for the continutation of the USA technology without genuity of Indian mastery it is not likely to be successful and therefore you are not able to.
>>61009514wtf i just lost my money
>>61009562nvm up 200%
>>610095670x200%?
>>61009586oh fuck i lost it all DEVS
>>61009514Random picking quant firms with random strategies with random fund managers picking random stocks and selling them at random time is the new hot thing.
>>61009514>calling palantir technologies a meme stonki bet peter thiel personally butfucked the reddit mods until they banned you for this insulti would also ban you, not because you triggered peter but because of your stupidity
>>61009514why are you separating companies and stonks when you're just adding them together 2 lines later?and why randint 1 10 if you multiply it by 100? why not randint 100 to 1000 right awayand most importantly, how the fuck do you sell something that you didnt buy yet?
>>61009758>and why randint 1 10 if you multiply it by 100? why not randint 100 to 1000 right awaybecause you want to gamble in multiples of $100 for ease of overview rather than having to deal with every single value between 100-1000that part at least made sense
>>61009514virus be careful
>>61009514I once made a joke trading algorithm and it lost money 99% of the time. Then I figured out that if I just reverse its decisions I'll start earning money and it actually worked.
guys ummm i actually used it and i made $3k. wassn't expecting that lmaooo
>>61009514>>61010642Kek what a pathetic brown subhuman samefag. Saaaar do not redeem the cow poo bloody your mother fuck bitch
>>61010770yeah i'm such samefag lmao>inb4 "you used inspect element"it's not doctored retard
>>61010808oopsi'm so stoned i forgot what thread i was ini forgot i was op
>>61009561I don't know python code but I get the jist of it that it's just picking a random amount from 10 to 1000, a random action between "buy" and "sell", a random company between the companies and meme stonks listed, and a random option between calls and puts. not sure why it's declaring the companies and meme stonks as separate lists if it just recombines them later but whatevs
>Ctrl + F "algo"This is the only thread related to algotrading. This board is truly dominated by subhumans right now.
>>61009514Studies proved that randomness outperforms "Expert fund managers."Very based code.
>>61009514>let jesus take the wheelGigabased strat, if you bias it towards stocks going up it prints infinite money
>>61010813>i forgot i was opbased
one time I made a thread and replied to myself later that day saying I was a retard for making a shit thread
>>61009514import randomimport datetimedef trading_signal(): directions = ['bullish', 'bearish', 'neutral'] confidence_levels = ['low', 'medium', 'high'] strategies = [ "covered call", "protective put", "long straddle", "short straddle", "iron condor", "bull call spread", "bear put spread" ] companies = ['AAPL', 'GOOGL', 'MSFT', 'AMZN', 'TSLA', 'GME', 'AMC', 'BB', 'NOK', 'PLTR'] company = random.choice(companies) direction = random.choice(directions) confidence = random.choice(confidence_levels) strategy = random.choice(strategies) target_price = round(random.uniform(50, 500), 2) horizon = random.choice(['1 week', '1 month', '3 months', '6 months']) return ( f"Signal generated on {datetime.date.today()}:\n" f"- Company: {company}\n" f"- Outlook: {direction} ({confidence} confidence)\n" f"- Strategy: {strategy}\n" f"- Target price: ${target_price}\n" f"- Time horizon: {horizon}" )if __name__ == "__main__": print(trading_signal())
>>61011307at last.....a fellow quant!
wtf is this guys I need an explanation tailored to a meat head
Call me a retard but is it possible to have that kind of randomm aproach but tweak it so you have better money management? I've heard people who has more loser postions than winners but due to when they choose to close them they are still on green. The thing that worries me is getting raped by fees
Unbelievably based, thank you for posting this kek
>>61009561Niggas just be talking about indians all day
I'm golfing a bit