Search results

  1. P

    IB: API problems placing first order of the day (sometimes)

    +1 Also explains why sleeping the thread for a couple seconds or calling reqCurrentTime() is a workaround, the delay increases the chance that the UI thread will finish working. No guarantees though, so it is a serious design flaw.
  2. P

    How can an NRI open a bank account in India to trade on IB?

    http://www.sovereignman.com/finance/a-simple-shortcut-for-a-foreign-bank-account
  3. P

    Trader wannabe with no money. Work for free?

    With trading, hard work doesn't equal success, so to solicit money at this point would probably be a disaster. If you have some programming skills and are willing to work hard, why not take a year and throw yourself into backtesting & strategy development? If you come up with something, you...
  4. P

    Best practices?

    My specific algorithm is to maintain a "float stupid" per symbol. If stupid crosses above some threshold, there is a problem. So to buy AAPL at limit X and then sell AAPL at limit (X-0.2%), add 0.2 to stupid. Buy AAPL at limit X and sell AAPL at limit (X-0.4%), add 0.4 to stupid. Buy AAPL at...
  5. P

    Best practices?

    Good plan, I am an experienced coder but still had an obscure scenario last year where my code flipped a contract 200 times at market costing $10k. Needless to say, I put in place an "N orders in 10 minutes" type filter.
  6. P

    Stock market is so flat the last 2 days !

    A nice gap down, but things are still pretty dead? Maybe we gotta go a bit lower to see some action.
  7. P

    Best practices?

    I don't depend on a cancel rejection message. I log the message and, unless the order is confirmed as 100% filled, it tries to cancel again. I have received a cancel rejection both before and after a fill. I have received a cancel rejection with a blank reason code. My code immediately...
  8. P

    Best practices?

    After several iterations with these types of issues, my final design is that the strategy code makes no assumptions about what execution you will get. For example to buy at market, instead of sending a market order and assume I have a position, I send a limit buy above the ask to the execution...
  9. P

    Stock market is so flat the last 2 days !

    Obama needs to get on this problem
  10. P

    IB: API problems placing first order of the day (sometimes)

    I believe I had this problem. Are you placing an order very soon after you get the callback to nextValidId? Wait a couple of seconds.
  11. P

    Dire Warning From Ron Paul

    Proverbs 22:7 The rich rule over the poor, and the borrower becomes the lender's slave. (As true today, as it was then)
  12. P

    Problem with Laser I CANNOT FIGURE OUT

    The IP addresses come from genesis.ini, so review that file with Genesis (or copy the genesis.ini from a working computer) Every time I upgrade Laser it breaks genesis.ini, and I have to restore the file from a backup, lol
  13. P

    Will the US Dollar Index go back to 115?

    I don't know about 115 but I think it will go higher than many think. I am in a long term trade .... long gold hedged with long US dollar index. So far doing well, and should be a good trade for the upcoming decade if we encounter more exciting times.
  14. P

    Etrade, wtfo?

    How about the ad for the US Census (part of a $340 million ad campaign :confused: )
  15. P

    Best Country for Trading (Tax efficiency)

    Would be Bob's account, not a joint account, so I think you just have to be able to trust Bob 100%. BUT how would the IRS view it when Bob wires a large sum of money into your bank account?
  16. P

    the sooner we get away from BEEF

    http://bacteriality.com/2008/01/26/cad/ There’s also no denying that cholesterol levels tend to rise in people with CAD. The question is why. Do cholesterol levels rise because of the fact that people are eating more of the substance, thus clogging their arteries? Or does cholesterol rise...
  17. P

    Need one million to take off fast

    Jack? Is that you?
  18. P

    Encrypting files

    I did some work on AES in college. Nothing breakthrough but I understand it backwards and forward. I don't trust that your testing even comes close. I want to see you crack stevegee58's file :D
  19. P

    Encrypting files

    http://www.schneier.com/blog/archives/2009/07/new_attack_on_a.html So it's news if AES-256 can be cracked in 2^119 or maybe 2^110.5 .... still far beyond any computer .... Are Schneier and the people who figured this out idiots too?
Back
Top