Autotrading with TradeStation

Discussion in 'Automated Trading' started by JayK, Jun 13, 2005.

  1. I handled this issue by switching my strategies to Visual Basic. There are a lot of advantages that I have found so far. Almost eliminating erroneous trades is probably the biggest.
     
    #11     Jun 15, 2005
  2. lassiter

    lassiter

    maxpi (or anyone) what type of watchdog software would you recommend using? I too would prefer to have a built in safeguard limiting the number of trades made in a day.

    Thanks.

    lassiter
     
    #12     Jun 15, 2005
  3. Are you using Trade Station? That can easily be done by using the following

    if tradestoday(date) < N then
    ...
    end;
     
    #13     Jun 15, 2005
  4. JayK

    JayK

    Thanks for the good input folks, I really appreciate your help :)
     
    #14     Jun 15, 2005
  5. As long as your trading is not hyperactive (like avg trade duration = approx 3 seconds or whatever) and you take into account what others have said here, #1 is OK. i.e. you baby sit TS whilst it is auto-trading for you, and you handle exceptions.

    With regards to #2, forget it, and I mean it when I said it is not a TS issue. It has nothing to do with TS. Would you trust any unsupervised autonomous man-made entity trading on your behalf? I must emphasize that word - unsupervised. Do you have a fault tolerant cluster? Do you have fault tolerant internet connectivity / auto broker switching?

    WTF do you do when ES Globex goes down (if you were trading that animal)? Does you strategy offset your risk by taking the other side in SP (pit) or YM (CBOT)/SPY (AMEX) (or whatever) if CME is not accessible?

    Something to think about...

    You'll be OK, just don't think you can party like there's no tomorrow totally grooving out on some deephouse, with your PC trading for you.

    Regs, EQ.
     
    #15     Jun 15, 2005
  6. maxpi

    maxpi

    Use a global variable in all your strategies that gets incremented with every trade. Have the strategies check it before placing a trade, if the number is too high it's a no-go.
     
    #16     Jun 15, 2005
  7. lassiter

    lassiter

    Thanks to all for your assistance!
     
    #17     Jun 15, 2005
  8. Thanks for the perspectives

    How does one ensure that only the current bar is used to generate trades in TS?

     
    #18     Jun 16, 2005
  9. if lastbaronchart ....
     
    #19     Jun 16, 2005
  10. telozo

    telozo

    Tradestation only places actual live orders if they are generated by the last bar on chart (and of course the strategy is enabled to generate real orders). There is no need to check for that, it is done automatically for you, and the reason is that if you load a strategy for a data stream, or a refresh of the data stream is done, old orders will not be placed again as live orders.

    So, let's say it is now 12:00 PM, and you start Tradestation and load a strategy for a 5min data stream, and let's say that at 10:00 AM a buy order is generated by the strategy. Tradestation will not place that order live, since it was generated by a bar that is not the last bar on chart.

    If, on the other hand you started Tradestation at 9:30 AM and loaded the strategy, at 10:00 AM, when that bar was the last bar on chart, the order will be placed as a live one.

    In both insctances the strategy order will be generated, but only in the second case as a live order too.
     
    #20     Jun 16, 2005