Where to find a programmer to automatically backtest a system

Discussion in 'Hook Up' started by Astrevea, Apr 2, 2022.

  1. dholliday

    dholliday

    All but the most liquid symbols will be missing many minute bars throughout the day, let alone 15-second bars. If you want consistent bars you will need to create them yourself. My platform has a "plug holes" function for historical data. It adds missing bars before the symbol started trading (new symbol), after the symbol stops trading (no longer traded), and missing bars in the middle. You will find that after the 1,000 most liquid symbols, there will be missing days in a few symbols. This is not a mistake, they had no trades. Of course, during live trading, I build missing bars on the fly from the tick data and a 1sec message.
    The commercial trading platforms are toys and writing your own platform is a major job even for a very experienced programmer. If you can find something that does most of what you want, and you can program the rest, go for it. Howard Bandy had some books that he shared his AmiBroker and python code. Something like that may get you to where you want to be.
     
    #41     Apr 6, 2022
  2. Astrevea

    Astrevea

    It doesn't freeze but it is very slow indeed. I am still undecided about what I am going to do about all this.. the reasons are in the rest of this post.
    Where do you live and would you be willing to work via upwork etc?
    Thanks for letting me know, could you tell me why you are willing to do it for free? I am assuming you are already doing well in the markets, i.e. consistently profitable, etc.. Is it to find out about alternative methods of trading or you are so good at programming that it will take you no time?
    The data source I was trying to use has "filter flats" option, if it is unchecked it is supposed to give you all the candles, including the ones where no trading occurred, I am thinking they are just not a perfect data source, maybe that is the reason.
    I researched the Interactive Brokers option, and you can get historical data from them, but for candles of 30sec and less you can only get the history for the last 6 months.:( Above that you can go back many years.
    The method I want to backtest is all about "aggregating" M20-M30 (and all TFs in between with 15 sec increments) candlesticks from 15 sec candlesticks, to capture the maximum number of trading opportunities. Ideally even 5 sec candles. By aggregating using 1 min candles there will be a huge number of opportunities missed (the majority of them).
    I am really surprised you have your own trading platform. What broker do you use by the way and what markets do you trade?
     
    #42     Apr 6, 2022
  3. Astrevea

    Astrevea

    Also I wanted to write a separate post about this candle aggregation/creation concept that I keep referring to, I have no idea what percentage of traders on this forum use this concept, maybe a lot, maybe very few. I am new here... I am sure you can create a set of rules without the candle aggregation technique and trade that way successfully, but I have thought long and hard about it, and for me this is what makes the most sense. Once the M20-M30 candles are aggregated/created from smaller TF candles, I am looking for a 7 candle formation, there are rules for each of the 7 candles (purely in terms of its relative HtoL and what percentage of the candles HtoL is its body). One candle should be a shallow pullback (38.2% at most, but a round number such as 40% can be used, doesn't matter much). Also the first candle of the 7 candle formation should be large (I use the previous 15 historical candles of the same TF and this candle should be at least twice the size of the average of those 15 candles). There are some more rules, but I have already specified some of the key ones. Also I know this method works, but the whole point is to find out just how well it works.
    At the moment it seems like I am going to have to use IBs 15 sec/5 sec historical data, which is only available for last 6 months like I said, therefore the number of samples won't be very large, requiring me to go live with small risks initially, and as I continue forward testing it, there will be more and more stats on the method.
     
    #43     Apr 6, 2022
  4. dholliday

    dholliday

    Interactive Brokers with IQFeed data. Stocks only.
     
    #44     Apr 7, 2022
  5. dholliday

    dholliday

    I actually have several trading systems that aggregate ticks into one-minute bars and one-minute bars into various length bars (though I haven't found anything less than 3 min useful), starting at different minute intervals.
    Coding on this platform is quite complicated. Over time I have made it easier. and will eventually have some templates for different types of systems. Backtesting requires too much custom code. There is a bunch of stuff needed to make it easier. I don't really need more work to do, but some of the stuff I will be testing for myself is similar to what you're doing anyway. Currently, I don't plan to use sub-one-minute data for testing so maybe it's not a good idea anyway.
    Some day I may want to switch to NxCore data, then I could build everything from the raw tick data and testing would just run the same code. Oh well, for now, DTN works great for me.
    Good luck.
     
    #45     Apr 7, 2022
  6. dholliday

    dholliday

    Since you know it works and you use IB, their paper-trading account is very good. Forward test. You will see the slippage and commissions. If it works, great. This is what I do.
    Best of luck.
     
    #46     Apr 7, 2022
    rb7 likes this.
  7. fan27

    fan27

    What is your budget for this project?
     
    #47     Apr 7, 2022
  8. Learn coding. Quantconnect is a best way for learning ,coding,backtesting and runing algorithmic trading .
    I am programmer and i Can help so i speak not english vert good
     
    #48     Apr 9, 2022
  9. Astrevea

    Astrevea

    It is difficult to say right now, I am willing to pay a reasonable amount, but what a reasonable amount is I cannot say at the moment, I have been busy with other things and haven't yet tried upwork (which I know some people are not kin on). I will create a request there today and see if anyone replies.
    Thanks for your advice, I understand it is beneficial, but I have too many other responsibilities in life now to be able to dedicate myself, especially to such a level where I can run a robust backtest and then create a robust trading algo.
     
    #49     Apr 9, 2022
    trader221 likes this.
  10. Backtesting is pretty useless and even detrimental. One needs a throughout simulation study to have useful insight into the avg behaviour of your approach.
     
    #50     Apr 9, 2022