Algo trading strategies Codes

Hi, I am looking to create algo’s for trading but all my algo’s have failed in back testing. Are there any source codes available for already back tested strategies? please let me know if i can find some open-source python scripts/codes for already back tested algo strategies?