Search results

  1. Y

    Guaranteed Stop Loss orders with IB CFDs?

    Hi Community, Anyone have experience with guaranteed stop loss orders (GSLOs) and would you know if it's a service Interactive Brokers offers? I'm in Canada an CMC markets seems to offer them - I might have to switch. I'm thinking of using GSLOs instead of options as a guaranteed, black swan...
  2. Y

    Are MNX (Mini Nasdaq 100) options dead?

    What's the benefit of trading TQQQ? Yes it's 3X the daily move but also requires 3X the margin to trade (for the ETF anyway) - so the total size of the trade is the same whether you're trading 1 of TQQQ or 3 of QQQ - unless the options on TQQQ are more expensive and less likely to be in the...
  3. Y

    Are MNX (Mini Nasdaq 100) options dead?

    Hi all, I trade QQQ and was hoping to use long options on the Nasdaq as a backup to my stop loss orders. However, the NDX is pricey at 13,000+ notional! Options on a Nasdaq E-Mini would be great but when I look up MNX I get no options. Were options on MNX discontinued at some point due to low...
  4. Y

    Stop loss with different number of shares than position

    I see. thanks HobbyTrading
  5. Y

    Stop loss with different number of shares than position

    Just tried. The One-cancels-other doesn't work. Once my first limit is filled there's no more orders. The stop loss functionality won't work either because stop loss of an order must be on the same number of shares as the order itself.
  6. Y

    Stop loss with different number of shares than position

    To be clear, the alternative to the above would be to have two orders: Order 1: Create a stop loss for your existing 100 share position at $200 Order 2: Create a limit order for 100 shares short position at $200 with a stop loss at $250. Problem with this is I have to make two orders every...
  7. Y

    Stop loss with different number of shares than position

    Hi Community, I am looking into whether it's possible to do the following: Limit Order: Sell 200 shares at $200 limit price but if limit order is executed and then stock subsequently jumps then buy 100 shares at $250 limit price. Why not just do two limit orders you ask? Well, what if I'm...
  8. Y

    This BAG order works with Equity options. Why not with Index Options

    Figured it out. There's a mixing of NDX and NDXP in the coding :sneaky: Also, looks like with the below code you can't pull data for an expiry farther out than the next monthly expiry. So for example if the next expiry for the monthly NDX is 13th April, then you CAN'T pull data for weekly NDXP...
  9. Y

    This BAG order works with Equity options. Why not with Index Options

    NDX also trades weekly as NDXP and SPX trades weekly as SPXW. That adds to the confusion since I trade weekly - I would need one code for the weekly expiry SPXW and another code if next week is a monthly to trade SPX
  10. Y

    This BAG order works with Equity options. Why not with Index Options

    Hi Community, My coder wrote a code to execute a simple call spread for AAPL (call spread described below). It works for other equity options. Why doesn't it work for Index options like NDX and SPX? Why can't I just change 'AAPL' to 'NDX'? spread1_contract = Contract() spread1_contract.symbol...
  11. Y

    This code 'finds' market price for option spread. Why is it so slow?

    Our code runs faster now. We still used ib.reqMarketDataType(3) but we took out the ib.reqTickers it wasn't necessary and was just slowing things down. My coder looked at the link traider sent but didn't think it was relevant. We're just looking for simple bid & ask prices for option spreads...
  12. Y

    This code 'finds' market price for option spread. Why is it so slow?

    Sorry traider, we didn't understand your post. My coder took a look at self.on_tick and says that self.on_tick uses reqMktData itself. So essentially only way to get data is reqMktData or reqTicker functions. Does that sound right?
  13. Y

    IB algo for option combos ?

    You can't use IBALGO for BAG orders. We instead used SNAP to PRIM. See my code here: https://www.elitetrader.com/et/threads/this-code-finds-market-price-for-option-spread-why-is-it-so-slow.342016/
  14. Y

    This code 'finds' market price for option spread. Why is it so slow?

    Hi Community, The below code is built in Python using ib_insync. The goal is the execute an option spread at the market price. Often options are illiquid so so if you buy a spread you could pay higher than midprice and if you sell a spread you could sell for less than midprice, potentially...
  15. Y

    Not possible to request bid/ask of an option spread using IB API

    My coder figured it out. The problem was the ib.reqTickByTickData Solution: data = ib.reqTickers(spread_contract) print('ask_price: ', data[0].ask) print('bid_price: ', data[0].bid)
  16. Y

    Not possible to request bid/ask of an option spread using IB API

    Hi Community, I am coding a trading algo and trying to find a way to pull the bid/ask for a an equity option call spread - in Python using ib_insync. Code Below: whatsmyprice = ib.reqTickByTickData(spread_contract, "BidAsk", 0, True) print(whatsmyprice) Result: Error 321, reqId 88: Error...
  17. Y

    IB algo for option combos ?

    My upwork coder provided the following: ************** ib_order = LimitOrder('BUY', 1, 0.25, algoStrategy='Adaptive', algoParams=[TagValue('adaptivePriority', 'Patient')]) trade = ib.placeOrder(spread_contract, ib_order) **************** That will place an order for 1...
  18. Y

    Zombie orders can't be cancelled?

    The order went away so it wasn't there on Monday morning pre-market. Maybe it was as guru said, some servers may have been down
  19. Y

    Zombie orders can't be cancelled?

    Hi Community, I put in a spread order using an API. I put it into my live account to test (since markets are closed). But now I can't get rid of this order! If I try to cancel each one individually nothing happens. If as seen below I try to cancel them together by pressing Delete Rows/Cancel...
Back
Top