├── .ipynb_checkpoints ├── forex_stat_eurusd_m15_ohlc_binary_stat-checkpoint.ipynb ├── forex_stat_eurusd_m1_ohlc_binary_stat-checkpoint.ipynb └── forex_stat_eurusd_m5_ohlc_binary_stat-checkpoint.ipynb ├── EURUSD_M15_202001020600_202012310000.csv ├── EURUSD_M1_202001020600_202012310000.csv ├── EURUSD_M5_202001020600_202012030000.csv ├── LICENSE ├── README.md ├── forex_stat_eurusd_m15_ohlc_binary_stat.ipynb ├── forex_stat_eurusd_m1_ohlc_binary_stat.ipynb └── forex_stat_eurusd_m5_ohlc_binary_stat.ipynb /.ipynb_checkpoints/forex_stat_eurusd_m1_ohlc_binary_stat-checkpoint.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": {}, 6 | "source": [ 7 | "# Binary options put, call statistical research " 8 | ] 9 | }, 10 | { 11 | "cell_type": "markdown", 12 | "metadata": {}, 13 | "source": [ 14 | "This Notebook analyse forex data from EURUSD pair M1 timeframe for the binary options market \n", 15 | "the data is from the duration of january 1st 2020 to december 31st 2020, the aim of this research is to find a pattern \n", 16 | "the placing trades in the binary options markert, in other to accurately predict where a market will close, from \n", 17 | "the previous candles, if it closes above the open price of the candle in question it is a call option, if it closes below it is a put option, when the open price and the close price is the same this is a no trade option which is statistically rare, so this won't be a focal point in this study" 18 | ] 19 | }, 20 | { 21 | "cell_type": "code", 22 | "execution_count": 1, 23 | "metadata": {}, 24 | "outputs": [], 25 | "source": [ 26 | "#import the relevant packages\n", 27 | "import pandas as pd\n", 28 | "import numpy as np\n", 29 | "import seaborn as sns\n", 30 | "sns.set(color_codes=True)" 31 | ] 32 | }, 33 | { 34 | "cell_type": "code", 35 | "execution_count": 2, 36 | "metadata": {}, 37 | "outputs": [ 38 | { 39 | "data": { 40 | "text/html": [ 41 | "
\n", 42 | "\n", 55 | "\n", 56 | " \n", 57 | " \n", 58 | " \n", 59 | " \n", 60 | " \n", 61 | " \n", 62 | " \n", 63 | " \n", 64 | " \n", 65 | " \n", 66 | " \n", 67 | " \n", 68 | " \n", 69 | " \n", 70 | " \n", 71 | " \n", 72 | " \n", 73 | " \n", 74 | " \n", 75 | " \n", 76 | " \n", 77 | " \n", 78 | " \n", 79 | " \n", 80 | " \n", 81 | " \n", 82 | " \n", 83 | " \n", 84 | " \n", 85 | " \n", 86 | " \n", 87 | " \n", 88 | " \n", 89 | " \n", 90 | " \n", 91 | " \n", 92 | " \n", 93 | " \n", 94 | " \n", 95 | " \n", 96 | " \n", 97 | " \n", 98 | " \n", 99 | " \n", 100 | " \n", 101 | " \n", 102 | " \n", 103 | " \n", 104 | " \n", 105 | " \n", 106 | " \n", 107 | " \n", 108 | " \n", 109 | " \n", 110 | " \n", 111 | " \n", 112 | " \n", 113 | " \n", 114 | " \n", 115 | " \n", 116 | " \n", 117 | " \n", 118 | " \n", 119 | " \n", 120 | " \n", 121 | " \n", 122 | " \n", 123 | " \n", 124 | " \n", 125 | " \n", 126 | " \n", 127 | " \n", 128 | " \n", 129 | " \n", 130 | " \n", 131 | " \n", 132 | " \n", 133 | " \n", 134 | " \n", 135 | " \n", 136 | " \n", 137 | " \n", 138 | " \n", 139 | " \n", 140 | " \n", 141 | " \n", 142 | " \n", 143 | " \n", 144 | " \n", 145 | " \n", 146 | " \n", 147 | " \n", 148 | " \n", 149 | " \n", 150 | " \n", 151 | " \n", 152 | " \n", 153 | " \n", 154 | " \n", 155 | " \n", 156 | " \n", 157 | " \n", 158 | " \n", 159 | " \n", 160 | " \n", 161 | " \n", 162 | " \n", 163 | " \n", 164 | " \n", 165 | " \n", 166 | " \n", 167 | " \n", 168 | " \n", 169 | " \n", 170 | " \n", 171 | " \n", 172 | " \n", 173 | " \n", 174 | " \n", 175 | " \n", 176 | " \n", 177 | " \n", 178 | " \n", 179 | " \n", 180 | " \n", 181 | " \n", 182 | " \n", 183 | " \n", 184 | " \n", 185 | " \n", 186 | " \n", 187 | " \n", 188 | " \n", 189 | " \n", 190 | " \n", 191 | " \n", 192 | " \n", 193 | " \n", 194 | " \n", 195 | " \n", 196 | " \n", 197 | " \n", 198 | " \n", 199 | " \n", 200 | " \n", 201 | " \n", 202 | " \n", 203 | " \n", 204 | "
<DATE><TIME><OPEN><HIGH><LOW><CLOSE><TICKVOL><VOL><SPREAD>
02020.01.0206:00:001.121321.121331.121281.121311403
12020.01.0206:01:001.121311.121331.121311.121321604
22020.01.0206:02:001.121321.121331.121311.12132903
32020.01.0206:03:001.121321.121341.121321.121321903
42020.01.0206:04:001.121321.121331.121321.12132304
..............................
3717112020.12.3023:56:001.230031.230091.229941.230073000
3717122020.12.3023:57:001.230071.230121.230031.230034600
3717132020.12.3023:58:001.230041.230071.229971.229974000
3717142020.12.3023:59:001.229871.229871.229611.229617010
3717152020.12.3100:00:001.229631.229781.229631.229757028
\n", 205 | "

371716 rows × 9 columns

\n", 206 | "
" 207 | ], 208 | "text/plain": [ 209 | "