Ilya Posted December 24, 2021 Report Share Posted December 24, 2021 I noticed that MT sometimes has delays in receiving new transactions. The delay can be up to an hour. And sometimes it may not come at all, but in this case, the MT does not send anything at all (no other data, be it a request for candles or something else), as if it was frozen. You restart MT and everything works again. Quote Link to comment Share on other sites More sharing options...
ahujat Posted December 24, 2021 Report Share Posted December 24, 2021 This is with regards to WS API. Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted December 24, 2021 Report Share Posted December 24, 2021 Huh? The API sends out the updates immediately upon receiving them. If you have a problem with not getting a transaction, send us the log and indicate which transaction you have a problem with Quote Link to comment Share on other sites More sharing options...
ahujat Posted December 24, 2021 Report Share Posted December 24, 2021 One issue that I have seen is that the fill details of transactions executed, in Coinbase Pro, are delayed in MT itself. MT Account View->transactions displays the position has been filled but the fill price is sometimes delayed. Quote Link to comment Share on other sites More sharing options...
Ilya Posted December 27, 2021 Author Report Share Posted December 27, 2021 On 12/24/2021 at 8:25 PM, Jerry Medved said: Huh? The API sends out the updates immediately upon receiving them. If you have a problem with not getting a transaction, send us the log and indicate which transaction you have a problem with Can you tell me where MT's logs are stored? Now I am faced with such a problem. When signing for an update of transactions, all transactions that were previously received. Then, when I made a purchase in IB, the API did not send a message about updating transactions. In the MT itself, in the "view account" window of the transaction, the transaction appeared, but was not sent. But if you press the refresh button (in the "view account" window), then the API sends a message about new transactions. Then I placed a limit order and there was also no update of transactions via the API. But in the MT itself (the "account view" window) there is also no information about the limty order, pressing the refresh button now did not help. I completely rebooted the MT program and after that everything worked in normal mode, all limit orders and transactions began to arrive. Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted December 27, 2021 Report Share Posted December 27, 2021 Go to FILE / HELP => Send Log/Settings to support menu (from Dashboard or Portfolio) And add this Post’s URL in the comment. Quote Link to comment Share on other sites More sharing options...
Ilya Posted December 27, 2021 Author Report Share Posted December 27, 2021 (edited) 19 minutes ago, Jerry Medved said: Go to FILE / HELP => Send Log/Settings to support menu (from Dashboard or Portfolio) And add this Post’s URL in the comment. I send log Edited December 27, 2021 by Ilya Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted December 27, 2021 Report Share Posted December 27, 2021 got the log. won't be able to check on it till late this week though Quote Link to comment Share on other sites More sharing options...
ahujat Posted January 7, 2022 Report Share Posted January 7, 2022 Any updates Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted January 7, 2022 Report Share Posted January 7, 2022 I replied to Ilya via email in response to the log you sent. I did not see any log from you. If you send one, Please indicate exactly which transaction was slow to update. Quote Link to comment Share on other sites More sharing options...
ahujat Posted January 8, 2022 Report Share Posted January 8, 2022 Can you CC me on the mail or add the response here. I am working with him but he is on vacation. Haven't heard from him so far. Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted January 9, 2022 Report Share Posted January 9, 2022 forwarded Quote Link to comment Share on other sites More sharing options...
Ilya Posted January 12, 2022 Author Report Share Posted January 12, 2022 (edited) I just ran into this problem again, I sent a log. In this case, the position on the account is updated immediately, and transactions do not reach until you click the update button yourself. Edited January 12, 2022 by Ilya Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted January 12, 2022 Report Share Posted January 12, 2022 this is not MT API specific issue. As you noticed, the transaction did not show up in MT itself either. Here is why: every API connection to TWS has a unique Client ID. If connected on Client ID zero, you get automatic updates on trades you place via API and via TWS. for all others, you only get automatic updates on transactions placed via the same client ID. in your case, the client ID zero was already used and MT reconnected with a different ID, so trades placed in TWS did not show up in MT unless manually refreshed. This can happen if you have other apps connected to TWS via the API or sometimes TWS just messes up. Go to SETTINGS / TRADING / ACCOUNTS. Click on the IB connection and UN-Check the box for "Reconnect with alternate Client ID if in use". This way, if MT cannot connect with 0, it will not try alternate and just error out, and show a popup indicator about it. That way you will know there is an issue and can either disconnect the other apps, or restart TWS. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.