thehodlr Posted January 18, 2018 Report Share Posted January 18, 2018 Hello! I'm using MT as a front end for Binance. I've noticed that quote and L2 data update much faster in the Binance desktop client. I'm curious if this is just a limitation of the API or if you guys feel there is more performance to be gained in MT. I know support is still in beta but curious to hear your thoughts. Really enjoying the platform so far and can't wait to dig in further. Thanks! Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted January 18, 2018 Report Share Posted January 18, 2018 there should definitely not be any difference - we use the Binance stuff regularly for very time sensitive trading. No problems. If you are seeing an issue, please send us the settings/log file: Go to FILE / HELP => Send Log/Settings to support menu (from Dashboard or Portfolio)Do not check any check-boxes. Add the Post URL in the comment, as well as what you are seeing - how much of a lag? Level I? Level II? Quote Link to comment Share on other sites More sharing options...
thehodlr Posted January 18, 2018 Author Report Share Posted January 18, 2018 OK, log sent Pretty much all data updates less frequently but the best example is DOM. On the Binance desktop client, the book updates instantaneously when orders are filled. Looking at DOM in MT it might take 3-10 seconds, sometimes longer. I've put them up side by side on my desktop and the difference is huge. All the L1 data is behind too though... candlesticks, portfolio, etc. Order execution seems really fast though which is great. Right now I'm just keeping Binance client open on second screen to catch reversal in real time while doing everything else on MT. Quote Link to comment Share on other sites More sharing options...
thehodlr Posted January 18, 2018 Author Report Share Posted January 18, 2018 Ahhh! It seems to have something to do with the number of symbols in open portfolio window. I was monitoring 100 or so in a single portfolio... made a new portfolio with a single symbol and performance improved dramatically. I'm running on an i5-2500K with 16gb RAM... not exactly cutting edge but even if I open the 100+ symbol porfolio and some charts, binance app, chrome, etc. I can't get CPU utilization to break 25% with RAM usage around 30%. Any thoughts? Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted January 18, 2018 Report Share Posted January 18, 2018 when running their app, how many symbols are you tracking? their API (well, frankly, the APIs for ALL crypto exchanges) sucks. BAD. We have to open a separate streaming connection internally for EACH pair vs just opening one and subscribing to quotes for whatever symbols we want. This is drastically inefficient. However, didn't see significant performance issue before. Will check. Quote Link to comment Share on other sites More sharing options...
Mike Medved Posted January 18, 2018 Report Share Posted January 18, 2018 OK - thehodlr - I just ran with your setup (80 pairs) - on my machine, compared it to Binance's PC app and to the web site, and it was synced perfectly with both. Maybe a 0.01 sec delay from the app, but was hard to notice. Is there a particular pair that you noticed the lag with or was it with all of them? Quote Link to comment Share on other sites More sharing options...
thehodlr Posted January 18, 2018 Author Report Share Posted January 18, 2018 (edited) Nope. All of them. Interestingly... when I have a large portfolio open and I try to change the portfolio chart period from 1y to something smaller my entire machine grinds to a halt with 100% CPU utilization. Edited January 18, 2018 by thehodlr clarity Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted January 18, 2018 Report Share Posted January 18, 2018 ok I think something else is at play here. What security software are you using? if its Windows Defender, you need to do this: https://www.medvedtrader.com/www/frontend/blog/Windows-Defender-Exclusions-CU If it is a different one, let me know which. Quote Link to comment Share on other sites More sharing options...
thehodlr Posted January 18, 2018 Author Report Share Posted January 18, 2018 I use Defender for now. No change after setting exclusions and restarting... Quote Link to comment Share on other sites More sharing options...
thehodlr Posted January 18, 2018 Author Report Share Posted January 18, 2018 If this helps... I don't actually have to close the portfolio to unclog the pipes. Manually stopping the stream does the trick and gives me perfect sync with Binance desktop. Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted January 18, 2018 Report Share Posted January 18, 2018 what type of connection are you on? slow? Satellite? If you do 1/2 the symbols, still a problem? Quote Link to comment Share on other sites More sharing options...
thehodlr Posted January 18, 2018 Author Report Share Posted January 18, 2018 (edited) Residential broadband... speedtest.net shows 9ms ping 120/6 Mbps Will test smaller portfolio. Edited January 18, 2018 by thehodlr Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted January 18, 2018 Report Share Posted January 18, 2018 also, you said stop/start fixes it. For how long? does it get messed up about a minute after? I am looking at the log and seeing some odd stuff. Quote Link to comment Share on other sites More sharing options...
Mike Medved Posted January 18, 2018 Report Share Posted January 18, 2018 Ok we may have found the prob. Will fix it and say where to get the fix here. Only happens when there is a large # of symbols initializing in the portfolio. Quote Link to comment Share on other sites More sharing options...
CryptoDips Posted January 18, 2018 Report Share Posted January 18, 2018 OK yes, i am having the same problem with MT using Binance... Please let us know when the fix is ready... Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted January 18, 2018 Report Share Posted January 18, 2018 emailed both of you. Let me know if this works Quote Link to comment Share on other sites More sharing options...
m1352 Posted January 19, 2018 Report Share Posted January 19, 2018 I'm getting a similar issue with Binance. I have about 100 currency pairs in my portfolio and the live data stream was working well last week. Now, the backfill data still works, however live data updates only once every minute or so and I have no access to the level 2. Quote Link to comment Share on other sites More sharing options...
CryptoDips Posted January 19, 2018 Report Share Posted January 19, 2018 OK, that works very small lag, but a huge difference.... Thank you guys are GREAT!!! Quote Link to comment Share on other sites More sharing options...
thehodlr Posted January 19, 2018 Author Report Share Posted January 19, 2018 (edited) Hmmm getting the following error with latest build sometimes when I open DOM. I should mention that I manually enter 8 decimals into the price inc setting in DOM 01/19/18 2:56:24 AM: MT.Util.MTErrorObj: Type=Error Severity=Medium Action=Log, ShowIndicator, ShowToUser Code=DoStreamingSubChanges Message=Index (zero based) must be greater than or equal to zero and less than the size of the argument list. Details=AppVer: 1.1.7177.2351 Err.Flags: Log, ShowIndicator, ShowToUser System.FormatException: at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args) at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args) at MT.RScriptBase.RUNTIME.Streamer_BINANCE.DoInitialBook(String scriptSymbol) in c:\Users\Admin\AppData\Local\2GK\Medved Trader\Temp\Compile\ujze3pci.0.cs:line 2179 at MT.RScriptBase.RUNTIME.Streamer_BINANCE.SymbolsChanged(List`1 AddList, List`1 DeleteList) in c:\Users\Admin\AppData\Local\2GK\Medved Trader\Temp\Compile\ujze3pci.0.cs:line 1406 at MT.Streamer.Streamer.DoStreamingSubChanges() in C:\MedvedTrader\MT\Streamer\Streamer.cs:line 3538 Log sent Edited January 19, 2018 by thehodlr Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted January 19, 2018 Report Share Posted January 19, 2018 please update again from the same URL I previously sent Quote Link to comment Share on other sites More sharing options...
thehodlr Posted January 19, 2018 Author Report Share Posted January 19, 2018 Bingo! Amazing support! Quote Link to comment Share on other sites More sharing options...
Jerry Medved Posted January 19, 2018 Report Share Posted January 19, 2018 thanks. Updated regular version, though it would take effect on 2nd restart. Assume you heard about MT on Reddit? Remember to mention us Quote Link to comment Share on other sites More sharing options...
thehodlr Posted January 19, 2018 Author Report Share Posted January 19, 2018 I actually just Googled "Binance Scanner" and you popped up. Definitely preaching MT to all my friends. 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.