Skip to content

Latest commit

 

History

History
57 lines (41 loc) · 2.45 KB

README.md

File metadata and controls

57 lines (41 loc) · 2.45 KB

PFund-Plot

Twitter Follow GitHub stars Jupyter Notebook Marimo PyPI downloads PyPI PyPI - Support Python Versions

This library is NOT ready for use, please wait for 0.1.0 release.

Problem

Traders often need to quickly visualize their data without investing time in learning new tools. For example, plotting an orderbook should be as simple as writing a single line of code.

Solution

We created a high-level plotting library that combines the best features from existing plotting and dashboarding libraries into an easy-to-use interface.


pfund-plot candlestick streaming example


PFund-Plot is a super high-level, out-of-the-box, domain-specific plotting library designed for traders that supports financial data visualization, dashboard creation, and template sharing.

Core Features

  • Multi-Display Mode: support displaying plots in a Jupyter notebook, Marimo notebook, browser and desktop window
  • Streaming Data: support streaming data in real-time by just setting streaming=True
  • DataFrame Agnostic: support pandas, polars, and dask
  • Big Data Plotting: support plotting large datasets
  • Financial Plots: plot financial data by just one function call, e.g. candlestick, orderbook, trades etc.
  • Combine multiple plots into a dashboard quickly for visualization

Installation

pip install pfund-plot

Usage

import pfeed as pe
import pfund_plot as plt

feed = pe.YahooFinanceFeed()
df = feed.get_historical_data(product='AAPL_USD_STK', resolution='1d', rollback_period='1y')

fig = plt.ohlc(df, display_mode='browser', streaming=False)