Being a beginner at options trading, I don't like staring at my screen every night for 4 hours straight looking at rows and rows of numbers, just to get into a call option and watch it tank 50% within the next hour. So since I am better at coding than i am trading, i decided to create an options trading bot. So here's how it works:First, I feed the bot a list of stocks i want scanned. The bot will proceed to calculate the RSI14 value of each stock to find the most oversold ones. Then it will pick out those oversold stocks within a certain period and find a put option that has -0.3 delta and is quite far OTM and at least 30 days out expiration. Then it will sell that put. Since the stock is oversold, the premiums are very rich, and I'll just simply hold that put till the stock stabilizes or
Can you flip a failing strategy to make it successful?
If you've been around the block for more than a week, you would know many people use technical and fundamental analysis to form strategies to buy their stocks. Like for example, buying when the RSI value is less than 30. So I decided to try that too. This is the strategy I backtested using AI on AAPL with 2 years of historical data, on 1 hour candlesticks. And here are the results.X axis = Total BP, starting at 5k.Y axis = total number of closed trades made.Conditions: RSI strategy, $20 stop loss and take profitRegular Graph A:Ouch, a steady decline. Well, the strategy is clearly not working. But what if we flip it? Instead of going long when the RSI value is less than 30, how about we go short? This might sound absolutely ridiculous, and in theory it is, but according to data, we sho
I created a bot that when you enter a stock name, will proceed to backtest that stock using a custom strategy with historical stock data. Today marks week 3 of backtesting various ETF’s. Here are the results.This week was pretty good, did a little better then last week, especially with the success rate. Due to a request, I have added VOO to the ticker mix and decided to take away STI as well. But here are the results for STI anyways if you are interested! STI: Profit: -47.28. 2 profited trades, 4 loss trades.If you guys want more ETFs to backtest, just comment and ill add them! @TigerEvents@TigerStars
I created a bot that when you enter a stock name, will proceed to backtest that stock using a custom strategy with historical stock data. A week ago I decided to start backtesting ETFs every week, so here is week 2's results. Compared to last week, the gains are not as much, but at the end of the day, gains are gains! I'll keep you guys posted next week and the following weeks after! I have also made a few adjustments to the stop loss / take profit margins, so maybe the bot will perform better next week. Who knows? @TigerStars@TigerEvents Lastly, for those that do not believe that this was made by a bot, here is a small snippet of the bot in action!
How a 50K account was forced to buy $23 Million of SPY
This is a true story. The purpose of this post is to inform you guys of the risks of options, and also how some people can get extremely lucky.So basically, this dude was trading options on SPY. He decides to sell 1000 put spreads at 266.50/266.00. This allows him to collect $2000 in premium with a max loss of just $50K, which is his entire account. If the stock closes above 266.5, he keeps all his money + the $2000 he made. So what happened? Well, during after hours, the stock briefly dipped below 266.50. The puts he sold get exercised by the buyer and now this man is forced to buy 23 million dollars worth of SPY shares. And the puts that he bought to protect against this expired worthless. This is how one man's 50k account was left holding 23 million dollars worth of SPY shares
I created a bot that when you enter a stock name, will proceed to backtest that stock using a custom strategy with historical stock data. A few days ago I tried it on TSLA. Today I wanted to backtest a few ETF’s on a 7 day per minute basis. Here are my results. I only chose 7 days because that's the maximum range I can put on a 1 minute price change, so of course this may not be accurate. Who knows? Maybe ill get a 2% loss next week. That's why I plan to update this chart every week until I can get reliable results, then I'll use this bot for real trading.In case you're curious, the strategy is a very stringent mix of bollinger bands, RSI and SMA. It also includes several fundamental indicators, but that's usually reserved for specific stocks, not ETF’s.If you are curious and maybe wa
I created a bot that when you enter a stock name, will proceed to backtest that stock using a custom strategy with 2 years of historical stock data. Today I decided to try it out on Tesla (TSLA). Here is a simplified chart of the results.$Tesla Motors(TSLA)$Is this good? Not really, this is only a meager 2% gain in 2 years, but it is a good start to how I want my bot to perform. Of course, past performance is not indicative of future results.Backtesting using a custom program is better due to many reasons, such as:1. Custom strategies. You can build whatever strategy you want inside, fit it with stop losses and take profits, and boom, it will run and churn out results automatically.2. Flexibility. You can change buying power, stocks to buy, you ca
Using Tigers API to get stock information in seconds!
Technical and fundamental indicators obviously play a huge role in picking the right stocks to buy, but they are always such a pain to obtain. Like sure you can do the manual way of looking through pages of numbers to find certain patterns or dig up old company info to judge on whether to buy the stock or not, but that is tedious, and comes with many downfalls, such as miscalculations. Humans are prone to mistakes, it's literally part of our lives. We might miss a zero somewhere during calculation and get a value for an indicator you didn't know was possible. Worst part is that you will then have to go back and recalculate all the data to find where you have gone wrong.So what? We'll just have to live with it? No, of course not. There are tons of websites out there that grab that informati
Bot trading using Tiger OpenAPI. Free money or not?
(reposted to add tags)Let's be real, trading is not easy. You can have all the right cards in your hand, with all the technical and fundamental analysts screaming to buy, and yet it seems like the moment you choose to cave in and buy a couple shares, the stock decides to plummet 15% the second your position gets filled. It sucks, and it's very demotivating to any new, or experienced investor. This is why some people turn to automated trading to help relieve the headache of watching red all the time.We all heard about it before, algorithmic trading, aka bots, trade automatically through a set of rules. I had personal experience building my own bot by experimenting with the Tiger Brokers Open API, which I have to say works a charm due to their very detailed documentation and examples, and I