Math/statistical challange: stock price prediction algorithm

  • Statusi: Closed
  • Çmimi: $300
  • Kandidaturat e marra: 4
  • Fituesi: kannasanthosh

Përmbledhja e konkursit

NOTE: this math/statistical challange requires programming or advanced Excel skills
_______

INTRODUCTION:

As most people know, when a bad news hits a company the stock price of that company falls and the inverse happens if it's a good news.

In the attached two images I show you three recent real-world examples of what happened to the stock price and volumes of NVidia and Amazon when bad news hit them.

As you can see there is a sudden increase of traded volume (bars on the bottom) and the price falls because people sell in panic, both things happening for some tens of minutes, allowing an investor able to act immediately (let's say after just 1-2 minutes of seeing the sudden change in volume and price) to earn money for that fall predicting it, with a financial operation called "short selling" (earn while the price falls), closing the position when the fall is over.
Similar thing can be done in the opposite direction when there's a good news: the investor can immediately buy the stock, selling when the rise finishes, earning money for the rise...
_____

REQUEST:

What I ask you is to find the best algorithm for earning the most money by automatically detecting the best moment to start a position ("short sell" or buy) and the best moment to close it, applied to the attached 12MB big file that contains the real price and volumes of the Amazon stock with 1 minute resolution of last 10 years, for your performance tests.

The algorithm that, applied to this data set, virtually earns the most money, wins my award (and you can use it like me for earning money on the stock market of course;)

A very simple example algorithm could be this:
- start a position immediately after there's a sudden 4x increase of volume together with 0.50% change in price ("short sell" if -0.50% or buy if +0.50%)
- close the position 1 hour later or when the price reverts back of half of the total reached change, the sooner

RULES:
- to calculate the earnings of your algorithm, you must start the calculation with a virtual investment of 10.000$ and subtract a virtual (like real world) commission equal to 0.06% price + 10$ fee every time you virtually start and every time you virtually close a position
- the algorithm can use only the data provided by the 12MB file, that are prices and volumes. Its actions must be only based upon prices and volumes (and time).
- you cannot cheat by overfitting code to specific single patterns in the provided data set. The algorithm must make sense as general rule to predict the future cases, though it can be complex

NOTE:
the headers of the 12MB txt file are these:
date time open(first price) highest lowest close(last price) volume

Aftësi të rekomanduara

Punimet mё tё mira nga ky konkurs

Shiko mё shumё vepra

Këndi publik i sqarimeve

  • visweswaran1998
    visweswaran1998
    • 6 vite më parë

    Could you explain briefly how the Machine Learning Model failed please, It has predicted the future values of your data set

    • 6 vite më parë
    1. interservices
      Krijuesi i Konkursit
      • 6 vite më parë

      If I remember well, you took multiple columns as volumes, while there is only only with volume as described in this clarification board.

      • 6 vite më parë
    2. interservices
      Krijuesi i Konkursit
      • 6 vite më parë

      If I remember well, you took multiple columns as volumes, while there is only one column (the last) with volume, as described in this clarification board.
      Furthermore, please clarity your return over 10.000$ initial investment, considering the specified costs on every buy and sell

      • 6 vite më parë
  • kannasanthosh
    kannasanthosh
    • 6 vite më parë

    Hi mate.. Please make this a sealed contest. I am ready with my entry. Do let me know if I should submit as it is.

    • 6 vite më parë
  • visweswaran1998
    visweswaran1998
    • 6 vite më parë

    See Entry 2 which has 100% of prediction

    • 6 vite më parë
    1. interservices
      Krijuesi i Konkursit
      • 6 vite më parë

      Hi Visweswaran!
      as wrote yesterday in this public clarification board, the headers of the 12MB file are:
      date time open highest lowest close volume

      where...
      open is the price of the first trade of the minute (at the beginning)
      highest is the highest price traded during the minute
      lowest is the lowest price traded during the minute
      close is the price of the last trade of the minute

      • 6 vite më parë
  • lourdesreynaldo
    lourdesreynaldo
    • 6 vite më parë

    Good evening, could you detail what's in each column? The first is a date, the second is a time, but I do not know if the next four are prices, and the last volume? Thank you.

    • 6 vite më parë
    1. interservices
      Krijuesi i Konkursit
      • 6 vite më parë

      open is the price of the first trade of the minute (at the beginning)
      highest is the highest price traded during the minute
      lowest is the lowest price traded during the minute
      close is the price of the last trade of the minute

      • 6 vite më parë
    2. lourdesreynaldo
      lourdesreynaldo
      • 6 vite më parë

      Thank you.! I start working on the project.

      • 6 vite më parë

Shfaq më shumë komente

Si të fillosh me konkurset

  • Posto konkursin

    Posto konkursin Shpejt dhe thjeshtë

  • Merr shumë propozime

    Merr shumë propozime Nga e gjithë bota

  • Zgjidh kandidaturën më të mirë

    Zgjidh kandidaturën më të mirë Shkarko dokumentet - E thjeshtë!

Postoni një konkurs tani! ose bashkohu me ne sot!