Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with Forex Trading Using Python

You're reading from   Getting Started with Forex Trading Using Python Beginner's guide to the currency market and development of trading algorithms

Arrow left icon
Product type Paperback
Published in Mar 2023
Publisher Packt
ISBN-13 9781804616857
Length 384 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Alex Krishtop Alex Krishtop
Author Profile Icon Alex Krishtop
Alex Krishtop
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Part 1: Introduction to FX Trading Strategy Development
2. Chapter 1: Developing Trading Strategies – Why They Are Different FREE CHAPTER 3. Chapter 2: Using Python for Trading Strategies 4. Chapter 3: FX Market Overview from a Developer's Standpoint 5. Part 2: General Architecture of a Trading Application and A Detailed Study of Its Components
6. Chapter 4: Trading Application: What’s Inside? 7. Chapter 5: Retrieving and Handling Market Data with Python 8. Chapter 6: Basics of Fundamental Analysis and Its Possible Use in FX Trading 9. Chapter 7: Technical Analysis and Its Implementation in Python 10. Chapter 8: Data Visualization in FX Trading with Python 11. Part 3: Orders, Trading Strategies, and Their Performance
12. Chapter 9: Trading Strategies and Their Core Elements 13. Chapter 10: Types of Orders and Their Simulation in Python 14. Chapter 11: Backtesting and Theoretical Performance 15. Part 4: Strategies, Performance Analysis, and Vistas
16. Chapter 12: Sample Strategy – Trend-Following 17. Chapter 13: To Trade or Not to Trade – Performance Analysis 18. Chapter 14: Where to Go Now? 19. Index 20. Other Books You May Enjoy

Automated trading – operational risk and regulatory limitations

Operational risk is the risk of direct or indirect loss resulting from inadequate or failed internal procedures, people, and systems, or from external events (Bank for International Settlements, Basel Committee on Banking Supervision, Operational Risk Supporting Documentation to the New Basel Capital Accord (Basel: BIS, 2002), p. 2, https://www.bis.org/publ/bcbsca07.pdf).

Since, in this book, we will talk mostly about developing trading algos with Python and not about running a trading business, the main operational risk in this context could be that you don’t follow your own strategy or intervene in the algorithmic trading process discretionarily.

Another risk that may be considered operational (although it is normally considered as money management) is the improper use of leverage. In essence, leverage is a credit line provided by the broker that allows you to buy more than you have in your account. If the leverage is too high, you are at risk of being unable to enter the market, or in certain cases, even worse – liquidating your positions that are rapidly losing money.

Broker risk can also be attributed to operational risks as the broker is the very entity that provides you with access to the market, gives you a credit line to open positions, and does the clearing and settlement. Some brokers also act as market makers for their clients, netting their positions internally and acting as the counterparty for their own clients, which may lead to a conflict of interest, and even worse – loss of money if the broker didn’t have sufficient capital to perform these operations.

Last, but not least, we should note that algorithmic and/or automated trading may be fully or partially prohibited in certain jurisdictions. So always check with the respective market regulators to make sure you can run your algo trading at all.

Key takeaways

Always perform a background check of all counterparties, especially your broker. Be careful with leverage and check local regulatory documents on algo trading.

Enough on operational risk – at least for a quick start – and let’s move on to another kind of risk that is common for any trading activity but becomes particularly problematic for algo trading: the risk of basing trading decisions on incorrect market data.

You have been reading a chapter from
Getting Started with Forex Trading Using Python
Published in: Mar 2023
Publisher: Packt
ISBN-13: 9781804616857
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image