Skip to content

Instantly share code, notes, and snippets.

@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 / 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 / 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 / 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