[IBrokers] From 0 to Algorithmic Trading

Discussion in 'Journals' started by jarjar, Feb 26, 2016.

  1. jarjar

    jarjar

    So I am starting to slowly trade with paper. Will hopefully have some results soon.
     
    #11     Apr 26, 2016
  2. jarjar

    jarjar

    Demo account up $900 PNL. Made 43 trades.

    Any tips in IB how to set a cutoff for PNL for the day would be appreciated. I rather have it reset at 8pm.
     
    #12     Apr 27, 2016
  3. Blimey that's a lot of trades. I'm curious as to what strategy you're trading. Do you think the demo account is giving you realistic fills?

    GAT
     
    #13     Apr 28, 2016
  4. jarjar

    jarjar

    I think the demo account maybe realistic enough, I am not sure. But I have seen cases on the demo account where the price hits my Ask for a SELL and the order in the demo does not get filled. Meaning the demo account on IB has some kind of respect for the queue.
     
    Last edited: Apr 28, 2016
    #14     Apr 28, 2016
  5. jarjar

    jarjar

    Huge losses today ($5000+) due to the market going down. The strategy cannot exit in the program as I have not coded it right yet. Going to try to get some ninjatrader stats posted with backtests as that is more reliable.

    So far I have this backtest:

    [​IMG]

    But no account for slippage as the NT backtester seems to not consider ticks, only bars.
     
    #15     Apr 28, 2016
  6. jarjar

    jarjar

    K the ninja trader backtester is terrible terrible terrible. So inaccurate. It appears I will have to buy the 15$ per symbol per year full tick data and replay the market on my own. NinjaTrader does not even do a market replay.
     
    #16     Apr 28, 2016
  7. Sdoofy

    Sdoofy

    Hi Jarjar, sounds like you were up to something, so 18 months later how is the strategy doing % return wise?
     
    Last edited by a moderator: Oct 28, 2017
    #17     Oct 28, 2017
  8. bitcoins

    bitcoins

    jar jar how did you connect to ibkr using erlang? is there a library for erlang to ibkr
     
    #18     Sep 10, 2021
  9. bitcoins

    bitcoins

    i am a long time lurker and had a quick query and was wondering if someone might have encountered a similar problem ie trying to ibkr api from erlang beam vm and might have a possible pointer or solution
    https://www.elitetrader.com/et/threads/ibrokers-from-0-to-algorithmic-trading.298125/
    the link shows erlang being used to place orders
    but i cannot find an erlang based library to access the ibkr tws api
    i was wondering if you had access to such a solution even home brewed and are not unwilling to share
    if not would be good to have pointers as erlang has nice soft real time guarantees that would be beneficial to our order management system
     
    #19     Sep 10, 2021