Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8 & MBTrading Intermittent connection

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    NT8 & MBTrading Intermittent connection

    I have meticulously followed the connection guide below for my live MB Trading account



    After the connection is established (turn green). The connection keep disconnecting and reconnecting every 10 secs.

    =============== LOG INFO =========
    2015-12-17 21:38:03:047|2|4|Session Break (Version 8.0.0.7)
    2015-12-17 21:38:04:267|1|4|Verifying license at primary server...
    2015-12-17 21:38:04:677|1|4|Type = Regular State = Verified Start Date = 7/4/2015 End Date = 12/30/2099
    2015-12-17 21:38:04:740|1|4|Global simulation mode disabled
    2015-12-17 21:38:06:177|1|2|Connecting to IS server (HDS5.NinjaTrader.com/31658)
    2015-12-17 21:38:06:193|1|4|Automated trading disabled
    2015-12-17 21:38:06:224|1|32|Order entry hot keys disabled
    2015-12-17 21:38:06:224|1|4|Auto close enabled=False
    2015-12-17 21:38:19:176|1|2|My MB Trading: Primary connection=Connecting, Price feed=Connecting
    2015-12-17 21:39:01:304|1|2|My MB Trading: Primary connection=Connection lost, Price feed=Connection lost
    2015-12-17 21:39:01:320|3|2|Connection to MB Trading provider lost. Reconnecting...
    2015-12-17 21:39:01:507|1|2|My MB Trading: Primary connection=Connected, Price feed=Connected
    2015-12-17 21:39:01:507|1|64|Instrument='ES 03-16' Account='Futures - Live ' Average price=2020.25 Quantity=1 Market position=Long Operation=Operation_Add
    2015-12-17 21:39:01:773|1|2|Successfully reconnected to MB Trading provider
    2015-12-17 21:39:12:951|1|2|My MB Trading: Primary connection=Connection lost, Price feed=Connection lost
    2015-12-17 21:39:12:951|3|2|Connection to MB Trading provider lost. Reconnecting...
    2015-12-17 21:39:13:388|1|2|Successfully reconnected to MB Trading provider
    2015-12-17 21:39:13:388|1|2|My MB Trading: Primary connection=Connected, Price feed=Connected
    2015-12-17 21:39:25:554|1|2|My MB Trading: Primary connection=Connection lost, Price feed=Connection lost
    2015-12-17 21:39:25:554|3|2|Connection to MB Trading provider lost. Reconnecting...
    2015-12-17 21:39:26:273|1|2|Successfully reconnected to MB Trading provider
    2015-12-17 21:39:26:273|1|2|My MB Trading: Primary connection=Connected, Price feed=Connected
    2015-12-17 21:39:40:463|1|2|My MB Trading: Primary connection=Connection lost, Price feed=Connection lost
    2015-12-17 21:39:40:463|3|2|Connection to MB Trading provider lost. Reconnecting...
    2015-12-17 21:39:41:181|1|2|Successfully reconnected to MB Trading provider
    2015-12-17 21:39:41:181|1|2|My MB Trading: Primary connection=Connected, Price feed=Connected
    2015-12-17 21:39:51:369|1|2|My MB Trading: Primary connection=Connection lost, Price feed=Connection lost
    2015-12-17 21:39:51:369|3|2|Connection to MB Trading provider lost. Reconnecting...
    2015-12-17 21:39:51:822|1|2|Successfully reconnected to MB Trading provider
    2015-12-17 21:39:51:822|1|2|My MB Trading: Primary connection=Connected, Price feed=Connected
    2015-12-17 21:40:06:006|1|2|My MB Trading: Primary connection=Connection lost, Price feed=Connection lost
    2015-12-17 21:40:06:006|3|2|Connection to MB Trading provider lost. Reconnecting...
    2015-12-17 21:40:06:737|1|2|Successfully reconnected to MB Trading provider
    2015-12-17 21:40:06:737|1|2|My MB Trading: Primary connection=Connected, Price feed=Connected
    2015-12-17 21:40:20:913|1|2|My MB Trading: Primary connection=Connection lost, Price feed=Connection lost
    2015-12-17 21:40:20:913|3|2|Connection to MB Trading provider lost. Reconnecting...
    2015-12-17 21:40:21:632|1|2|Successfully reconnected to MB Trading provider
    2015-12-17 21:40:21:632|1|2|My MB Trading: Primary connection=Connected, Price feed=Connected


    =============== TRACE INFO ================

    2015-12-17 21:39:25:523 (My MB Trading) RemoteApiEventListenerAsync HealthUpdate
    2015-12-17 21:39:25:554 (My MB Trading) Mbt.Adapter.QuoteSocketLoop4: SocketException message='The operation completed successfully'
    2015-12-17 21:39:25:554 (My MB Trading) Cbi.Connection.ConnectionStatusCallback: status=ConnectionLost priceStatus=ConnectionLost previousStatus=Connected previousPriceStatus=Connected errorCode=NoError nativeError='The operation completed successfully'
    2015-12-17 21:39:25:554 (My MB Trading) Cbi.Account.OnConnectionStatus: account='Sim101' status=ConnectionLost previousStatus=Connected message=''
    2015-12-17 21:39:25:554 (My MB Trading) Cbi.Account.OnConnectionStatus: account='Equities - Live ' status=ConnectionLost previousStatus=Connected message=''
    2015-12-17 21:39:25:554 (My MB Trading) Cbi.Account.OnConnectionStatus: account='Equities/Options/Futures - Paper ' status=ConnectionLost previousStatus=Connected message=''
    2015-12-17 21:39:25:554 (My MB Trading) Cbi.Account.OnConnectionStatus: account='Futures - Live ' status=ConnectionLost previousStatus=Connected message=''
    2015-12-17 21:39:25:554 (My MB Trading) Mbt.Adapter.HandleDisconnectAsync0
    2015-12-17 21:39:25:554 ERROR: Connection to MB Trading provider lost. Reconnecting...
    2015-12-17 21:39:25:632 (My MB Trading) RemoteApiEventListenerAsync HealthUpdate
    2015-12-17 21:39:25:632 (My MB Trading) RemoteApiEventListenerAsync alertadded
    2015-12-17 21:39:26:148 (My MB Trading) Mbt.Adapter.ConnectSessionInfoAsync0: url='https://www.mbtrading.com/secure/getquoteserverxml.asp?username=&password=' mbtLoginResponseString='<?xml version='1.0'?><xml><logins username="" quote_Server="md.mbtrading.com" hist_server="md.mbtrading.com/MBTHist" SessionToken="" SessionTokenExpire="2015-12-18T21:39:00"/></xml>'
    2015-12-17 21:39:26:148 (My MB Trading) Mbt.Adapter.ConnectQuoteAPI0: mbtQuoteServerUri='md.mbtrading.com'
    2015-12-17 21:39:26:273 (My MB Trading) Mbt.Adapter.ConnectQuoteAPI1: quoteServerResponse='G|100=;154==:'
    2015-12-17 21:39:26:273 (My MB Trading) Cbi.Connection.ConnectionStatusCallback: status=Connected priceStatus=Connected previousStatus=ConnectionLost previousPriceStatus=ConnectionLost errorCode=NoError nativeError=''
    2015-12-17 21:39:26:273 (My MB Trading) Cbi.Account.OnConnectionStatus: account='Sim101' status=Connected previousStatus=ConnectionLost message=''
    2015-12-17 21:39:26:273 (My MB Trading) Cbi.Account.OnConnectionStatus: account='Equities - Live ' status=Connected previousStatus=ConnectionLost message=''
    2015-12-17 21:39:26:273 (My MB Trading) Cbi.Account.OnConnectionStatus: account='Equities/Options/Futures - Paper ' status=Connected previousStatus=ConnectionLost message=''
    2015-12-17 21:39:26:273 (My MB Trading) Cbi.Account.OnConnectionStatus: account='Futures - Live ' status=Connected previousStatus=ConnectionLost message=''
    2015-12-17 21:39:26:273 (My MB Trading) Mbt.Adapter.QuoteApiKeepAlive
    2015-12-17 21:39:26:273 (My MB Trading) Mbt.Adapter.ProcessLatchedSubscriptions
    2015-12-17 21:39:26:398 (My MB Trading) RemoteApiEventListenerAsync HealthUpdate
    2015-12-17 21:39:26:398 (My MB Trading) RemoteApiEventListenerAsync alertadded
    2015-12-17 21:39:40:463 (My MB Trading) Mbt.Adapter.QuoteSocketLoop4: SocketException message='The operation completed successfully'

    #2
    Hello jspades,

    Please restart your PC, modem and router

    A connection state between NinjaTrader and your broker/market data vendor is not dictated by NinjaTrader. The NinjaTrader application only reports the connection state as it is reported by the API you are connected through. NinjaTrader behaves like a radio receiver in that it receives signals from the connected server. If the signals are not coming through, the underlying broker/market data vendor API reports this to the NinjaTrader application which in turn reports this back to you. Once a loss of connection is reported, NinjaTrader or the underlying API will continuously try to re-establish a connection.

    Common reasons that contribute to connection stability are:

    ISP issues
    Hardware firewall changing IP addresses frequently
    Dynamic IP addresses changing frequently intraday. Usually this happens once a week but you may want to check with your ISP. If they do change daily, requesting a static IP address may help.
    Broker/market data servers may be experiencing temporary downtime
    Christopher S.NinjaTrader Customer Service

    Comment


      #3
      Thanks Christopher for your reply. I understand that the type of connections problems that you mentioned may arise. However NT7+MBTrading works perfectly fine on the very same computer/hardware.There has to be a software interface problem between NT8 and MBT that causes this constant connection drop/reconnect every 10 sec.

      Comment


        #4
        Hello jspades,
        Please send me your log and trace files for today so that I may look into what occurred.

        You can do this by going to the Control Center-> Help-> EMail Support.

        Please reference the following ticket number in the body of the email:http://www.ninjatrader.com/support/f...ad.php?t=81254
        Christopher S.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by benmarkal, Yesterday, 12:52 PM
        3 responses
        22 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by helpwanted, Today, 03:06 AM
        1 response
        16 views
        0 likes
        Last Post sarafuenonly123  
        Started by Brevo, Today, 01:45 AM
        0 responses
        11 views
        0 likes
        Last Post Brevo
        by Brevo
         
        Started by aussugardefender, Today, 01:07 AM
        0 responses
        6 views
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        244 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Working...
        X