How can I do backtesting of the strategies I am coding in Python

vivek_agg
Hi,
I have started coding the strategies in Python. Created an app on the portal, used API_KEY, SECRET_KEY, and sessions and started coded my strategy.
I want to do the back testing to check the performance of my strategy. Is there any platform like we have in MQL5.
Please suggest.
Is there any videos on people to start automation using Kite Connect?

Regards
Vivek
  • ANL
    ANL edited May 20
    I would recommend you build your own backtesting program for your specific purpose; I am sure no other backtesting platform offers to test exactly your strategy or the tweaking you require, though they are charging. You must understand whatever you do with them you are exposed !!

    Whatever you do with algo trading, don't depend on any other backtesting or so-called algo platforms; it won't help you to make money; you will lose; they'll make money anyway. Put your efforts into learning and just do it!

    check more through FAQ
  • vivek_agg
    Thanks for the response. So that means for backtesting, I need to download the historical data and code to do the backtesting my strategy.
    Will it be similar way I need to code if I need to run my strategy in demo mode on live data (without real trades)?

    Also, in one of the videos you had shared, it mentioned about downloading the data using Chart IQ8 (beta) version for web only.
    But I am unable to see that option which was mentioned in one of those videos.

    Please confirm.

    Regards
    Vivek
  • ANL
    Will it be similar way I need to code if I need to run my strategy in demo mode on live data (without real trades)?
    Whatever you do without pushing real orders it is considered as backtesting, you can do live testing also but don't push real orders to kite just simulate it to know how it works and just tweak it.
    Also, in one of the videos you had shared, it mentioned about downloading the data using Chart IQ8 (beta) version for web only.
    But I am unable to see that option which was mentioned in one of those videos.
    I have not watched the video; I just shared it. video may confuse you, so avoid it. You can build your own candle from historical data, or you can directly fetch ready-made candles from Kite using the historical data API.
    Also, don't think that you can build and learn everything in a couple of days; it might take time. It is a long journey you need to have patience to understand every nuance of coding and the market. Before jumping to algo trading, you have to learn about market microstructure and coding, CPU, DBs, different architecture, networks, other IT etc.
Sign In or Register to comment.