how to use backtesting in pi

i want backtesing example for pi.