analyse_trading_fees#

analyse_trading_fees(state)[source]#

Create a table containing trading fees for every trade.

Returns:

DataFrame with the following columns.

  • strategy_cycle_at

  • pair_ticker

  • trade_type (“buy” or “sell”)

  • pair_id

  • value_usd

  • fee_tier

  • fees_paid_usd

  • fees_paid_pct

  • fees_estimated_usd

  • fees_estimated_pct

Parameters:

state (State) –

Return type:

DataFrame