View Single Post
  #31 (permalink)  
Old 08-02-2005, 06:11 PM
scorpion's Avatar
scorpion scorpion is offline
Administrator
 
Join Date: Aug 2004
Posts: 1,992
Thanks: 125
Thanked 383 Times in 152 Posts
scorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to behold
Send a message via MSN to scorpion Send a message via Yahoo to scorpion
Default

I receive UPDATE_TRADES whenever a trade or an order is open, closed, or modified; however, you should refresh BriefUserInfo and all open trades as well whenever price changes (UPDATE_BIDASK msg?).

There two posibilities that cause error with pumping messages:

1. Win32 message loop emulated in Linux is not as same as the true Win32 message loop. A team at Mono .Net Framework had reported that they were having quite a lot of issues with message loop, so they even had to implement their own version of msg loop from scrap up.

2. It can be connection problem. Unexpected disconnection can halt message loop. The only workaround I found so far is to check if ticks keep flowing.
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now

Main Menu

Economic Forecast