Skip to content

A tool to help detect insider trading, by comparing Option chain prices against the underlying value of the stock

Notifications You must be signed in to change notification settings

MFOSSociety/Option-chain-trading-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Option-Chain-Trading-Helper

A tool to help detect insider trading, by comparing Option Chain Prices against the Underlying Value of the Stock.

Use

  • run registration_window.py

  • specify the symbol, expiry date of contract, strike price, and check the checkbox for the desired option type (check for PE, uncheck for CE)

  • To Run:~

git clone https://github.com/MFOSSociety/Option-chain-trading-helper.git

sudo python3 registration_window.py

  • The graph shows true value for underlying value and a scaled value for the option type for easy comparison

The working -

  • The option types we're interested in are Puts and Calls ( PE and CE)
  • The knowledge relevant to our task is, the price of CE is directly proportional to the price of the stock (underlying value) and the price of PE is inversely proportional to the price of the stock.
  • If the pyplot shows that the values dont follow the pattern, then we can say with some confidence that someone is trading on the inside or maybe someone is manipulating the prices. What often follows is a drastic change in all the values ( CE PE and the underlying value)

EXAMPLE : ICICPRU How a Put against u.value should look like this

This is the PE option type vs U.value for ICICIPRU . PE varies inversely with the underlying value as can be seen. This implies everything is normal.

EXAMPLE 2: _BHEL How a Call against u.value should not look like this

This is the CE option type vs U.value for BHEL. CE varies directly with underlying value but in the red circled area, the stock price drops and the CE option price doesnt. This means somebody knew that the stock price would go back up and hence they bought a lot of call options, you can see the stock price then did skyrocket, where this insider sold off their call options, making a huge profit.

This is the anomaly that we want to detect.

About

A tool to help detect insider trading, by comparing Option chain prices against the underlying value of the stock

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages