Skip to content

danielvcorreia/gambler-investing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hypothesis

What happens when a gambler invests in the stock market? The idea is to invest a defined amount every day. If the stock price goes down, you invest double the amount.

Dataset

The dataset used, to test this gambler's approach to investing, was the daily closing price of the S&P500 index. Here is the head of the dataset:

Date S&P500
0 2014-07-31 1930.67
1 2014-08-01 1925.15
2 2014-08-04 1938.99
3 2014-08-05 1920.21
4 2014-08-06 1920.24

Strategies

Gambler Strategy

Invest a defined amount every day. If the stock price goes down, you invest double the amount.

Yearly Strategy

Invest the same amount that the Gambler Strategy will invest in a year, but all upfront at the beginning of the year.

Monthly Strategy

Invest the same amount that the Gambler Strategy will invest in a month, but all upfront at the beginning of the month.

Results

During 6.95 years, assuming the defined amount by the gambler is $10 if the S&P500 index goes up and $20 if it goes down or stays the same, the results obtained were:

Strategy Invested Balance
Gambler $36840 $70405
Yearly $37655 $79071
Monthly $36920 $70925

The results show that the gambler was not on a good day.

Disclamer

All data and information is provided “as is” for informational purposes only, and is not intended for trading purposes or financial, investment, tax, legal, accounting or other advice. Please consult your broker or financial representative to verify pricing before executing any trade. We are not investment advisers, financial advisers, or securities brokers. None of the data and information constitutes investment advice nor an offering, recommendation or solicitation by us to buy, sell or hold any security or financial product, and we make no representation (and have no opinion) regarding the advisability or suitability of any investment.

We are not financial advisors. This is not financial advice. Non-legally binding. You may lose your money. Your house. Your wife. Your waifus. You name it.

About

What happens when a gambler invests in the stock market

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published