Ventures of an ex indie game developer

Releasing finplot

I'm very satisfied with my homebrew Python finance plotting library, finplot, which has served me well and has a nice and clean api - plus it's pretty stable. Thus I pip-ified it in hope someone else will put it to good use.


This is what a minimal example looks like:

import finplot, pandas, requests

# download some data
data = requests.get('https://www.bitmex.com/api/udf/history?symbol=XBTUSD' + \
                    '&resolution=1&from=1546881600&to=1546911600').json()
df = pandas.DataFrame(data)

# pick time, open, close, high and low fields for candles
candle_data = finplot.PandasDataSource(df[['t','o','c','h','l']])
finplot.candlestick_ochl(candle_data)
finplot.show()

Auto-zoom-scale/-pan, crosshair, measuring and snap included among other things. Pretty sweet, huh?

About the author

Mitt foto
Gothenburg, Sweden