diff --git "a/live_data/analysis_of_markets_data.ipynb" "b/live_data/analysis_of_markets_data.ipynb" deleted file mode 100644--- "a/live_data/analysis_of_markets_data.ipynb" +++ /dev/null @@ -1,1040 +0,0 @@ -{ - "cells": [ - { - "cell_type": "code", - "execution_count": 14, - "metadata": {}, - "outputs": [], - "source": [ - "import pandas as pd\n", - "import matplotlib.pyplot as plt\n", - "import seaborn as sns\n", - "import gc" - ] - }, - { - "cell_type": "code", - "execution_count": 77, - "metadata": {}, - "outputs": [], - "source": [ - "old_fpmms = pd.read_parquet('./markets_live_data_old.parquet')" - ] - }, - { - "cell_type": "code", - "execution_count": 83, - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - " | creationTimestamp | \n", - "id | \n", - "liquidityMeasure | \n", - "liquidityParameter | \n", - "openingTimestamp | \n", - "outcomeTokenAmounts | \n", - "question | \n", - "title | \n", - "tokens_timestamp | \n", - "open | \n", - "first_token_perc | \n", - "second_token_perc | \n", - "votes_first_outcome_perc | \n", - "votes_second_outcome_perc | \n", - "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", - "1721960955 | \n", - "0x043c1634e14ab83238c8c6a1309788c3aca784e5 | \n", - "6279485274437737553 | \n", - "7000000000000000010 | \n", - "1722384000 | \n", - "[11251336507351233310, 4355038174174694575] | \n", - "{'answers': [], 'currentAnswerTimestamp': None... | \n", - "Will Conns HomePlus close more than 70 stores ... | \n", - "1722268929 | \n", - "True | \n", - "72.09 | \n", - "27.91 | \n", - "45.95 | \n", - "54.05 | \n", - "
1 | \n", - "1721871925 | \n", - "0x0682e2988497bcad4c0a60b20c06af2425ad1d1e | \n", - "0 | \n", - "0 | \n", - "1722297600 | \n", - "[0, 0] | \n", - "{'answers': [], 'currentAnswerTimestamp': None... | \n", - "Will the missing plane in Alaska be found by 2... | \n", - "1722268929 | \n", - "True | \n", - "0.00 | \n", - "0.00 | \n", - "55.41 | \n", - "44.59 | \n", - "
2 | \n", - "1722045065 | \n", - "0x17f2c97bf52a79671878201bf2995a3b6daba041 | \n", - "6095321493080794870 | \n", - "7000000000000000003 | \n", - "1722470400 | \n", - "[11991768897697257799, 4086136117033519393] | \n", - "{'answers': [], 'currentAnswerTimestamp': None... | \n", - "Will Apple Maps surpass Google Maps in terms o... | \n", - "1722268929 | \n", - "True | \n", - "74.59 | \n", - "25.41 | \n", - "0.00 | \n", - "100.00 | \n", - "
3 | \n", - "1722127095 | \n", - "0x18386924426f7c8ab7f5db4ad586c12dac5cd5e3 | \n", - "6563087300183711249 | \n", - "7000000000000000003 | \n", - "1722556800 | \n", - "[4869629170878169903, 10062367847850626262] | \n", - "{'answers': [], 'currentAnswerTimestamp': None... | \n", - "Will the new AI-powered upgrade for the Philip... | \n", - "1722268929 | \n", - "True | \n", - "32.61 | \n", - "67.39 | \n", - "66.67 | \n", - "33.33 | \n", - "
4 | \n", - "1722133525 | \n", - "0x1f0f1fd3fcb3b49eeeb6197abcb5c44c1907dfbd | \n", - "6858450807323054238 | \n", - "7000000000000000002 | \n", - "1722556800 | \n", - "[5714974221256982642, 8573966933699076673] | \n", - "{'answers': [], 'currentAnswerTimestamp': None... | \n", - "Will Harvey Weinstein recover from Covid-19 an... | \n", - "1722268929 | \n", - "True | \n", - "40.00 | \n", - "60.00 | \n", - "72.73 | \n", - "27.27 | \n", - "
\n", - " | creationTimestamp | \n", - "id | \n", - "liquidityMeasure | \n", - "liquidityParameter | \n", - "openingTimestamp | \n", - "outcomeTokenAmounts | \n", - "question | \n", - "title | \n", - "tokens_timestamp | \n", - "open | \n", - "first_token_perc | \n", - "second_token_perc | \n", - "votes_first_outcome_perc | \n", - "votes_second_outcome_perc | \n", - "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
47 | \n", - "1722038975 | \n", - "0xe4d078b9be12319c0063f58dc10f19604a5df163 | \n", - "6868403098642120683 | \n", - "7000000000000000002 | \n", - "1722470400 | \n", - "[8510941937601870124, 5757294593153662167] | \n", - "{'answers': [], 'currentAnswerTimestamp': None... | \n", - "Will the George Floyd Justice in Policing Act ... | \n", - "1722268929 | \n", - "True | \n", - "59.65 | \n", - "40.35 | \n", - "30.00 | \n", - "70.00 | \n", - "
48 | \n", - "1722221950 | \n", - "0xe67bb5f7355c5383db4ca3d04496dbc5258fe4f0 | \n", - "6126294842535304016 | \n", - "7000000000000000002 | \n", - "1722643200 | \n", - "[4128819631808010336, 11867798637293074830] | \n", - "{'answers': [], 'currentAnswerTimestamp': None... | \n", - "Will HP release a new AI software or hardware ... | \n", - "1722268929 | \n", - "True | \n", - "25.81 | \n", - "74.19 | \n", - "100.00 | \n", - "0.00 | \n", - "
49 | \n", - "1690321980 | \n", - "0xe7ed8a5f2f0f17f7d584ae8ddd0592d1ac67791f | \n", - "1999600120148065 | \n", - "10000000000001930 | \n", - "1730502000 | \n", - "[1009999000296889, 99009998990735258] | \n", - "{'answers': [], 'currentAnswerTimestamp': None... | \n", - "Will Twitter implement a new misinformation po... | \n", - "1722268929 | \n", - "True | \n", - "1.01 | \n", - "98.99 | \n", - "60.71 | \n", - "39.29 | \n", - "
50 | \n", - "1722223250 | \n", - "0xf2d66476f8c4b9e7a5401bf3e777ddb54f83b597 | \n", - "6408885494720959939 | \n", - "7000000000000000004 | \n", - "1722643200 | \n", - "[4570617012444494780, 10720653221783161222] | \n", - "{'answers': [], 'currentAnswerTimestamp': None... | \n", - "Will Intel release a patch to fix the instabil... | \n", - "1722268929 | \n", - "True | \n", - "29.89 | \n", - "70.11 | \n", - "90.91 | \n", - "9.09 | \n", - "
51 | \n", - "1722043025 | \n", - "0xf7d0728752d98c5506d0add8ae72f8acd23d3daa | \n", - "5894516319320961420 | \n", - "7000000000000000003 | \n", - "1722470400 | \n", - "[3829193421170799405, 12796428545262137507] | \n", - "{'answers': [], 'currentAnswerTimestamp': None... | \n", - "Will Microsoft fix the bug in the Windows 11's... | \n", - "1722268929 | \n", - "True | \n", - "23.03 | \n", - "76.97 | \n", - "100.00 | \n", - "0.00 | \n", - "
\n", - " | creationTimestamp | \n", - "id | \n", - "liquidityMeasure | \n", - "liquidityParameter | \n", - "openingTimestamp | \n", - "outcomeTokenAmounts | \n", - "question | \n", - "title | \n", - "tokens_timestamp | \n", - "open | \n", - "first_token_perc | \n", - "second_token_perc | \n", - "market_id | \n", - "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
12 | \n", - "1722221300 | \n", - "0x5470db6b2c2413c9d5018b29da6f6855cb43e2d8 | \n", - "6894859094417068722 | \n", - "7000000000000000002 | \n", - "1722643200 | \n", - "[5879628341375273143, 8333860093704267379] | \n", - "{'answers': [], 'currentAnswerTimestamp': None... | \n", - "Will the Disney Plus, Hulu, and Max streaming ... | \n", - "1722265929 | \n", - "True | \n", - "41.37 | \n", - "58.63 | \n", - "12 | \n", - "
\n", - " | market_id | \n", - "token | \n", - "amounts | \n", - "
---|---|---|---|
0 | \n", - "0 | \n", - "token_first_amount | \n", - "0 | \n", - "
1 | \n", - "1 | \n", - "token_first_amount | \n", - "6767700181775398163 | \n", - "
2 | \n", - "2 | \n", - "token_first_amount | \n", - "0 | \n", - "
3 | \n", - "3 | \n", - "token_first_amount | \n", - "0 | \n", - "
4 | \n", - "4 | \n", - "token_first_amount | \n", - "7582886067296150575 | \n", - "