Script that pulls btc and eth mark price, funding and oi data from bitmex, bybit, binance amd okex for perpetual swap contract
pip install packages that are missing from your environment
few packages that need to be installed are already listed in oi_mark_fundig.py file, if any other are missing install them
In oi_mark_fundig.py change data_file_path variable to your own folder path in rows 42 and 174, this same path also need to be changed in GUI-newV2.py in rows 109 and 127
When you install everything and change the file path, put empty files from empty data storage files folder into data storage folder and replace them
When you have empty files in data storage folder run GUI-newV2.py and click start. Script will collect data every 15 minutes and you can see data by clicking on BTC or ETH button in GUI, you can also change time interval in GUI-newV2.py file in row 22 -> replace 15 with your desired interval
NEW [26.12.2020] : DISCORD INTEGRATION
oi_mark_funding_discord.py and collect_data.py script files are needed in the same folder in order for this to work
Also you need to replace webhook url at the start of oi_mark_funding_discord.py file (line 37) and set the time you want to start the script in the collect_data.py file (line 8)
binance_f and okex folders are also needed in the same folder as script files
NOTE
GUI is not yet finished and it's size could be odd on screens that are not in 4k resolution
To avoid this GUI problem you can create your own script with infinite while loop that calls get_and_store_btc_data() and get_and_store_eth_data() functions from oi_mark_fundig.py on your desired interval, data will be then displayed in console