IB - Booktrader 906 no more single click!

Discussion in 'Interactive Brokers' started by atrocious, Jun 14, 2010.

  1. mark1

    mark1 Guest

    There's a compiler for 64 bit, I'll post later the exe
     
    #261     Dec 14, 2010
  2. mark1

    mark1 Guest

    Hmmm, that's actually the compiler I already used for these scripts. Did you try to run it in Xp compatability ?
    Disabled UAC ?
    Same problem with any script even the first versions?

    You could also try to download the latest autohotkey release and install it on your PC, this way you can double click the source file .ahk and the script will work as an exe even if it's not compiled.

    Reading around ,It seems Vista 64 hates AHK

    lemme know
     
    #262     Dec 14, 2010
  3. mark1

    mark1 Guest

    This should work on any windows x64 system.

    Basically I re-wrote the same exact script for AutoIt which is the "Parent" of Autohotkey.
    They share very similar Language and Functions, but AutoIt fully supports 64 bit arch.(at least,so they say)

    You'll find X64, x32 and source file + ReadMe

    Run X64 ofc. :D

    as you can see the core of the script is not very different from AHK:



    While 1

    WinWait ("Order Confirmation")
    Opt("MouseCoordMode", 1)
    $pos = MouseGetPos()



    if $pos[0] >= 300 Then

    Opt("MouseCoordMode", 0)
    MouseClick("primary", 278, 104, 1, 0)

    Else

    Opt("MouseCoordMode", 0)
    MouseClick("primary", 50, 104, 1, 0)

    EndIf

    Opt("MouseCoordMode", 1)
    Mousemove( $pos[0] ,$pos[1], 0)
    WinWaitClose("Order Confirmation")
    WEnd



    Lemme know how it works, I currently don't use any 64 bit sys, so I couldn't test it, the 32 bit code works perfectly here
     
    #263     Dec 14, 2010
  4. First, thx Mark for sharing this script.


    second, as a data point, i am using 64 bit, saved the .exe file to my desktop, clicked it, and that was it- it works!

    thx again. you saved me some money yesterday; as the delay and chasing limit orders would have been costly in some fast moving markets (copper esp.) that i'm trading.
     
    #264     Dec 14, 2010
  5. mark1

    mark1 Guest

    Great ;D
     
    #265     Dec 14, 2010
  6. ib7746

    ib7746

    Thanks Mark! The x64.exe did the trick. The only issue is that after clicking on the DOM to put an order in, the mouse jumps above the DOM instead of staying put where clicked. Not sure if this is by design or not - still much better than before. I'm using v910.9.
     
    #266     Dec 14, 2010
  7. mark1

    mark1 Guest

    I think I know what's going on.
    The script runs faster than your TWS...
    Made a few changes to prevent that ...
    Try this and let me know , it should run even faster than the other one without causing the problem
     
    #267     Dec 15, 2010
  8. ib7746

    ib7746

    Tried the new version - still getting the mouse jump to the Order Panel above the DOM.
     
    #268     Dec 15, 2010
  9. mark1

    mark1 Guest

    Uncheck that freaking TWS setting shown here :D

    [​IMG]


    Now behold the speed of execution...lol

    you r welcome :)
     
    #269     Dec 15, 2010
  10. nasdorq

    nasdorq

    Thanks Mark and Asterix for your help. Your are doing a huge favor to those who don't have the know how, which is most of us. I went with the Java and it worked great.

    I have a quick side question which is related to alternative front ends to IB/booktrader. I don't want to change the subject, but since some on this board were familiar with other options maybe they could help.

    I'm mainly an equities trader who's recently been forced to move over to IB from a normal equities trading platform like Lightspeed or Sterling. The issue I'm having with booktrader and IB in general is the ease of flipping through symbols quickly. It was easy to do this on other platforms, just have the level II as the active window and type in different symbols, and up pops the data. It seems like button/ninja/bracket etc are best suitable for traders who trade 1 or a small group of symbols. Does anyone have any ideas for an interface where I can just type stock symbols quickly and freely without much hassle, and would allow hotkeys for order entry as opposed to mouse clicking? Any ideas would be extremely appreciated.

    Cheers and good trading
     
    #270     Dec 20, 2010