Support Board
Date/Time: Fri, 10 Jan 2025 16:11:19 +0000
Post From: Initialization Error
[2016-08-11 18:44:48] |
User713273 - Posts: 409 |
Communication w/ IB API team today, confused on what direction I should go from here. Siteng J: The log file shows the same behavior as we checked before Siteng J: Sierra chart invoked the function to request for account information before the connection has been fully established Siteng J: So there is a kind of competing session that no account data was returned eggnog999: When u say connection are you referring to full fill on order? Siteng J: No, when Sierra CHarts connects to TWS Siteng J: If you want to see this in the log, I can show you eggnog999: sure Siteng J: They just need to put in a wait of something so that only makes requests when the connection is fully established Siteng J: Open that file, search for "<- 6-2-1-U1644808" Siteng J: That is the request to get account information Siteng J: If you look at several lines below that, you should also see messages like "Market data farm connection is OK..." Siteng J: Those messages actually can be considered as a flag that shows the connection is successful Siteng J: Since the request came before those messages, no account data has been sent back through out the entire API connection session Siteng J: Here is a successful example: try to search for "<- 6-2-1-DU273679" Siteng J: This is the request to account data for your paper trading account Siteng J: You should see that request was sent after the messages "Market data farm connection is OK..." appeared in the log Siteng J: So account information and portfolio information was sent back by TWS immediately after the request was sent |