Quote from Trader922:
Anton- Does OpenQuant support having a session open with more than one broker?
i.e. trade mainly through broker A, but hedge open positions using broker B if broker A goes down for some reason.
If it is not supported, do you have any suggestions on how to handle this?
Thanks,
Eric
No it doesn't, quanthouse has this ability.
I dont know if you are thinking about using broker B, if broker A goes down cause you'll be in Hawaii for the week and you know that the internet can go down time to time but...
If broker A goes down you code something so it plays a sound and take the appropiate action.
People often have this vision that they'll go take a vacation and turn on their auto trading system. OpenQuant is a great platform to automate your strategy, but there is always something that you haven't taken into consideration in your coding that will cause a not so nice error. Sometimes I leave the system running when I'm out & about. One Time I had the system running and went to go eat (Keep in mind I've been running strategies live with OQ). When I came back I had realized that every 30 sec, I bought 500 shares of xyz and thankfully sold short 500 shares of zyx every 30 seconds as the market fell.
When I came back my buying power was maxed out and I wasn't able to send in anymore orders. Thank god that brokerage was IB, which does that... had it been genesis it would have just keep going & going & going. I ended up loosing only ~ $1,000 on the whole mistake, but it could have been much worse (also better too
) but all in all this error was my fault as I didn't code this rare circumstance.I learned my lesson