Search results

  1. B

    IB API HOWTOs and Guidelines - For Beginners

    you need to build your own front end, Excel is fine for most trading logic, but the IB API for Excel is very clumsy and prone to manipulation error for Java, using Eclipse RCP as a Rich Client for the underlying IB API is also a very good option. This is my next project and might do a...
  2. B

    IB API HOWTOs and Guidelines - For Beginners

    that's not a tutorial at all, but just another undocumented framework for IB API I understand a lot of developers confuse listing their source code with documenting their code, but really, that link above is just another example of poor documentation for the IB API in Python. I came across a...
  3. B

    IB API HOWTOs and Guidelines - For Beginners

    Does the IB server have echos for the Order Status messages ? quite possible, but as long as you trace the messages, don't see why this is a problem. If it's a simple echo of the same message, the attributes have not changed, and that still shouldn't affect your trading logic. What I did see...
  4. B

    IB API HOWTOs and Guidelines - For Beginners

    In the following Python example we will write a simple SELL order for 100 shares in GTAT @ 11 # LOAD the ib.ext and ib.opt Libraries from ib.ext.Contract import Contract from ib.ext.Order import Order from ib.opt import Connection, message # DEFINE a basic function to capture error...
  5. B

    IB API HOWTOs and Guidelines - For Beginners

    not sure if we are talking about the same thing, but it's not really a duplicate status call back because the IB server sends back a long reply that can be handled by 2 different functions, but too often developers will use 1 function to trap the long reply. Below is the IB Server reply after...
  6. B

    Open source Auto Trading for IB TWS

    That's also a good way to do it I think there is a WAMP portable version also available http://portableapps.com/apps/development/xampp
  7. B

    IB API HOWTOs and Guidelines - For Beginners

    ok next example, how to send an actual trade to IBGW, in this case buying shares on a company with a limit price.
  8. B

    IB API HOWTOs and Guidelines - For Beginners

    The Yahoo groups are mostly for trading logic, which is another topic in itself. This is what I am referring to in the intro, many times there is a confusion between trading logic and the execution side of an OMS. In HFT (High Frequency Trading), the trading logic is basically bound to the...
  9. B

    IB API HOWTOs and Guidelines - For Beginners

    It is important to understand that the requests will trigger different replies with different frequencies. Some requests will trigger long replies that can be "attributed" to different message handlers, like we saw in the example above with reqAccountUpdates(1, ''). The request gave replies to...
  10. B

    IB API HOWTOs and Guidelines - For Beginners

    now, let's practice what we preach. The following example assume that IbPy has already been installed in your Python installation. First, launch the IBGW and enter your login/passwd This is a Python code example, to be executed through the Python shell with or without GUI...
  11. B

    IB API HOWTOs and Guidelines - For Beginners

    To structure the IB functions, you will need to perform the followings: 1. Launch the IBGW with your login/passwd. 2. The IBGW will have the following parameter: port=4001 3. Connect to the IBGW with the "ib.opt" classes using the IBGW port=4001 4. For each connection to the IBGW...
  12. B

    IB API HOWTOs and Guidelines - For Beginners

    I am quite amazed how little info and understanding there is about the infamous IB API despite the popularity of IB and its platform. First a quick summary to understand the IB API Architecture, in an easy to understand format: 1. IB is built on a client/message server architecture...
  13. B

    Open source Auto Trading for IB TWS

    mySQL 4.0 is recommended, mySQL 4.1 had a number of problems, mySQL 5.0 is the new commercial version mySQL 4.0 should be easy to install and maintain, the issue is not so much the installation process, but knowledge about client/server architecture for a database system if you are not...
  14. B

    58.com (WUBA) - China's Craigslist

    quite some simplification you have here, buying crappy Chinese companies at some overvalued price that will crash eventually is not the same thing as the fall of the Roman Empire anyway, the Chinese economy is not doing so great, a lot of unemployed, unpaid debt by companies and...
  15. B

    58.com (WUBA) - China's Craigslist

    I don't pretend that I can market time perfectly the Chinese collapse, that's quite a naive assumption to make why would I want to waste time market timing a market that I know will collapse at a random time ? and follow the silly crowd in the process ? it's a fool market, last thing you need...
  16. B

    Bitcoin thread anyone?

    I doubt the upper middle class with enough money would bother with the bitcoin thing when they are more interested in their social status with the next BMW and all the gold they can buy. Having lived in the region for more than a decade, I speak from experience. Chinese upper middle class is...
  17. B

    Bitcoin thread anyone?

    indeed, the elite rich Chinese don't need bitcoin to "hedge" against their local exposure into RMB, they already have accounts and investment overseas. not buying that bitcoin thing, seems like a poor man solution to "hide" cash won illegally
  18. B

    58.com (WUBA) - China's Craigslist

    how naive and cute, I heard the same arguments and saw the same attitude before the 2008 subprime meltdown and the dot crash of 2000 China will crash, it's a given, but when is the only question it's perfectly normal for an economy to crash and burn after decades of uncontrolled growth...
  19. B

    58.com (WUBA) - China's Craigslist

    surely investors and traders are not drinking the Chinese Kool Aid and believe all the crap and shit that country is exporting physically and financially having lived and done business in the region for more than a decade, I am still surprised how "naive" western investors are when they come...
  20. B

    Bitcoin thread anyone?

    interesting, yes China is flooded with cheap money. Between corruption, local scams and the foreign capital inflow, it's one giant bubble waiting to burst, not different from what Europe or the US used to be. not sure about BitCoin. I thought they had shutdown the service. An exit strategy...
Back
Top