Skip to content

dhimantaa/SIM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SIM

Build Status

Installation

git clone https://github.com/dhimantaa/SIM.git
cd SIM
pip install .

OR

cd SIM
python setup.py install

How to use this package

import sim
symbol = 'BOM500003'
# To run the RSI simulation
df, param = sim.technical.rsi.Rsi(symbol=symbol).simulation(startDate='20171201', endDate='20190212')
# To plot the simulation
sim.plotter.Plotter(data=df,symbol=symbol, param=param).plot()

alt text

# To run the Macd simulation
df, param = sim.technical.macd.Macd(symbol=symbol).simulation(startDate='20171201', endDate='20190215')
# To plot the Macd simulation
sim.plotter.Plotter(data=df,symbol=symbol, param=param).plot()

alt text

# To run the Bollinger simulation
df, param = sim.technical.bollinger.Bollinger(symbol=symbol).simulation(startDate='20171201', endDate='20190215')
# To plot the Bollinger simulation
sim.plotter.Plotter(data=df,symbol=symbol, param=param).plot()

alt text