generate_lending_universe#
API documentation for tradeexecutor.testing.synthetic_lending_data.generate_lending_universe Python function.
- generate_lending_universe(bucket, start, end, reserves, aprs)[source]#
Generate sample lending time series data.
The output candles are deterministic: the same input parameters result to the same output parameters.
- Parameters:
- Return type:
tuple[tradingstrategy.lending.LendingReserveUniverse, tradingstrategy.lending.LendingCandleUniverse]