Skip to content

Instantly share code, notes, and snippets.

@25mordad
Last active December 5, 2020 16:49
Show Gist options
  • Save 25mordad/511f39f7cb15260736248ce261008a0f to your computer and use it in GitHub Desktop.
Save 25mordad/511f39f7cb15260736248ce261008a0f to your computer and use it in GitHub Desktop.
Date Open High Low Close Volume sma20 target position
2020-08-13 05:00:00 11535.8 11535.8 11535.8 11535.8 1873.347976 11549.85 1 open_long
2020-08-13 06:00:00 11553.32 11553.32 11553.32 11553.32 1905.10438 11551.7535 0 close_long
2020-08-13 07:00:00 11513.43 11513.43 11513.43 11513.43 2564.345451 11554.403 1 open_long
2020-08-13 08:00:00 11415.23 11415.23 11415.23 11415.23 4958.504154 11549.6745 1 hold_long
2020-08-13 09:00:00 11402.63 11402.63 11402.63 11402.63 4899.807935 11541.846 1 hold_long
2020-08-13 10:00:00 11471.4 11471.4 11471.4 11471.4 2969.403142 11536.2 1 hold_long
2020-08-13 11:00:00 11552.11 11552.11 11552.11 11552.11 4451.902329 11534.733 0 close_long
2020-08-13 12:00:00 11466.38 11466.38 11466.38 11466.38 3925.673258 11530.657 1 open_long
2020-08-13 13:00:00 11504.81 11504.81 11504.81 11504.81 2828.125955 11529.3005 1 hold_long
2020-08-13 14:00:00 11526.59 11526.59 11526.59 11526.59 2665.153332 11530.0305 1 hold_long
2020-08-13 15:00:00 11499.78 11499.78 11499.78 11499.78 2320.675975 11526.5705 1 hold_long
2020-08-13 16:00:00 11530 11530 11530 11530 2403.502899 11525.071 0 close_long
2020-08-13 17:00:00 11521.23 11521.23 11521.23 11521.23 1736.399181 11526.1965 1 open_long
2020-08-13 18:00:00 11488.53 11488.53 11488.53 11488.53 1752.536352 11523.4085 1 hold_long
2020-08-13 19:00:00 11506.17 11506.17 11506.17 11506.17 1310.67699 11520.5005 1 hold_long
2020-08-13 20:00:00 11602.2 11602.2 11602.2 11602.2 3315.932097 11518.898 0 close_long
2020-08-13 21:00:00 11685.4 11685.4 11685.4 11685.4 5770.583892 11522.859 0
2020-08-13 22:00:00 11717.7 11717.7 11717.7 11717.7 4892.522891 11530.3905 0
2020-08-13 23:00:00 11780 11780 11780 11780 2403.971444 11541.03 0
2020-08-14 00:00:00 11753.57 11753.57 11753.57 11753.57 3747.833808 11551.314 0
2020-08-14 01:00:00 11781.2 11781.2 11781.2 11781.2 2208.152465 11563.584 0
2020-08-14 02:00:00 11727.08 11727.08 11727.08 11727.08 2017.000225 11572.272 0
2020-08-14 03:00:00 11723.23 11723.23 11723.23 11723.23 2427.133198 11582.762 0
2020-08-14 04:00:00 11714.73 11714.73 11714.73 11714.73 1767.185008 11597.737 0
2020-08-14 05:00:00 11718.29 11718.29 11718.29 11718.29 2361.27635 11613.52 0
2020-08-14 06:00:00 11668.96 11668.96 11668.96 11668.96 2080.432688 11623.398 0
2020-08-14 07:00:00 11696.98 11696.98 11696.98 11696.98 3113.244775 11630.6415 0
2020-08-14 08:00:00 11681.37 11681.37 11681.37 11681.37 2687.105221 11641.391 0
2020-08-14 09:00:00 11698.38 11698.38 11698.38 11698.38 2537.994996 11651.0695 0
2020-08-14 10:00:00 11720.72 11720.72 11720.72 11720.72 2279.50557 11660.776 0
2020-08-14 11:00:00 11760.81 11760.81 11760.81 11760.81 2399.516793 11673.8275 0
2020-08-14 12:00:00 11739 11739 11739 11739 2220.748879 11684.2775 0
2020-08-14 13:00:00 11714.02 11714.02 11714.02 11714.02 3061.475153 11693.917 0
2020-08-14 14:00:00 11706.71 11706.71 11706.71 11706.71 2649.706528 11704.826 0
2020-08-14 15:00:00 11740.35 11740.35 11740.35 11740.35 3015.378066 11716.535 0
2020-08-14 16:00:00 11809.85 11809.85 11809.85 11809.85 5536.041176 11726.9175 0
2020-08-14 17:00:00 11787.66 11787.66 11787.66 11787.66 2838.337331 11732.0305 0
2020-08-14 18:00:00 11823.24 11823.24 11823.24 11823.24 2323.336575 11737.3075 0
2020-08-14 19:00:00 11801.94 11801.94 11801.94 11801.94 2019.252991 11738.4045 0
2020-08-14 20:00:00 11762.04 11762.04 11762.04 11762.04 1941.449442 11738.828 0
2020-08-14 21:00:00 11761.8 11761.8 11761.8 11761.8 1658.380538 11737.858 0
2020-08-14 22:00:00 11776.72 11776.72 11776.72 11776.72 1686.854485 11740.34 0
2020-08-14 23:00:00 11760.54 11760.54 11760.54 11760.54 1241.510432 11742.2055 0
2020-08-15 00:00:00 11916.96 11916.96 11916.96 11916.96 5531.61402 11752.317 0
2020-08-15 01:00:00 11921.77 11921.77 11921.77 11921.77 2307.608239 11762.491 0
2020-08-15 02:00:00 11889 11889 11889 11889 1652.851041 11773.493 0
2020-08-15 03:00:00 11888.67 11888.67 11888.67 11888.67 1443.357523 11783.0775 0
2020-08-15 04:00:00 11863.65 11863.65 11863.65 11863.65 2434.90653 11792.1915 0
2020-08-15 05:00:00 11890.5 11890.5 11890.5 11890.5 1714.236308 11801.7975 0
2020-08-15 06:00:00 11883.93 11883.93 11883.93 11883.93 1890.562962 11809.958 0
2020-08-15 07:00:00 11891.32 11891.32 11891.32 11891.32 2102.539757 11816.4835 0
2020-08-15 08:00:00 11865.05 11865.05 11865.05 11865.05 2711.742798 11822.786 0
2020-08-15 09:00:00 11896.07 11896.07 11896.07 11896.07 2228.63431 11831.8885 0
2020-08-15 10:00:00 11866.25 11866.25 11866.25 11866.25 1848.833888 11839.8655 0
2020-08-15 11:00:00 11843.02 11843.02 11843.02 11843.02 2025.47235 11844.999 1 open_long
2020-08-15 12:00:00 11749.33 11749.33 11749.33 11749.33 4641.735728 11841.973 1 hold_long
2020-08-15 13:00:00 11793.02 11793.02 11793.02 11793.02 2507.961531 11842.241 1 hold_long
2020-08-15 14:00:00 11805.69 11805.69 11805.69 11805.69 2088.496268 11841.3635 1 hold_long
2020-08-15 15:00:00 11851.99 11851.99 11851.99 11851.99 2222.249506 11843.866 0 close_long
2020-08-15 16:00:00 11854.04 11854.04 11854.04 11854.04 2122.310378 11848.466 0
2020-08-15 17:00:00 11857.03 11857.03 11857.03 11857.03 1366.139698 11853.2275 0
2020-08-15 18:00:00 11879.26 11879.26 11879.26 11879.26 1146.238472 11858.3545 0
2020-08-15 19:00:00 11837.11 11837.11 11837.11 11837.11 1517.65422 11862.183 1 open_long
2020-08-15 20:00:00 11860.98 11860.98 11860.98 11860.98 1396.331248 11859.384 0 close_long
2020-08-15 21:00:00 11894.61 11894.61 11894.61 11894.61 4566.090989 11858.026 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment