File tree 2 files changed +22
-0
lines changed
2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -48,3 +48,4 @@ xgboost
48
48
/dow_jones_index. *
49
49
/optdigits.tes
50
50
/optdigits.tra
51
+ /Bitfinex_ *
Original file line number Diff line number Diff line change
1
+ bitfinex .p: string `daily`hourly`minutely ! `d`1h`minute
2
+ bitfinex .c: string `BTCUSD`ETHUSD`LTCUSD`AIDUSD`BATUSD`DAIUSD`DASHUSD
3
+ bitfinex .c,: string `EDOUSD`EOSUSD`ETCUSD`ETPUSD`NEOUSD`OMGUSD`QTUMUSD
4
+ bitfinex .c,: string `REPUSD`TRXUSD`XLMUSD`XMRUSD`XVGUSD
5
+ bitfinex .c,: string `BTCEUR`ETHEUR`EOSEUR`NEOEUR`TRXEUR`XLMEUR`XVGEUR
6
+ bitfinex .c,: string `BTCGBP`ETHGBP`EOSGBP`NEOGBP`TRXGBP`XLMGBP`XVGGBP
7
+ bitfinex .c,: string `BTCJPY`ETHJPY`EOSJPY`NEOJPY`TRXJPY`XLMJPY`XVGJPY
8
+ bitfinex .c,: string `ETHBTC`LTCBTC`XRPBTC`DAIBTC`DASHBTC
9
+ bitfinex .c,: string `EOSBTC`OMGBTC`REPBTC`TRXBTC`XMRBTC
10
+ bitfinex .f: bitfinex .p {"_" sv ("Bitfinex" ;y;x, ".csv" )}/:\: asc bitfinex .c
11
+ bitfinex .b: "http://www.cryptodatadownload.com/cdd/"
12
+ -1 "[down]loading bitfinex data set" ;
13
+ .ut.download [bitfinex .b ;;"" ;"" ] each raze bitfinex .f ;
14
+ .bitfinex.load: {[f ]
15
+ if [not count t : ("* *FFFF F" ;1 # "," ) 0: 1 _ read0 f;: ()];
16
+ t : `time`sym`open`high`low`close`qty xcol t;
17
+ t : update time : "P" $? [12 >count each time ;time ;-3 _/: time ] from t;
18
+ t : update sym : ` $ sym except \: "/" from t;
19
+ t : `sym xcols 0 ! select by time from t; / remove duplicates
20
+ t}
21
+ bitfinex ,: ({update `p # sym from x} raze .bitfinex.load peach :: )' [` $ bitfinex .f ]
You can’t perform that action at this time.
0 commit comments