pymarket.plot.trades module

pymarket.plot.trades.plot_trades_as_graph(bids, transactions, ax=None)[source]

Plots all the bids as a bipartit graph with buyers and trades and an edge between each pair that traded

  • bids (pd.DataFrame) – Collection of bids to be used
  • transactions (pd.DataFrame) – Collection of transactions to be used
  • ax (pyplot.axe) – The axe in which the figure should be ploted

axe – The axe in which the figure was plotted.

Return type: