Giter VIP home page Giter VIP logo

beyond-the-charts-ep002's Introduction

Is buying stocks at 52-week highs profitable?

In this episode of Beyond the Charts we ask the question, is buying stocks hitting new 52-week highs a profitable trading strategy?

What is Beyond the Charts?

Beyond the Charts is a series from the Trade Risk that seeks to answer new behavioral questions about the stock market every month. All of the episodes are recorded on the Trade Risk's YouTube channel where we code up our experiments live with commentary and explanations. You can watch this episode here:

BTC EP001

Steps to download code and run locally

All of the code is written in C# and built for the free NinjaTrader backtesting engine. If you want maintain the same folder structures as our demo with zero code editing, complete the following steps:

1. Navigate to your NinjaTrader local file directory Strategies folder: /Documents/NinjaTrader 8/bin/Custom/Strategies/
2. Create a folder /BeyondTheCharts within /Strategies/
3. Checkout Ep002.cs 
4. Copy to /Documents/NinjaTrader 8/bin/Custom/Strategies/BeyondTheCharts/
5. Launch NinjaTrader
6. Open NinjaScript Editor
7. Open NinjaScript Explorer on the right hand side
8. Select BeyondTheCharts folder and double click Ep002
9. Compile the code. 
10. You are now ready to test the strategy using StrategyAnalyzer

Alternatively you can go directly into NinjaTrader, launch the Strategy Builder, unlock code, copy in our Ep002.cs and update your namespace accordingly.

Stock market data

Due to data useage restriction agreements we cannot publish the historical stock market data we used in this experiment. Our source and recommendation for stock market data is Norgate. For alternative free sources, consider Tiingo or Yahoo.

Disclaimer

Please be advised nothing here should be considered investment advice. The Trade Risk is not a registered financial advisor and is not recommending the purchase or selling of any securities or investment strategies. Please review our disclaimer which applies to the contents of this repository.

Contact

If you would like to reach us, please use the contact page on our website.

beyond-the-charts-ep002's People

Contributors

thetraderisk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

zhnathaniellee

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.