orderbook

Python grouping Orderbook (Pandas dataframe)

Python grouping Orderbook (Pandas dataframe) Question: asks_price asks_qty exchange_name_ask bids_price bids_qty exchange_name_bid 0 20156.51 0.000745 Coinbase 20153.28 0.000200 Coinbase 1 20157.52 0.050000 Coinbase 20152.27 0.051000 Coinbase 2 20158.52 0.000745 Coinbase 20151.28 0.000200 Kraken 3 20158.52 0.050000 FTX 20151.28 0.051000 Coinbase I would like to group the same price, add quantity together and combine the name …

Total answers: 2