Skip to content

Instantly share code, notes, and snippets.

@talvasconcelos
talvasconcelos / rawData.csv
Last active January 12, 2018 10:44
RNN Odds training set
We can't make this file beautiful and searchable because it's too large.
E0,14/08/10,Aston Villa,West Ham,3,0,H,2,0,H,M Dean,23,12,11,2,15,15,16,7,1,2,0,0,2,3.3,4,1.85,3.4,4.1,2,3.25,3.75,1.8,3.4,4,1.83,3.4,4.33,1.9,3.25,3.75,1.91,3.25,4.33,2,3.4,3.75,2,3.25,4.2,1.8,3.4,4.33,39,2.09,1.96,3.4,3.3,4.33,4.03,35,2.11,2.01,1.82,1.75,20,0,1.45,1.4,3,2.78
E0,14/08/10,Blackburn,Everton,1,0,H,1,0,H,P Dowd,7,17,2,12,19,14,1,3,2,1,0,0,2.88,3.25,2.5,2.75,3.25,2.45,2.9,3.2,2.4,2.55,3.2,2.5,2.8,3.3,2.5,2.7,3.2,2.4,2.88,3.2,2.5,2.75,3.3,2.5,3.1,3.3,2.38,2.7,3.25,2.5,39,3.15,2.92,3.4,3.25,2.55,2.44,36,2.2,2.08,1.79,1.7,29,0,2.2,2.05,1.85,1.75
E0,14/08/10,Bolton,Fulham,0,0,D,0,0,D,S Attwell,13,12,9,7,12,13,4,8,1,3,0,0,2.2,3.3,3.4,2.15,3.25,3.25,2.2,3.25,3.2,2.2,3.2,3,2.25,3.3,3.2,2.1,3.2,3.2,2.15,3.2,3.5,2.3,3.4,3,2.2,3.3,3.4,2.2,3.2,3.25,38,2.3,2.2,3.42,3.26,3.58,3.32,35,2.22,2.09,1.75,1.69,24,0,1.6,1.55,2.56,2.36
E0,14/08/10,Chelsea,West Brom,6,0,H,2,0,H,M Clattenburg,18,10,13,4,10,10,3,1,1,0,0,0,1.17,7,17,1.15,6.75,16,1.16,6.75,16,1.15,6.2,14,1.14,7.5,19,1.12,6.5,17,1.17,6.5,19,1.18,6.5,15,1.17
@talvasconcelos
talvasconcelos / example methods.js
Created January 24, 2018 18:35
Binance Example Methods
const api = require('binance')
const client = new api.BinanceRest({
key: 'key', // Get this from your account on binance.com
secret: 'secret', // Same for this
timeout: 15000, // Optional, defaults to 15000, is the request time out in milliseconds
recvWindow: 10000, // Optional, defaults to 5000, increase if you're getting timestamp errors
disableBeautification: false
})
//methods are inside a class...
@talvasconcelos
talvasconcelos / data.json
Last active April 10, 2018 15:11
TF Data
[[0.49041,0.4701,0.3428,0.04686,0.49296,0.5266,0.36,0.05473,0.50215,0.5189,0.3947,0.02093,0.50764,0.5772,0.3984,0.03492,0],[0.49296,0.5266,0.36,0.05473,0.50215,0.5189,0.3947,0.02093,0.50764,0.5772,0.3984,0.03492,0.50499,0.5173,0.3927,0.03735,0],[0.50215,0.5189,0.3947,0.02093,0.50764,0.5772,0.3984,0.03492,0.50499,0.5173,0.3927,0.03735,0.50189,0.5701,0.3805,0.04294,0],[0.50764,0.5772,0.3984,0.03492,0.50499,0.5173,0.3927,0.03735,0.50189,0.5701,0.3805,0.04294,0.49964,0.5625,0.3664,0.03873,0],[0.50499,0.5173,0.3927,0.03735,0.50189,0.5701,0.3805,0.04294,0.49964,0.5625,0.3664,0.03873,0.49888,0.54,0.3945,0.01002,0],[0.50189,0.5701,0.3805,0.04294,0.49964,0.5625,0.3664,0.03873,0.49888,0.54,0.3945,0.01002,0.50058,0.5108,0.432,0.01905,0],[0.49964,0.5625,0.3664,0.03873,0.49888,0.54,0.3945,0.01002,0.50058,0.5108,0.432,0.01905,0.50586,0.5841,0.5142,0.03558,0],[0.49888,0.54,0.3945,0.01002,0.50058,0.5108,0.432,0.01905,0.50586,0.5841,0.5142,0.03558,0.51225,0.6611,0.5877,0.08301,0],[0.50058,0.5108,0.432,0.01905,0.50586,0.5841,0
@talvasconcelos
talvasconcelos / ETHBTC.json
Last active May 2, 2018 14:02
raw_binance_data
This file has been truncated, but you can view the full file.
[
{
"openTime": 1507138200000,
"open": "0.06975000",
"high": "0.06999800",
"low": "0.06930100",
"close": "0.06973300",
"volume": "567.35800000",
"closeTime": 1507139099999,
"quoteAssetVolume": "39.49397318",
@talvasconcelos
talvasconcelos / BTCUSDT.json
Created May 14, 2018 17:31
raw binance BTC USDT
This file has been truncated, but you can view the full file.
[
{
"openTime": 1508187600000,
"open": "5700.02000000",
"high": "5709.99000000",
"low": "5700.01000000",
"close": "5700.06000000",
"volume": "10.86485600",
"closeTime": 1508188499999,
"quoteAssetVolume": "61930.40974316",
This file has been truncated, but you can view the full file.
[
{
"openTime": 1520229600000,
"open": "0.00000646",
"high": "0.00000750",
"low": "0.00000530",
"close": "0.00000580",
"volume": "11457702.00000000",
"closeTime": 1520230499999,
"quoteAssetVolume": "66.39046926",
[{"Case_No":1,"A1":0,"A2":0,"A3":0,"A4":0,"A5":0,"A6":0,"A7":1,"A8":1,"A9":0,"A10":1,"Sex":0,"Jaundice":1,"Family_mem_with_ASD":0,"Class":0},{"Case_No":2,"A1":1,"A2":1,"A3":0,"A4":0,"A5":0,"A6":1,"A7":1,"A8":0,"A9":0,"A10":0,"Sex":1,"Jaundice":1,"Family_mem_with_ASD":0,"Class":1},{"Case_No":3,"A1":1,"A2":0,"A3":0,"A4":0,"A5":0,"A6":0,"A7":1,"A8":1,"A9":0,"A10":1,"Sex":1,"Jaundice":1,"Family_mem_with_ASD":0,"Class":1},{"Case_No":4,"A1":1,"A2":1,"A3":1,"A4":1,"A5":1,"A6":1,"A7":1,"A8":1,"A9":1,"A10":1,"Sex":1,"Jaundice":0,"Family_mem_with_ASD":0,"Class":1},{"Case_No":5,"A1":1,"A2":1,"A3":0,"A4":1,"A5":1,"A6":1,"A7":1,"A8":1,"A9":1,"A10":1,"Sex":0,"Jaundice":0,"Family_mem_with_ASD":1,"Class":1},{"Case_No":6,"A1":1,"A2":1,"A3":0,"A4":0,"A5":1,"A6":1,"A7":1,"A8":1,"A9":1,"A10":1,"Sex":1,"Jaundice":0,"Family_mem_with_ASD":0,"Class":1},{"Case_No":7,"A1":1,"A2":0,"A3":0,"A4":1,"A5":1,"A6":1,"A7":0,"A8":0,"A9":1,"A10":0,"Sex":1,"Jaundice":1,"Family_mem_with_ASD":0,"Class":1},{"Case_No":8,"A1":0,"A2":1,"A3":0,"A4":0,"A
8003 6378 6762 6f6f 7374 2e73 6b6c 6561
726e 0a58 4742 436c 6173 7369 6669 6572
0a71 0029 8171 017d 7102 2858 0900 0000
6d61 785f 6465 7074 6871 034b 0558 0d00
0000 6c65 6172 6e69 6e67 5f72 6174 6571
0447 3fb9 9999 9999 999a 580c 0000 006e
5f65 7374 696d 6174 6f72 7371 054b c858
0600 0000 7369 6c65 6e74 7106 8858 0900
0000 6f62 6a65 6374 6976 6571 0758 0f00
0000 6269 6e61 7279 3a6c 6f67 6973 7469
This file has been truncated, but you can view the full file.
[
{
"openTime": 1509606000000,
"open": "0.00002246",
"high": "0.00002246",
"low": "0.00002246",
"close": "0.00002246",
"volume": "100.00000000",
"closeTime": 1509609599999,
"quoteAssetVolume": "0.00224600",
This file has been truncated, but you can view the full file.
[
{
"openTime": 1501358400000,
"open": "0.01495200",
"high": "0.01518600",
"low": "0.01495200",
"close": "0.01510500",
"volume": "735.90000000",
"closeTime": 1501361999999,
"quoteAssetVolume": "11.10641763",