PriceGenerator is the platform for generating prices similar to real stock prices, but you can control the statistics of their distribution. Use PriceGenerator to generate synthetic data to test your trading strategy.
Read forex data in MetaTrader 4 .hst-format and convert into .csv file and pandas dataframe. See article (ru): https://forworktests.blogspot.com/2022/01/mt4forexparser-python-metatrader-4.html