Once rules are exact and tested, there are two broad ways to run them automatically. You can write your own program, or use a platform that runs rules you set up. By the end of this lesson, you'll know what each one leaves in your hands, and what it hands to someone else. And you'll have questions that compare them fairly.
1 of 8
What you'll learn
- Weigh building your own. You get full control, but every piece and bug is yours.
- Size up a platform. Much is built, but you rely on its systems, fees and terms.
- Trace the links in between. Each link adds a delay and a place to fail.
- Ask the same four questions. They cover testing, stops, limits and moving your rules.
- Count the full yearly cost. Add fees, data and your own time for each option.
Exercise
- Pick two options you could use to run exact rules on a practice account: one you'd build and one platform.
- Answer the four comparison questions for each, in two columns, and add the yearly costs you can find.
Quick check
1. What is the main cost of building your own bot?
2. A platform's servers go down mid-trade. What matters most?
3. Why ask whether you can take your rules elsewhere?
0 of 3 answered.
Finished this lesson?
Tick it off and keep your place
Read the full notes
Building your own bot gives full control but makes every piece, every bug and the running costs yours; a platform does much of the machinery but you rely on its systems, fees and what it can express. Compare both with the same questions: can you test what runs live, where are stops held, what limits it has, and can you take your rules elsewhere.
- Build your own: a program (often A free programming language. Traders use it to write their own tests of trading rules on files of past prices.More in the glossary) connected to a broker's Short for application programming interface: a door into a system built for software. A bot uses a broker’s API to get prices and place orders.More in the glossary. Full control; but prices, orders, disconnects, Comparing the position a program thinks it holds with the position the broker shows, to find any difference.More in the glossary, logs and hosting are yours to build and run, and so is every bug. Time is the main cost.
- Use a platform: a charting platform's strategy feature, a broker's automation tools, or a service that turns alerts into orders. Much is built; you rely on their systems, your rules must fit what it can express, and there are fees and terms that can change. TradingView is one example platform, and many others exist.
- In between: chart → A message one program sends to another program’s web address the moment something happens, such as an alert going off.More in the glossary → receiving program or service → broker. Each link adds a place to fail and a delay (Alerts and webhooks). Ask where the stop lives once the trade is on (Connection loss).
- Questions for every option: can I test exactly what runs live, with the same costs? Where does it run, and where are stops held? What limits and One control that stops automated trading at once: it blocks new orders, cancels working ones and can close open positions.More in the glossary does it have? Can I take my rules elsewhere?
- Made-up 12 months: rented A computer in a data centre that you rent and control over the internet, so a program can run there instead of at home.More in the glossary $25 × 12 = $300 plus about 150 hours; platform $60 × 12 = $720. Data, fees and What your broker and the exchange charge for each contract you trade, often quoted per contract for the round trip: in and out.More in the glossary come on top for both (Every cost of trading). Answer to the drill: $300.
- More: How a trading bot connects to a broker. Guide: TradingView alerts and webhooks.
Worked example
Made-up numbersCounting the costs of each
Made-up numbers · 12 months
- Build: $25 × 12 = $300 for a rented computer, plus about 150 hours.
- Platform: $60 × 12 = $720.
- Both: data, broker fees and commissions on top.
Neither is cheaper for everyone. The answer depends on prices, time and skills, which differ person to person.
Your turn
DrillMade-up numbers · a platform costs $45 a month · a rented computer costs $20 a month
Trading is risky. You can lose money, and automated trading can lose like any other trading. This lesson explains how things work. It isn’t advice.