Real Money Automated Trading Journal

Discussion in 'Automated Trading' started by frostengine, Jul 19, 2012.

  1. Made it most of the week without any issues, and had 2 phantom trades appear today. This is getting ridiculous. I have an account at IB and am tempted to move back there. However, the commission structure is not conducive to "testing" a strategy live like this. I also am starting to like the pay for limits system at MBT.

    Should not have to worry about these kind of issues...
     
    #71     Aug 23, 2012
  2. kandlekid

    kandlekid

    Hello Vince,

    You seem to be coming from a similar background as myself (order routing developer). I assume that you did not write the FIX engine yourself (which in itself would be an impressive accomplishment). Anyway, I believe that Sierra Chart uses C++, but I think it's Visual C++, not gcc, etc. So I guess you'd have t run it under one of the emulators (wine ?).
     
    #72     Aug 24, 2012
  3. j2ee

    j2ee

    Would amibroker or tradelink perform better than NT for this case?
     
    #73     Aug 24, 2012
  4. <b>Results for the week of 8/19-8/24</b>
    <b>Starting Balance:</b> $998.98
    <b>Ending Balance:</b> $1000.83
    <b>P/L:</b> +$1.85
    <b>Pips:</b> +18
    <b>Trades:</b> 33
    <b>Avg Trade (pips):</b> +.54
    <b>Skipped Trades:</b> 11
    <b>Total Slippage:</b> -13.8 pips
    <b>Commission:</b> $0
    <b>Total Cost Per Trade (pips):</b> -.4 pips

    <b>Thoughts</b>
    I am a little disappointed in the uptick of skipped trades this week. However, I did have a nice decrease in slippage. More work needs to be done here on how to minimize slippage while minimizing skipped trades.
    I was very pleasantly surprised by the fact that I had $0 commission this week. The pay for limits is really paying off. Enough to offset the few market orders I have to place each week. Biggest change between this week and last week was fixing some issues in using limits on my exits.

    <b>Challenges</b>
    Phantom trades continue to plague me. I now have it narrowed down to being potentially a NinjaTrader bug after a disconnect from the order server. When it comes back, appears NinjaTrader marks outstanding orders as filled when it was not actually filled, causing a snow ball affect when I exit a position that does not exist, essentially creating a trade in opposite direction.
     
    #74     Aug 24, 2012
  5. Hi kandlekid,

    Thanks for input, I looked at Sierra Chart it runs on .NET. I have my platform ~85% done so I am not looking for a platform, I am looking for a book or paper that explains how to design ATS. I want to know if I made the right architectural decisions and I will not have some sort of bottleneck or deficiency in the future.
     
    #75     Aug 24, 2012
  6. jcl

    jcl

    This might not be NinjaTrader's fault, but a problem with the broker API. Many APIs have such problems. It often requires some tricks to work around them when you implement an API.
     
    #76     Aug 27, 2012
  7. Eight

    Eight

    We use third party software so that they can work around the bugs in the brokers' API. There are some that live up to that requirement and some that don't..
     
    #77     Aug 27, 2012
  8. Another phantom trade occurred last night. This one does not seem directly related to a disconnect/reconnect event. However, I still need to perform analysis on it. Luckily this trade did not hurt me,in fact made a few pips.

    If I was able to simply see the "true" account positions (NinjaTrader has this as it shows on position tab), then the strategy could compare this as the only trades taken will be from the strategy, so if the positions are mismatched, exit out and restart the strategy. That would fix a lot of it.

    Another potential is to add some code to communicate directly with MB trading to pull down position information from within my strategy, appears to be a COM interface, so this may be doable.
     
    #78     Aug 29, 2012
  9. Mr_You

    Mr_You

    You originally stated you are using live money, but are you using the Sim101 account? Probably not but I thought I would mention the issue I had recently.

    I noticed "phantom" positions using the Sim101 account. This was the response from NinjaTrader Support:

     
    #79     Aug 29, 2012
  10. I wish I was using the SIM account. Unfortunately, I am trading using live money. I am being told to "replicate" the issue on SIM to "prove" its an issue with NinjaTrader. Sounds like your having issues on SIM as well. Hopefully they can resolve it.
     
    #80     Aug 29, 2012