A Neural Network
for the classification of Binary options
as a call or put option within a given timeframe.
-
A binary option is a financial instrument where traders bet on a binary outcome - whether the value of a stock/commodity/instrument rises above a set
strike price
within the expiry time of the option. -
At the time of expiry, the price of the underlying asset must be on the correct side of the strike price (above or below based on the trade taken) for the trader to make a profit.
-
The risk in the trade is always the amount bet on the binary option, while the profit is always a fixed amount.
-
The deep learning model can predict whether the closing price of a stock, commodity or other financial instrument would be above or below a particular
strike price
in a given time period. -
The model classifies whether the closing price would be above/below the strike price before the expiry of our time period allowing us to purchase the appropriate binary option, thus beating the market and turning a profit.
- Investment in stock for the same period of time we are conducting binary options trading (long and short term)
-
A 60% return in case of a successful trade
-
A 100% loss in case of a unsuccessful trade
-
Profit calculations based on assumptions -
% of successful trades | Return % on initial investment |
---|---|
70 | 5 |
80 | 20 |
90 | 35 |
100 | 50 |
-
A jupyter notebook to interact with the model and perform back tests.
-
Notebooks to create, test, train and tweak the model.
- Make a virtual environment and activate it.
- Run these commands to initialize the project:
git clone git@github.com:Varun487/BinaryOptions_DeepLearning.git
cd BinaryOptions_DeepLearning
pip3 install -r requirements.txt
- We are sourcing data from Alpha Vantage. You can get your
secret Api key
here. - After getting your
Api key
, make a file in the BinaryOptions_DeepLearning folder calledsecret_key.py
. - Add the line
API_KEY = <Enter your api key here>
insecret_key.py
- Finally, to download the dataset, run:
python3 collection.py
- Varun Seshu - PES2201800074
- Hritik Shanbhag - PES2201800082
- Shashwath S Kumar - PES2201800623