Modulus Financial Engineering HomeModulus Financial Engineering
NAQ Professional Data Feed API (Level I and Level II)

StatusCode

The Status Code is sent in the ConnectionStatus event. 

enum StatusCode{
    naqLoginSuccessful
    naqInvalidLogin
    naqLoginFailure
    naqSentClientSettings
    naqServerPinged
    naqServerMessage
    naqConnectionDropped
}StatusCode;

Elements

naqLoginSuccessful
Login successful
naqInvalidLogin
Invalid login - wait 5 minutes, try your connection again. Check with NAQ if this message persists.
naqLoginFailure
Invalid login - wait 5 minutes, try your connection again. Check with NAQ if this message persists.
naqSentClientSettings
Occasionally the API will send connection status messages to the NAQ servers.
naqServerPinged
This message is sent once per minute or whenever the NAQ servers send a ping message.
naqServerMessage
The Server Message is returned from the NAQ servers.
naqConnectionDropped
This message indicates that the connection to the NAQ server has been lost.