Recent content by GunsnMoney

  1. G

    Here's what happened after i buy course from Scott Phillips

    I bought this system too, but I'd like to point out that it's a system with many rules to follow. It takes a lot of practice to trade his system well and it is very difficult to master. It does have a good edge and Scott is legit in his methods. He even has a weekly review of every trade to look...
  2. G

    IB API HOWTOs and Guidelines - For Beginners

    Butterfly, I ran across a short IBPy tutorial by sentdex on YouTube. Also, many videos he has uploaded on just about anything Python: https://www.youtube.com/user/sentdex/videos
  3. G

    IB API HOWTOs and Guidelines - For Beginners

    Butterfly, this is awesome. Thanks, unfortunately I had to move on to programming my app in Java. But I'm sure others will find this useful. Is the ft variable now just a string of the OrderStatus() message? I could just use string processing to get the filled=0 value (0) into a "filled" variable?
  4. G

    IB API HOWTOs and Guidelines - For Beginners

    2rosy, you are correct. I do not know why there isn't just a reqOrderStatus() function. But I thought the client ID needed to unique. Now that I look at it, it looks like clientID should be 0 for the API orders with a unique orderId (incremented) and for TWS orders the orderId is 0 and clientId...
  5. G

    IB API HOWTOs and Guidelines - For Beginners

    I didn't think reqAutoOpenOrders() returns filled=0 or orderStatus()?
  6. G

    IB API HOWTOs and Guidelines - For Beginners

    Thanks for the link. It certainly looks possible, however, for a beginner in programming what you sent is like trying to take a sip of water from a firehose. Other, more specific help on how to implement this into my code is welcome, thanks. Until then I'll keep studying methods, modules and...
  7. G

    IB API HOWTOs and Guidelines - For Beginners

    Actually, this works only once but doesn't update the fillStatus variable every time an OrderStatus message is sent from IB. I looked at it's type and saw it was a tuple (immuttable) so I tried to define as a list and a dict but it still would not update on each new message (and you know IB...
  8. G

    IB API HOWTOs and Guidelines - For Beginners

    I figured it out and because I'm not a total douche here is what I did: def print_orderstatus(msg): global fillStatus if msg.filled == 0 and msg.orderId==NextOrderId: fillStatus = 'NextOrderId=',msg.orderId,'filled=',msg.filled print 'FillStatus =', fillStatus if...
  9. G

    IB API HOWTOs and Guidelines - For Beginners

    Thanks, appreciate all responses. But I am asking how my algorithm can get the "filled=0" field from the IB message into the code (as a variable or object....) so it can deal with it. Remember this is about developing an ATS and some of us really are beginners in programming.
  10. G

    IB API HOWTOs and Guidelines - For Beginners

    Butterfly, now that we've got an orderStatus response from IB, how can I cancel/replace an order only if its filled=0. I was hoping for an example of code for changing a price. You said in the first few posts that what we did with the IB responses is what makes the difference in an effective...
  11. G

    Seeking a usable CobWeb interface

    How do you get the COB data feed. I'm finding it is very costly to get data for a COB of any kind.
Back
Top