3 Must-haves for Top TradersStats published by exchanges clearly show that 80% of traders lose money. So the inquiry is not “how to get into the top 20%?” Who wants to settle for mere profitability? The inquiry becomes “how do I get into the upper 3% of traders?” - The “fly around in private jets” and “build whole schools in Africa” traders?
The answer is simple. Stop being human. It’s our human emotions that trip us up every time. We close winning trades too early (take the money and run) and hang onto losing trades too long (pray for a miracle).
Top traders (the ones with private jets) have one thing in common. They all know how to code. And they automate their trading to take the human element out of it. So here’s your quick list of must-haves skills and tools to invest in. Your best investments to get you into the upper 3%. The journey from staring at your computer doing live Technical Analysis to sitting on the beach while your bot trades for you.
Get Tradingview Premium. If you’re serious about making money, you need the ability to back-test. The deep-backtester that comes with a premium level account is going to give you the accurate results you need. Trading code that hasn’t been properly back-tested and optimized is a game of russian roulette. The money you make from trading well tested strategies will pay for this investment ten-fold. Which brings me to my third and final point, optimization.
Master Pine Script. Shout-out here to Matt Slabosz who developed Pine Script Mastery - an excellent overview course for beginners. Matt is not only a solid trader and exceptional coder, his true brilliance is being able to explain complex coding concepts in simple terms. Given that the last time I’d coded was punching fortran cards in University, taking his course was a pleasant surprise in how easy and addictive learning to code Pine Script can be.
Optimize your strategy. There are solid strategies published on tradingview that look unprofitable at first glance. That’s simply a matter of knowing the correct settings for the derivative and market conditions you’re trading. So you have two choices.
Sit at your computer all night and run scenarios on the deep back-tester, or
Buy an optimization tool that will run scenarios while you sleep.
Being way past the age where I’m willing to give up my sleep, the answer, for me, is a no-brainer. TradingTools.software is my top pick for optimizing your TradingView strategy. It allows you to pinpoint the weak areas of your strategy down to the window of where the biggest losses are occuring. This information is pure gold to creating strategies to filter against market conditions where your automated strategy would otherwise fail.
Learning the skills and buying the tools you need is critical to mastering any profession. Trading is no different.
Pinescripters
WMT - RubberBand Algo Update 1 - Questions and moreThis week I started working on my first filter algorithm. The sole purpose of the program is to filter stocks who's trading price closes below the lower Bollinger band (80 day period) in the TSX, TSXV AND CSE. We use algorithms when the inefficiency targeted is persistent. Meaning that the trading opportunities occur over and over in a similar manner. EXAMPLE - identify the stocks who's price closes below the lower Bollinger band assuming the stock is being oversold, meaning that there is a good chance the price will bounce back after the sell-off.
This is not a trading bot since the user has to scan from the stock list, and manually input the buy/sell order. Which at this point is an advantage since the algorithm has absolutely no data to justify any decision it could make on its own. Now that that has been clarified, here are some of the notes I've taken from the first trial. Some positive and some negative, but I am hoping that through tradingview I will be able to connect with more experienced traders and developers to help me answer some questions.
Positive - the algorithm is able to detect the stocks trading below the lower band, reducing the time and effort one would take if we were to look for those conditions ourselves.
Negative - 1) the algorithm fails at focusing ONLY in Canadian markets. 2) the program is unable to determine chart periods, meaning that each candlestick can either represent one day, 3 hours, 1 hour, 30 min, etc. which makes the holding period extremely inconsistent given that some events are just occurring during minutes or days. 3) Even though the purpose is to filter stocks, the pool itself is still very large since the program is unable to discard stocks that are oversold and simply don't have the volume to bounce back, or for some other reason, the company suffered major financial damage and it's a Lehman/Enron stock.
Given this week's progress, here are some of my questions:
1) How can I code an API that's strictly focused on getting input from those 3 Canadian exchanges?
2) How can I go around getting an API Key that's going to give my API access to those markets in the first place? (again Canadian exchanges only) *I have contacted a few people from their websites. but haven't gotten any response yet.
3) What ways would I be able to source for cleaner data in order to improve the accuracy of backtesting? Meaning how can I code it to look past the Lehman/Enron stocks? If someone is kind enough to drop the boolean expression to do so, I would appreciate it.
4) My programming language of choice is python but is there someone out there who prefers a different language? A recommendation I got was Ruby, so is anyone familiar with it?
5) I've noticed that a lot of the open-source algorithms out there focus on forex and crypto and I am wondering if there is a specific reason for this? I'm having a hard time finding projects involving stocks, even in the almighty Github.
I appreciate all comments and thoughts that will help me find some of these answers. My background is in business finance, and my CompSci knowledge is focused on UX design mostly, perhaps you understand now why this project is so important to me. On top of creating a potential IP asset, it's also a great learning experience to enhance my career.