# index.html & domReady files

## index.html
The home page is determined in the file index.html (see: /lex-opt_4.00/index.html) and opened by - during development by selecting the directory lex-opt and - for operation by writing lex-opt.com in a browser.

The file index.html includes scripts that:
   - load JSON script files 

The index.html page includes a script which loads the domReady.js - this function initializes the home page.

## domReady file

 - initialized global varibles, e.g., archive, tokens etc.
 - calculates the time between market open and the current time
 - initializes the execution by running "window.addEventListener('load', (event) => ..."
 - this calls:
    - data resource loader functions, get nuData - current prices for equities
    - get option data - for each open option get 