How do i search and query based on time?

will the compound/secondary index be like this? { "time_stamp": 1, "trading_pair": 1 }

also here is what i have for the collection settings

	opts := options.CreateCollection().
	SetTimeSeriesOptions(options.TimeSeries().
	SetGranularity("minutes").
	SetMetaField("trading_pair").
	SetTimeField("time_stamp")).
	SetExpireAfterSeconds(2592000)

and current output in mongo express looks like this

{
    time_stamp: ISODate('2022-02-08T08:59:12.000Z'),
    trading_pair: 'REP-BTC',
    trading_disabled: false,
    status: 'online',
    price: 0.000341,
    _id: ObjectId('6202311075483463619c0723')
}