mixing tick data and bars

Eliot Stock's Avatar

Eliot Stock

07 Apr, 2010 01:33 PM via web

Hi there,

Forgive me if I'm jumping the gun here since tick data isn't out yet, but when it does become available, will it be possible to write a strategy that uses both tick data and bars?

I'd like to use, say, 5 minute bars to set up some internal state but once a bar closes I don't want to wait for the close of the next bar to trade. I might want to trade during a bar, depending on the ticks. Will this be possible? What will the @MarketData annotation on the strategy class look like?

Thanks,

Eliot Stock.

  1. Support Staff 2 Posted by Eric on 08 Apr, 2010 09:23 AM

    Eric's Avatar

    Hi Eliot,

    Yes, in the end, we want to be able to mix ticks & bars. That said, I don't think that will be possible in the first release of ticks.

    That is still some distance in the future, too. Much remains to be decided and sorted out (not least scalability issues). The format of the annotations (and of the API) has not been decided yet.
    For the moment, we are concentrating on providing shorter bars, down to the minute.

    I hope this helps,

    Eric

  2. Eric closed this discussion on 08 Apr, 2010 09:23 AM.

  3. Eliot Stock re-opened this discussion on 09 Apr, 2010 11:59 AM

  4. 3 Posted by Eliot Stock on 09 Apr, 2010 11:59 AM

    Eliot Stock's Avatar

    Ok thanks. What about mixing bars of different lengths? Like daily and hourly in the same strategy? Doesn't seem possible with the annotations as they are now but I just wondered if that might be coming sooner than the tick data.

  5. Support Staff 4 Posted by Eric on 09 Apr, 2010 03:24 PM

    Eric's Avatar

    It is true that, technically, that could come earlier than ticks. I suppose we could do that.

    It all depends on what we'll think will be the most expected feature, once we actually have shorter bars running. But we're not there yet anyway. We'll decide on the priorities after we're done with them.

  6. Eric closed this discussion on 09 Apr, 2010 03:24 PM.

Comments are currently closed for this discussion. You can start a new one.