Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
TradeStation EasyLanguage for Algorithmic Trading

You're reading from   TradeStation EasyLanguage for Algorithmic Trading Discover real-world institutional applications of Equities, Futures, and Forex markets

Arrow left icon
Product type Paperback
Published in Sep 2024
Publisher Packt
ISBN-13 9781835881200
Length 282 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Domenico D'Errico Domenico D'Errico
Author Profile Icon Domenico D'Errico
Domenico D'Errico
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Chapter 1: Introduction to Algorithmic Trading and the TradeStation Platform FREE CHAPTER 2. Chapter 2: Getting Hands-On with EasyLanguage 3. Chapter 3: Writing a Trend Strategy 4. Chapter 4: Strategy Backtesting and Validation 5. Chapter 5: Reversal Strategies 6. Chapter 6: Trend Pullback Strategies 7. Chapter 7: Risk Management 8. Chapter 8: Futures and Forex Algorithmic Trading 9. Chapter 9: The Trading Operational Plan 10. Chapter 10: EasyLanguage in AI – Bridging Traditional Trading and Advanced Analytics 11. Chapter 11: EasyLanguage for Machine Learning 12. Index

In-sample, out-of-sample analysis

The in-sample, out-of-sample process consists of using a portion of the available data (the in-sample data) to develop and train a model or conduct analysis. Subsequently, the developed model is tested using a separate portion of the data (known as out-of-sample data) that was not utilized during the training phase. This helps assess the robustness and generalizability of the model or analysis beyond the data it was trained on. The goal is to ensure that the insights or predictions derived from the in-sample data apply to new, unseen data.

In this section, we are going to do the following:

  • Modify EasyLanguage scripts for the in-sample, out-of-sample analysis
  • Run an example of in-sample, out-of-sample validation

Modifying EasyLanguage scripts for in-sample, out-of-sample purposes

To run an in-sample, out-of-sample validation, you need to modify the EasyLanguage code, as follows:

Input:StartDate_(0),EndDate_(1191231);
Input...
lock icon The rest of the chapter is locked
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