pymarket.plot.huang module

pymarket.plot.huang.plot_huang_auction(bids, price_sell, price_buy, quantity_traded, ax=None)[source]

Plots the results of the huang auction with some of the characteristics of such auction

Parameters:
  • (pandas dataframe) (bids) – Table with all the bids submitted
  • (list) (price_buy) – The price at which all sellers sell
  • (list) – The price at which all players buy
  • traded (float) (quantity) – The total quantity traded
Returns:

axe – The axe in which the figure was plotted.

Return type:

matplotlib.axes._subplots.AxesSubplot