get_feed_for_pair#

get_feed_for_pair(df, pair)[source]#

Get candles for a single pair.

Parameters:
  • df (DataFrame) –

    An OHLCV dataframe.

    Generated with ohlcv_resample_trades()

  • pair (str) – Which pair we are interested in

Returns:

Dataframe for this pair

Return type:

DataFrame