SYMBOL INDEX (280 symbols across 42 files) FILE: accounts_database.py function accounts_database (line 61) | def accounts_database(name,accounts=accounts): FILE: common/backtest_macd.py class MACD (line 19) | class MACD(bt.Strategy): method log (line 22) | def log(self, txt, dt=None): method __init__ (line 27) | def __init__(self): method notify_order (line 37) | def notify_order(self, order): method next (line 60) | def next(self): function bt_opt_callback (line 75) | def bt_opt_callback(cb): FILE: common/backtestesidewayssupertrend.py function rs (line 19) | def rs(data): function st (line 34) | def st(period, multiplier, data): class SmaCross (line 43) | class SmaCross(Strategy): method init (line 50) | def init(self): method next (line 60) | def next(self): FILE: common/backtestingmacd.py function SMA (line 16) | def SMA(values, n): function ma (line 23) | def ma(close,fast,slow,sig): function ma1 (line 28) | def ma1(close,fast,slow,sig): class SmaCross (line 32) | class SmaCross(Strategy): method init (line 36) | def init(self): method next (line 43) | def next(self): FILE: common/backtestingpy.py class SmaCross (line 18) | class SmaCross(Strategy): method init (line 22) | def init(self): method next (line 27) | def next(self): FILE: common/backtestingrsi.py function rs (line 12) | def rs(data): class SmaCross (line 15) | class SmaCross(Strategy): method init (line 18) | def init(self): method next (line 21) | def next(self): method init (line 50) | def init(self): method next (line 53) | def next(self): function rs (line 44) | def rs(data): class SmaCross (line 47) | class SmaCross(Strategy): method init (line 18) | def init(self): method next (line 21) | def next(self): method init (line 50) | def init(self): method next (line 53) | def next(self): FILE: common/backtestingsuper.py function rs (line 46) | def rs(data): function st (line 61) | def st(period, multiplier, data): function st1 (line 73) | def st1(period, multiplier, data): function vix (line 83) | def vix(): class SmaCross (line 87) | class SmaCross(Strategy): method init (line 93) | def init(self): method next (line 106) | def next(self): class SmaCross1 (line 116) | class SmaCross1(Strategy): method init (line 120) | def init(self): method next (line 133) | def next(self): function test (line 147) | def test(): FILE: common/backtestsuperrsi.py function rs (line 24) | def rs(data): function st (line 65) | def st(period, multiplier, data): function st1 (line 78) | def st1(period, multiplier, data): class SmaCross (line 94) | class SmaCross(Strategy): method init (line 99) | def init(self): method next (line 109) | def next(self): FILE: common/backtestsupersma.py function rs (line 53) | def rs(data): function st (line 68) | def st(period, multiplier, data): function SMA (line 79) | def SMA(values, n): class SmaCross (line 86) | class SmaCross(Strategy): method init (line 91) | def init(self): method next (line 103) | def next(self): function next (line 133) | def next(self): FILE: common/backtestsupertrendrsi.py function rs (line 12) | def rs(data): function st (line 15) | def st(period,multiplier,data): class SmaCross (line 23) | class SmaCross(Strategy): method init (line 28) | def init(self): method next (line 36) | def next(self): function next (line 59) | def next(self): FILE: common/bot.py function find (line 19) | def find(path): function open_order (line 22) | def open_order(): function executed_order (line 44) | def executed_order(): FILE: common/find_stock_supertrend_values.py function calculate (line 39) | def calculate(a, b, data1, d=d): function calculate1 (line 120) | def calculate1(a, b, data1): FILE: common/find_stock_supertrend_values_shortterm.py function calculate (line 61) | def calculate(a, b, data1, d=d): FILE: common/find_supertrend_reverse.py function calculate (line 39) | def calculate(a, b, data1, d=d): function calculate1 (line 123) | def calculate1(a, b, data1): FILE: common/find_supertrend_thread.py function calculate (line 22) | def calculate(a, b, data1): FILE: common/indicator.py function HA (line 42) | def HA(df, ohlc=['Open', 'High', 'Low', 'Close']): function SMA (line 78) | def SMA(df, base, target, period): function STDDEV (line 98) | def STDDEV(df, base, target, period): function EMA (line 118) | def EMA(df, base, target, period, alpha=False): function ATR (line 146) | def ATR(df, period, ohlc=['Open', 'High', 'Low', 'Close']): function SuperTrend (line 178) | def SuperTrend(df, period, multiplier, ohlc=['open', 'high', 'low', 'clo... function MACD (line 262) | def MACD(df, fastEMA=12, slowEMA=26, signal=9, base='Close'): function BBand (line 305) | def BBand(df, base='Close', period=20, multiplier=2): function RSI (line 335) | def RSI(df, base="Close", period=21): function Ichimoku (line 364) | def Ichimoku(df, ohlc=['Open', 'High', 'Low', 'Close'], param=[9, 26, 52... FILE: common/message.py function message (line 2) | def message(a): FILE: common/pyalgotradesample.py function safe_round (line 11) | def safe_round(value, digits): class MyStrategy (line 17) | class MyStrategy(strategy.BacktestingStrategy): method __init__ (line 18) | def __init__(self, feed, instrument): method onBars (line 24) | def onBars(self, bars): FILE: common/supertrendadx.py function rs (line 15) | def rs(data): function st (line 28) | def st(period,multiplier,data): class SmaCross (line 36) | class SmaCross(Strategy): method init (line 40) | def init(self): method next (line 48) | def next(self): function next (line 70) | def next(self): FILE: fyers/accounts_database.py function accounts_database (line 59) | def accounts_database(name,accounts=accounts): FILE: fyers/accounts_login.py function login_accounts (line 8) | def login_accounts(h=h): FILE: fyers/broker_allow_stocks.py function allow (line 5) | def allow(a,data=data): FILE: fyers/database.py function create_tables (line 11) | def create_tables(tokens): function insert_ticks (line 22) | def insert_ticks(ticks): FILE: fyers/history.py class history (line 6) | class history: method __init__ (line 8) | def __init__(self,fyers): method history (line 17) | def history(self,name,days=50,resolution="1",date_format="1",range_fro... FILE: fyers/insert_database.py class database_ticks (line 17) | class database_ticks:#(name,fyers,token,cred_dict): method __init__ (line 18) | def __init__(self, symbol, fyers): method database (line 39) | def database(self): FILE: fyers/live.py class full_data (line 23) | class full_data: method __init__ (line 24) | def __init__(self,fyers): method full_data (line 27) | def full_data(self,name,days=5,resolution="1",date_format="1",range_fr... FILE: fyers/login.py class login (line 36) | class login: method __init__ (line 37) | def __init__(self, cred): method get_token (line 46) | def get_token(self): method login (line 91) | def login(self,user_id='unknown_user_id'): FILE: fyers/look_database.py function get_hist (line 16) | def get_hist(ticker, db=db,timeframe='1min'): FILE: fyers/order.py class order (line 7) | class order: method __init__ (line 8) | def __init__(self,fyers): method position_symbol (line 12) | def position_symbol(self): method position_id (line 21) | def position_id(self): method predict_order_id (line 30) | def predict_order_id(self): method buy_co (line 39) | def buy_co(self,name,stoploss=0,buy_sell=1): method sell_co (line 64) | def sell_co(self,name): method sell (line 73) | def sell(self,name): method buy (line 81) | def buy(self,name,qty=1,buy_sell=1): method no_of_stocks (line 106) | def no_of_stocks(self,name,percent=100,margin=5): FILE: fyers/quote.py class quote (line 2) | class quote: method __init__ (line 3) | def __init__(self,fyers): method quote (line 5) | def quote(self,stock_name): FILE: fyers/script.py function name_to_script (line 2) | def name_to_script(name): FILE: fyers/stoploss_percentage.py function percentage (line 1) | def percentage(num,percentage): FILE: kite/Backtester.py function handler (line 22) | def handler(signal_received, frame): FILE: kite/Brokers/MarketSimulator.py class TickGenerator (line 12) | class TickGenerator: method __init__ (line 13) | def __init__(self,data_path=None, exchange = None, symbol=None, start_... method __iter__ (line 20) | def __iter__(self): method __next__ (line 23) | def __next__(self): method daterange (line 47) | def daterange(self): class TickSimulator (line 51) | class TickSimulator(threading.Thread): method __init__ (line 53) | def __init__(self,data_path='/home/harpal/Desktop/StockHistorical/data', method stop (line 71) | def stop(self): method run (line 78) | def run(self): method get_subscribed_ticker (line 114) | def get_subscribed_ticker(self): method subscribe (line 117) | def subscribe(self, start_date = None, end_date = None, tickers:list= ... method place_order (line 140) | def place_order(self,symbol = None, method get_margins (line 150) | def get_margins(self): method init_trade_setup (line 153) | def init_trade_setup(self, stratergy): method _tick_consumer (line 157) | def _tick_consumer(self,ticks): FILE: kite/Brokers/Zerodha.py class None_Web_Eelement (line 29) | class None_Web_Eelement: method __init__ (line 31) | def __init__(self): method __bool__ (line 37) | def __bool__(self): method getInstance (line 39) | def getInstance(): method click (line 44) | def click(self): method find_element_by_xpath (line 47) | def find_element_by_xpath(self,text): class ZC (line 51) | class ZC: class ZerodhaConnect (line 73) | class ZerodhaConnect(threading.Thread): method __init__ (line 77) | def __init__(self,usr = None, headless = True): method set_logger (line 145) | def set_logger(self, hslogger = None): method set_mailer (line 148) | def set_mailer(self, mailer = None): method stop (line 152) | def stop(self): method wait_for_login (line 157) | def wait_for_login(self): method get_subscribed_ticker (line 164) | def get_subscribed_ticker(self): method subscribe (line 167) | def subscribe(self,time_interval = 5,mode='ltp'): method add_kite (line 210) | def add_kite(self,stock_name): method delete_first_kite (line 225) | def delete_first_kite(self): method delete_all_kite (line 248) | def delete_all_kite(self): method place_order (line 259) | def place_order(self,symbol = None, method run (line 380) | def run(self): method get_ticks_data (line 413) | def get_ticks_data(self,instruments, timeStamp): method get_margins (line 453) | def get_margins(self): method get_holdings (line 472) | def get_holdings(self): method exit_all_positions (line 498) | def exit_all_positions(self): method get_position (line 505) | def get_position(self): method get_positions (line 527) | def get_positions(self): method get_table_in_pd (line 553) | def get_table_in_pd(pd_table,el_table): method get_soup_text (line 564) | def get_soup_text(soup:BeautifulSoup=None, tag=None, class_name=None): method find_el_by_class_name (line 575) | def find_el_by_class_name(el,class_name): method init_trade_setup (line 581) | def init_trade_setup(self,stratergy): method _tick_consumer (line 585) | def _tick_consumer(self,ticks): method _after_market_tick_consumer (line 599) | def _after_market_tick_consumer(self,ticks): FILE: kite/Loggers/StockDataLogger.py class TickLogger (line 10) | class TickLogger(): method __init__ (line 11) | def __init__(self, csv_file_name, tick): method append (line 27) | def append(self,tick): method save (line 36) | def save(self): class StockLogger (line 41) | class StockLogger(threading.Thread): method __init__ (line 42) | def __init__(self, base_path='/home/harpal/Desktop/StockHistorical/dat... method __log_into_panda (line 59) | def __log_into_panda(self,ticks): method save_to_files (line 89) | def save_to_files(self): method stop (line 95) | def stop(self): method log_ticks (line 98) | def log_ticks(self,ticks): method run (line 105) | def run(self): FILE: kite/Stock.py class AdDict (line 13) | class AdDict(dict): method __setattr__ (line 14) | def __setattr__(self, key, value): method __getattr__ (line 17) | def __getattr__(self, item): class Stock (line 20) | class Stock: method __init__ (line 23) | def __init__(self, exchange, symbol, broker): method update_margins (line 61) | def update_margins(self): method square_off_buy_trade (line 71) | def square_off_buy_trade(self, trade): method square_off_sell_trade (line 85) | def square_off_sell_trade(self,trade): method chart_it (line 92) | def chart_it(self, data): method place_buy_order (line 99) | def place_buy_order(self, qtn = None): method place_sell_order (line 115) | def place_sell_order(self, qtn = 1): method save (line 126) | def save(self): FILE: kite_fun.py function thursday (line 1) | def thursday(): function option_names (line 23) | def option_names(strike_price,ceorpe): function select_strike_price (line 42) | def select_strike_price(ltp): function open_positions (line 45) | def open_positions(): function is_option_active (line 58) | def is_option_active(): function check_target (line 71) | def check_target(target=0.8): function new_positions (line 87) | def new_positions(): function less_risk (line 113) | def less_risk(risk): function get_sleep_time (line 123) | def get_sleep_time(): function create_basket (line 135) | def create_basket(): function name_to_price (line 158) | def name_to_price(stock_name): function add_instruments_basket (line 160) | def add_instruments_basket(stock_names,market=True,qty=50,overnight=True... function check_margin (line 200) | def check_margin(stock_names,market=True,overnight=True,close=True,buy_s... function check_max_loss (line 217) | def check_max_loss(stock_names,market=True,qty=qty,overnight=True,resist... function basket_order (line 269) | def basket_order(stock_names): function clean_basket (line 299) | def clean_basket(all=False): function get_strike_price (line 334) | def get_strike_price(old_trend, new_trend,ce_or_pe,next=False,risk=risk): function get_best_strike_price (line 350) | def get_best_strike_price(old_trend,new_trend): function best_option_selection (line 359) | def best_option_selection(next=False,resistance_up=False,resistance_down... function refresh_every (line 398) | def refresh_every(count): function qty_check (line 404) | def qty_check(old_trend=None,margin=None): function refresh (line 435) | def refresh(): function position_trend (line 445) | def position_trend(): function which_week (line 459) | def which_week(): function is_today_expiry (line 476) | def is_today_expiry(): function exit_i (line 495) | def exit_i(i): function final_exit_button (line 498) | def final_exit_button(): function list_open_nifty_options (line 501) | def list_open_nifty_options(): function exit_nifty_options (line 508) | def exit_nifty_options(): function exit_positions (line 513) | def exit_positions(to_exit): FILE: kite_price_check.py function login (line 12) | def login(): FILE: kite_strategy.py function thursday (line 84) | def thursday(): function option_names (line 106) | def option_names(strike_price,ceorpe): function select_strike_price (line 125) | def select_strike_price(ltp): function open_positions (line 128) | def open_positions(): function is_option_active (line 141) | def is_option_active(): function check_target (line 154) | def check_target(target=0.8): function new_positions (line 170) | def new_positions(): function less_risk (line 196) | def less_risk(risk): function get_sleep_time (line 206) | def get_sleep_time(): function create_basket (line 225) | def create_basket(): function name_to_price (line 248) | def name_to_price(stock_name): function add_instruments_basket (line 250) | def add_instruments_basket(stock_names,market=True,qty=50,overnight=True... function check_margin (line 290) | def check_margin(stock_names,market=True,overnight=True,close=True,buy_s... function check_max_loss (line 307) | def check_max_loss(stock_names,market=True,qty=qty,overnight=True,resist... function basket_order (line 359) | def basket_order(stock_names): function clean_basket (line 389) | def clean_basket(all=False): function get_strike_price (line 424) | def get_strike_price(old_trend, new_trend,ce_or_pe,next=False,risk=risk): function get_best_strike_price (line 440) | def get_best_strike_price(old_trend,new_trend): function best_option_selection (line 449) | def best_option_selection(next=False,resistance_up=False,resistance_down... function refresh_every (line 488) | def refresh_every(count): function qty_check (line 494) | def qty_check(old_trend=None,margin=None): function refresh (line 525) | def refresh(): function position_trend (line 535) | def position_trend(): function which_week (line 549) | def which_week(): function is_today_expiry (line 566) | def is_today_expiry(): function exit_i (line 585) | def exit_i(i): function final_exit_button (line 588) | def final_exit_button(): function list_open_nifty_options (line 591) | def list_open_nifty_options(): function exit_nifty_options (line 598) | def exit_nifty_options(): function exit_positions (line 603) | def exit_positions(to_exit): FILE: login_fyers.py function login_fyers (line 28) | def login_fyers(): FILE: zerodha_own_api.py function send_variables (line 10) | def send_variables(a,d): function thursday (line 15) | def thursday(): function option_names (line 37) | def option_names(strike_price,ceorpe): function select_strike_price (line 56) | def select_strike_price(ltp): function open_positions (line 59) | def open_positions(): function is_option_active (line 72) | def is_option_active(): function check_target (line 85) | def check_target(target=0.8): function new_positions (line 98) | def new_positions(): function less_risk (line 124) | def less_risk(risk): function get_sleep_time (line 134) | def get_sleep_time(): function create_basket (line 142) | def create_basket(): function name_to_price (line 165) | def name_to_price(stock_name): function add_instruments_basket (line 167) | def add_instruments_basket(stock_names,market=True,qty=50,overnight=True... function check_margin (line 194) | def check_margin(stock_names,market=True,overnight=True,close=True,buy_s... function check_max_loss (line 207) | def check_max_loss(stock_names,market=True,qty=50,overnight=True): function basket_order (line 243) | def basket_order(stock_names): function clean_basket (line 274) | def clean_basket(all=False): function get_strike_price (line 309) | def get_strike_price(old_trend, new_trend,ce_or_pe,next=False): function get_best_strike_price (line 325) | def get_best_strike_price(old_trend,new_trend): function best_option_selection (line 334) | def best_option_selection(next=False): function refresh_every (line 354) | def refresh_every(count): function qty_check (line 360) | def qty_check(old_trend=None,margin=None): function refresh (line 389) | def refresh(): function position_trend (line 396) | def position_trend():