Skip to content

Resample tick data from bitcoincharts csv into OHLC bars

License

Notifications You must be signed in to change notification settings

spyer/myresample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

myresample

Resample tick data from bitcoincharts csv into Open High Low Close bars with Volume

Installation:

pip install pandas  
git clone https://github.com/spyer/myresample.git

Usage:

Required arguments:  
  --file FILE          Path to input csv file  
  
Optional arguments:  
  --outfile [OUTFILE]  Path to output csv file (default: "resampled" + "file" + "period".csv)  
  --period [PERIOD]    Resample period (default: 15min). Pandas format   
                       (see more at: 
                       http://pandas.pydata.org/pandas-docs/stable/timeseries.html#offset-aliases )  
  --fillna [FILLNA]    How to fill N/A values (default: 0.0)  
  --sep [SEP]          Output csv separator (default: ,)  

About

Resample tick data from bitcoincharts csv into OHLC bars

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages