APIs and Operations

GetGlobalRealTimeQuotes

This is version 3 of XigniteGlobalRealTime. If you implemented this service prior to September 27, 2013, please refer to the previous version's documentation.

Returns real-time quotes for multiple global securities.

IdentifierType:
Identifiers:

URL

Already have an account? Please
Already have an account? Please
Already have an account? Please
Already have an account? Please
Select Output Fields Select None
ArrayOfGlobalQuote
GlobalQuote
Outcome
Message
Identity
Delay
Security
CIK
CUSIP
Symbol
ISIN
Valoren
Name
Market
MarketIdentificationCode
MostLiquidExchange
CategoryOrIndustry
Date
Time
UTCOffset
Open
Close
High
Low
Last
LastSize
Volume
PreviousClose
PreviousCloseDate
ChangeFromPreviousClose
PercentChangeFromPreviousClose
Bid
BidSize
BidDate
BidTime
Ask
AskSize
AskDate
AskTime
High52Weeks
Low52Weeks
Currency
TradingHalted

Hit Calculation

Requests against this operation count as one hit per symbol or identifier.


Authentication

In order to authenticate calls to our APIs, you must pass the token either:

  • As the _Token parameter in the query string of a REST request, or
  • In the Username value in the soap header of a SOAP request.
You can manage your API Tokens from your account page.


WSDL

If you are using SOAP, you can access the WSDL (Web Service Definition Language) file for the service using the link below: http://globalrealtime.xignite.com/v3/xGlobalRealTime.asmx?wsdl


Sample Code

Because they use open standards, Xignite’s APIs are easily accessible from any development environment without requiring any software installation. There are many flexible ways to integrate our APIs in your apps. The sections below provide sample code in popular programming languages you can easily copy, paste, and re-use.

Sample Code for GetGlobalRealTimeQuotes

ASPX/ASP.NET

<%@ Page Language="vb" %>
<%@ Import Namespace="System.Net" %>
<!-- here, XigniteGlobalRealTime is the name of this assembly-->
<%@ Import Namespace="XigniteGlobalRealTime" %>
<HTML>
<HEAD>
<script language="vb" runat="server">
' declare the return object globally so that you can reuse it around the page
Dim objGlobalQuote As GlobalQuote
' call the service inside the Page_Load routine
Sub Page_Load(obj as object, e as eventargs)
' create an instance of the web service
Dim objGlobalRealTimeService As New XigniteGlobalRealTime()
' add authentication info
Dim objHeader As New RemoteGlobalRealTime.Header = new Header();
objHeader.Username = "YOUR_TOKEN" objGlobalQuote.HeaderValue = objHeader

' call the operation and load the return object
objGlobalQuote = objGlobalRealTimeService.
GetGlobalRealTimeQuotes("HSBAl.CHIX,ORAp.CHIX", "Symbol")
If Not objGlobalQuote Is Nothing Then
Select Case objGlobalQuote.Outcome
Case OutcomeTypes.RegistrationError
' add processing for handling subscription problems, e.g.
Response.Write("Our subscription to this service has expired.")
Case OutcomeTypes.RequestError
' add processing for handling request problems, e.g.
' you could pass back the info message received from the service
Response.Write(objGlobalQuote.Message)
Case OutcomeTypes.SystemError
' add processing for handling system problems, e.g.
Response.Write("Service is unavailable at this time.")
End Select
Else
' add error processing here
' this condition could be caused by an HTTP error (404,500...)
Response.Write("Service is unavailable at this time.")
End If
End Sub
</script>
</HEAD>
<BODY>
<TABLE>
<TR>
<TD>
<!-- add processing for displaying the results, e.g. -->
<!-- display the value for objArrayOfGlobalQuote(0).Last-->
<!-- other values could be consumed in the same manner-->
<%Response.Write(objArrayOfGlobalQuote(0).Last)%>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

C# (CSharp)

This code could be used in any type of application (Windows, console ...). Here, RemoteGlobalRealTime is the web reference to the web service. Note that the default name for a web reference is generally "com.xignite.www". You will need to rename your web reference to use to use this code.

RemoteGlobalRealTime.XigniteGlobalRealTime objGlobalRealTimeService;
objGlobalRealTimeService = new RemoteGlobalRealTime.XigniteGlobalRealTime();
// add authentication info
RemoteGlobalRealTime.Header objHeader = new RemoteGlobalRealTime.Header();
objHeader.Username = "YOUR_TOKEN";
objGlobalRealTimeService.HeaderValue = objHeader;

RemoteGlobalRealTime.GlobalQuote objGlobalQuote;
objGlobalQuote = objGlobalRealTimeService.
GetGlobalRealTimeQuotes("HSBAl.CHIX,ORAp.CHIX", "Symbol");

if (objGlobalQuote == null)
{
// add error processing here
// this condition could be caused by an HTTP error (404,500...)
Console.Write("Service is unavailable at this time.");
}
else
{
switch(objGlobalQuote.Outcome)
{
case RemoteGlobalRealTime.OutcomeTypes.Success:
// add processing for displaying the results, e.g.
// display the value for objArrayOfGlobalQuote[0].Last
// other values could be consumed in the same manner
Console.Write(objArrayOfGlobalQuote[0].Last);
break;
default:
// add processing for handling request problems, e.g.
// you could pass back the info message received from the service
Console.Write(objGlobalQuote.Message);
break;
}
}

Java/Axis

This section assumes that you have Axis installed on your machine and that you are fairly familiar with it.

Because all our web services return complex types, the best way to use Axis (Apache Axis2 1.4+) is to first generate a proxy class using the 'WSDL2Java' tool'. By default, the tool will put all generated classes into the package "com.xignite.www.services".

You should then compile the classes (including the axis dependencies):


C:\axis>java org.apache.axis.wsdl.WSDL2Java http://globalrealtime.xignite.com/v3/xGlobalRealTime.asmx?WSDL
C:\axis>javac com\xignite\*.java
C:\axis>
C:\axis>YOUR_AXIS_INSTALLATION\bin\wsdl2java.bat -ap -uri http://globalrealtime.xignite.com/v3/xGlobalRealTime.asmx?WSDL
C:\axis>javac -classpath "YOUR_AXIS_INSTALLATION/lib/*" com/xignite/www/services/*.java

You can then create your source file. See below


After creating your source file, you can compile it like this:

C:\axis>javac -classpath .;"YOUR_AXIS_INSTALLATION/lib/*" XigniteGlobalRealTimeDemo.java

// By default, all of the classes auto-generated by the Axis2 
// "WSDL2Java" tool are placed into the package "com.xignite.www.services"
// for our Xignite WSDL, so we need an import.
import com.xignite.www.services.XigniteGlobalRealTimeXigniteGlobalRealTimeSoapStub; import com.xignite.www.services.XigniteGlobalRealTimeXigniteGlobalRealTimeSoapStub.*;
public class XigniteGlobalRealTimeDemo {
public static void main(String[] args) throws Exception { // Instantiate the XigniteGlobalRealTime proxy
// proxy object using the Helper class.
// This class was autogenerated by the WSDL2Java tool

try { XigniteGlobalRealTimeXigniteGlobalRealTimeSoapStub stub = new XigniteGlobalRealTimeXigniteGlobalRealTimeSoapStub(); // Instantiate the return class from the operation
// This class was autogenerated by the WSDL2Java tool
GetGlobalRealTimeQuotes getGlobalRealTimeQuotesArguments = new GetGlobalRealTimeQuotes(); getGlobalRealTimeQuotesArguments.setIdentifiers("HSBAl.CHIX,ORAp.CHIX");
getGlobalRealTimeQuotesArguments.setIdentifierType("Symbol");
// Add authentication info
HeaderE header = new HeaderE(); Header myHeader = new Header(); myHeader.setUsername("YOUR_TOKEN"); header.setHeader(myHeader);

GetGlobalRealTimeQuotesResponse response = stub.getGlobalRealTimeQuotes(getGlobalRealTimeQuotesArguments, header); GlobalQuote objGlobalQuote = response.getGetGlobalRealTimeQuotesResult(); // objGlobalQuote is pointing to the result of the operation
if (objGlobalQuote.getOutcome() == OutcomeTypes.RegistrationError) { // code to handle registration errors
System.out.println(OutcomeTypes.RegistrationError.toString() + ": " + objGlobalQuote.getMessage()); } else if (objGlobalQuote.getOutcome() == OutcomeTypes.RequestError) { // code to handle request errors
System.out.println(OutcomeTypes.RequestError.toString() + ": " + objGlobalQuote.getMessage()); } else if (objGlobalQuote.getOutcome() == OutcomeTypes.SystemError) { // code to handle system errors
System.out.println(OutcomeTypes.SystemError.toString() + ": " + objGlobalQuote.getMessage()); } else // Success
{ System.out.println(objGlobalQuote.getArrayOfGlobalQuote().getLast()); } } catch (Exception ex) { // add exception handling code here

} } }

Perl/SoapLite

This section assumes that you have SOAP::Lite for Perl installed on your machine and that you are fairly familiar with it. But just in case your are not:

You can then use a text editor to create the source code below. You can execute it by running:


C:\perl\perl demo.pl

Note that there are some unique steps to follow to use SOAP::Lite with .Net web Services. For detailed info, check this article on MSDN.

Here is a sample source for this operation.
# the maptype instruction is critical for compatibility 
use SOAP::Lite maptype => {};
use Data::Dumper;

# this is our namespace
my $namespace = 'http://www.xignite.com/services/';

# declare the service using the namespace, the SOAP action and the uri
my $service = SOAP::Lite
-> uri($namespace)
-> on_action( sub { join '/', 'http://www.xignite.com/services', $_[1] } )
-> proxy('http://globalrealtime.xignite.com/v3/xGlobalRealTime.asmx');

# .Net requires the method, header, and attributes to be fully qualified
my $method = SOAP::Data->name('GetGlobalRealTimeQuotes')
->attr({xmlns => $namespace});

# this section is required for authentication
# you can skip it if you use IP-based authentication
my $header = SOAP::Header->name(Header => {
Username => '<your username here>'})->uri($namespace)->prefix('');

# same here, you can omit $header if you use IP-based authentication

my @params = ( $header,
SOAP::Data->name(Identifiers => "HSBAl.CHIX,ORAp.CHIX")->uri($namespace),
SOAP::Data->name(IdentifierType => "Symbol")->uri($namespace));
# you can now call the service
my $result = $service->call($method => @params);
if ($result->fault)
{
print $result->faultstring;
}
else
{
# here we parse the output using the main return class
# and one of its attributes
# Uncoment the line below to print the full result object graph:
# print Dumper($result);
print $result->valueof('//GetGlobalRealTimeQuotesResult/objArrayOfGlobalQuote[0]/Last'), "\n";
}

PHP/NuSoap

NuSoap is one of the three major SOAP implementations for PHP: PEAR::SOAP, NuSOAP, and PHP-SOAP.

If you use PHP, we recommend you use NuSoap to access our web services. NuSoap uses our web services for demonstration in their own documentation and it works well.

This section assumes that you have PHP installed on your machine and that you are fairly familiar with it. We have tested this implementation for PHP 4.2.1 on Windows 2000. It should also work with more recent versions on more recent platforms. Note that PHP 5.0 supports SOAP natively (without extension), please follow their documentation for upgrade or code changes required.

To install NuSoap, download the latest package from this location. You can unzip the package in your PHP application directory. The package includes libraries (/lib) and samples (/samples). The sample code below is based on the wsdlclient1.php sample.

If you use one of the older version or PHP (i.e. 4.2.1) , you will need to comment out one line in the /lib/nusoap.php file. That section is not supported in earlier version. The line to comment out is line 1877 as shown below.


1876 // set response timeout
1877 //socket_set_timeout( $this->fp, $response_timeout);

You can then create your source file.


<?php
// need to use the NuSoap extension
require_once('../lib/nusoap.php');

// if you access the internet through a proxy server
$proxyhost = isset($_POST['proxyhost']) ? $_POST['proxyhost'] : '';
$proxyport = isset($_POST['proxyport']) ? $_POST['proxyport'] : '';
$proxyusername = isset($_POST['proxyusername']) ? $_POST['proxyusername'] : '';
$proxypassword = isset($_POST['proxypassword']) ? $_POST['proxypassword'] : '';

// define the SOAP client using the url for the service
$client = new soapclient('http://globalrealtime.xignite.com/v3/xGlobalRealTime.asmx?WSDL',
true, $proxyhost, $proxyport, $proxyusername, $proxypassword);

// assess the results
$err = $client->getError();
if ($err) {
echo '<h2>Constructor error</h2><pre>' . $err . '</pre>';
}

// create an array of parameters
$param = array(
"Identifiers" => "HSBAl.CHIX,ORAp.CHIX",
"IdentifierType" => "Symbol");
// call the service, passing the parameters and the name of the operation
$result = $client->call('GetGlobalRealTimeQuotes', array('parameters' => $param), '', '', false, true);
// assess the results
if ($client->fault) {
echo '<h2>Fault</h2><pre>';
print_r($result);
echo '</pre>';
} else {
$err = $client->getError();
if ($err) {
echo '<h2>Error</h2><pre>' . $err . '</pre>';
} else {
// display the results
echo '<h2>Result</h2><pre>';
// this function exposes the complete structure of the return class
print_r($result);
echo '</pre>';
}
}
// print the SOAP request
echo '<h2>Request</h2><pre>' . htmlspecialchars($client->request, ENT_QUOTES) . '</pre>';
// print the SOAP response
echo '<h2>Response</h2><pre>' . htmlspecialchars($client->response, ENT_QUOTES) . '</pre>';
// print the PHP debugging trace
echo '<h2>Debug</h2><pre>' . htmlspecialchars($client->debug_str, ENT_QUOTES) . '</pre>';
?>

PHP 5

PHP-SOAP is one of the three major SOAP implementations for PHP: PEAR::SOAP, NuSOAP, and PHP-SOAP.

This section assumes that you have PHP5.0 installed on your machine and that you are fairly familiar with it.

Note that PHP 5.0 supports SOAP, please follow their documentation for code changes required.

Here is a sample source for this operation.

<?php
// define the SOAP client using the url for the service
$client = new soapclient('http://globalrealtime.xignite.com/v3/xGlobalRealTime.asmx?WSDL');
// create an array of parameters
$param = array( "Identifiers" => "HSBAl.CHIX,ORAp.CHIX",
"IdentifierType" => "Symbol");
// add authentication info
$xignite_header = new SoapHeader('http://www.xignite.com/services/',
"Header", array("Username" => "YOUR_TOKEN"));
$client->__setSoapHeaders(array($xignite_header));

// call the service, passing the parameters and the name of the operation
$result = $client->GetGlobalRealTimeQuotes($param); // assess the results
if (is_soap_fault($result)) { echo '<h2>Fault</h2><pre>'; print_r($result); echo '</pre>'; } else { echo '<h2>Result</h2><pre>'; print_r($result); echo '</pre>'; } // print the SOAP request
echo '<h2>Request</h2><pre>' . htmlspecialchars($client->__getLastRequest(), ENT_QUOTES) . '</pre>'; // print the SOAP request Headers
echo '<h2>Request Headers</h2><pre>' . htmlspecialchars($client->__getLastRequestHeaders(), ENT_QUOTES) . '</pre>'; // print the SOAP response
echo '<h2>Response</h2><pre>' . htmlspecialchars($client->__getLastResponse(), ENT_QUOTES) . '</pre>'; ?>

Ruby

This section assumes that you have some knowledge of the Ruby language, and in particular the SOAP library Savon version 2.

require 'rubygems'
require 'savon'
require 'pp'

url = "http://globalrealtime.xignite.com/v3/xGlobalRealTime.asmx?WSDL"

soap_header = { "Header" => { "@xmlns" => "http://www.xignite.com/services/", "Username" => "YOUR_TOKEN" } }
client = Savon.client(wsdl: url, :soap_header => soap_header, convert_request_keys_to: :none, env_namespace: 'soap')
response = client.call(:get_global_real_time_quotes, message: {
"@xmlns" => "http://www.xignite.com/services/",
Identifiers: 'HSBAl.CHIX,ORAp.CHIX',
IdentifierType: 'Symbol'
})

pp response.to_hash

VB.NET

Dim objGlobalRealTimeService As New RemoteGlobalRealTime.XigniteGlobalRealTime()
Dim objHeader As New RemoteGlobalRealTime.Header = new RemoteGlobalRealTime.Header();
objHeader.Username = "YOUR_TOKEN" objGlobalRealTime.HeaderValue = objHeader

Dim objGlobalQuote As RemoteGlobalRealTime.GlobalQuote _
= objGlobalRealTimeService.GetGlobalRealTimeQuotes("HSBAl.CHIX,ORAp.CHIX", "Symbol")

If Not objGlobalQuote Is Nothing Then
Select Case objGlobalQuote.Outcome
Case RemoteGlobalRealTime.OutcomeTypes.RegistrationError
' display the error to facilitate diagnostics, e.g.
Console.WriteLine(objGlobalQuote.Message)
Case RemoteGlobalRealTime.OutcomeTypes.RequestError
' add processing for handling request problems, e.g.
' you could pass back the info message received from the service
Console.WriteLine(objGlobalQuote.Message)
Case RemoteGlobalRealTime.OutcomeTypes.SystemError
' add processing for handling system problems, e.g.
Console.WriteLine("Service is unavailable at this time.")
Case Else
' add processing for displaying the results, e.g.
' display the value for objArrayOfGlobalQuote(0).Last
' other values could be consumed in the same manner
Console.WriteLine(objArrayOfGlobalQuote(0).Last)
End Select
Else
' add error processing here
' this condition could be caused by an HTTP error (404,500...)
Console.WriteLine("Service is unavailable at this time.")
End If

VB6

' this DOM object will contain the result of the call
Dim objResult As IXMLDOMSelection
' create an instance of the soap toolkit
Dim objService As New MSSOAPLib30.SoapClient30
' if your network uses a proxy server, add this line
objService.ConnectorProperty("ProxyServer") = "ip of your proxy server"
' SOAP headers are not supported in the toolkit, so we will fake it with this handler
Dim objHeader As ClientHeaderHandler
Set objHeader = New ClientHeaderHandler
' set the username and passwords to your values
objHeader.Username = "YOUR_TOKEN"
Set objService.HeaderHandler = objHeader

' point the the toolkit to the WSDL
objService.mssoapinit "http://globalrealtime.xignite.com/v3/xGlobalRealTime.asmx?WSDL"

' load the result into the DOM object
Set objResult = objService.GetGlobalRealTimeQuotes("HSBAl.CHIX,ORAp.CHIX", "Symbol")

' you can access the properties this way:
' where objResult(5).nodeName is the name of the 5th field of the instance returned
' and objResult(5).Text is the value
MsgBox objResult(5).nodeName & " = " & objResult(5).Text


' you must also add this class to your code.
' it will create the SOAP header to pass with your request
Class Module "ClientHeaderHandler"
Option Explicit
Implements IHeaderHandler

Private m_uid As String
Private m_pwd As String
Private m_tracer As String

Property Let Username(ByVal value As String)
m_uid = value
End Property

Property Let Password(ByVal value As String)
m_pwd = value
End Property

Property Let Tracer(ByVal value As String)
m_tracer = value
End Property

Private Function iHeaderHandler_ReadHeader( _
ByVal par_reader As MSSOAPLib30.ISoapReader, _
ByVal par_HeaderNode As MSXML2.IXMLDOMNode, _
ByVal par_object As Object) As Boolean
iHeaderHandler_ReadHeader = False
End Function

Private Function iHeaderhandler_willWriteHeaders() As Boolean
iHeaderhandler_willWriteHeaders = True
End Function

Private Sub iHeaderHandler_WriteHeaders( _
ByVal par_serializer As MSSOAPLib30.ISoapSerializer, _
ByVal par_object As Object)

Dim XigniteHeaderString As String

XigniteHeaderString = "<Header xmlns="http://www.xignite.com/services/"> " & _
"<Username>" & m_uid & "</Username>" & _
"<Password>" & m_pwd & "</Password>" & _
"<Tracer>" & m_tracer & "</Tracer>" & _
"</Header>"

par_serializer.WriteXml XigniteHeaderString
End Sub

XSLT

When working with XSL, you only need to worry about properly dealing with namespaces.

The general principle in working with XSL is to apply the stylesheet (the XSL document) to the output of the web service (XML document). The code required to accomplish this varies based on your envirobment. For instance, using VB.Net it would be:

Dim objSOAPClient
Dim objTemplate As New System.Xml.Xsl.XslTransform()
objTemplate.Load(<url_of_XSL_template>)
objTemplate.Transform(<url_of_input_document>,<url_of_output_document>)

In the code above, you want to replace the <url_of_input_document> with the following URL.

http://globalrealtime.xignite.com/v3/xGlobalRealTime.asmx/GetGlobalRealTimeQuotes?Identifiers=HSBAl.CHIX,ORAp.CHIX&IdentifierType=Symbol


And this is how you could write the XSL stylesheet. Note that all node names are prefixed.

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xi="http://www.xignite.com/services/"
version="1.0" exclude-result-prefixes="xi">
<xsl:template match="xi:GlobalQuote">
<p>
<xsl:value-of select="xi:ArrayOfGlobalQuote/xi:Last"/>
</p>
</xsl:template>
</xsl:template></xsl:stylesheet>

The sample code is provided "as is" without any express or implied warranty. You are solely responsible for obtaining any necessary licenses or ownership rights, including for Xignite APIs and open source code, to use this sample code. Xignite has no obligation to test, certify, or support its use.


Sample Requests

All Xignite APIs support multiple, easy-to-use, open standard protocols. You can place requests against the API using a simple REST request using POST or GET or you can place a request using SOAP. The sections below show how properly formed requests and corresponding outputs look like for each protocol.

SOAP Request for GetGlobalRealTimeQuotes

Request

POST http://globalrealtime.xignite.com/v3/xGlobalRealTime.asmx HTTP/1.1
Host: globalrealtime.xignite.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.xignite.com/services/GetGlobalRealTimeQuotes"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <Header xmlns="http://www.xignite.com/services/"> <Username>string</Username> <Password>string</Password> <Tracer>string</Tracer> </Header> </soap:Header> <soap:Body> <GetGlobalRealTimeQuotes xmlns="http://www.xignite.com/services/"> <Identifiers>string</Identifiers> <IdentifierType>Symbol or CIK or CUSIP or ISIN or Valoren or SEDOL</IdentifierType> </GetGlobalRealTimeQuotes> </soap:Body> </soap:Envelope>

Response

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetGlobalRealTimeQuotesResponse xmlns="http://www.xignite.com/services/"> <GetGlobalRealTimeQuotesResult> <GlobalQuote> <QuoteWithSecurity> <Common> <Outcome>Success or SystemError or RequestError or RegistrationError
</Outcome> <Message>string</Message> <Identity>string</Identity> <Delay>double</Delay> </Common> <Security> <CIK>string</CIK> <CUSIP>string</CUSIP> <Symbol>string</Symbol> <ISIN>string</ISIN> <Valoren>string</Valoren> <Name>string</Name> <Market>string</Market> <MarketIdentificationCode>string</MarketIdentificationCode> <MostLiquidExchange>boolean</MostLiquidExchange> <CategoryOrIndustry>string</CategoryOrIndustry> </Security> </QuoteWithSecurity> <Date>string</Date> <Time>string</Time> <UTCOffset>double</UTCOffset> <Open>double</Open> <Close>double</Close> <High>double</High> <Low>double</Low> <Last>double</Last> <LastSize>double</LastSize> <Volume>double</Volume> <PreviousClose>double</PreviousClose> <PreviousCloseDate>string</PreviousCloseDate> <ChangeFromPreviousClose>double</ChangeFromPreviousClose> <PercentChangeFromPreviousClose>double</PercentChangeFromPreviousClose> <Bid>double</Bid> <BidSize>double</BidSize> <BidDate>string</BidDate> <BidTime>string</BidTime> <Ask>double</Ask> <AskSize>double</AskSize> <AskDate>string</AskDate> <AskTime>string</AskTime> <High52Weeks>double</High52Weeks> <Low52Weeks>double</Low52Weeks> <Currency>string</Currency> <TradingHalted>boolean</TradingHalted> </GlobalQuote> <GlobalQuote> <QuoteWithSecurity> <Common> <Outcome>Success or SystemError or RequestError or RegistrationError
</Outcome> <Message>string</Message> <Identity>string</Identity> <Delay>double</Delay> </Common> <Security> <CIK>string</CIK> <CUSIP>string</CUSIP> <Symbol>string</Symbol> <ISIN>string</ISIN> <Valoren>string</Valoren> <Name>string</Name> <Market>string</Market> <MarketIdentificationCode>string</MarketIdentificationCode> <MostLiquidExchange>boolean</MostLiquidExchange> <CategoryOrIndustry>string</CategoryOrIndustry> </Security> </QuoteWithSecurity> <Date>string</Date> <Time>string</Time> <UTCOffset>double</UTCOffset> <Open>double</Open> <Close>double</Close> <High>double</High> <Low>double</Low> <Last>double</Last> <LastSize>double</LastSize> <Volume>double</Volume> <PreviousClose>double</PreviousClose> <PreviousCloseDate>string</PreviousCloseDate> <ChangeFromPreviousClose>double</ChangeFromPreviousClose> <PercentChangeFromPreviousClose>double</PercentChangeFromPreviousClose> <Bid>double</Bid> <BidSize>double</BidSize> <BidDate>string</BidDate> <BidTime>string</BidTime> <Ask>double</Ask> <AskSize>double</AskSize> <AskDate>string</AskDate> <AskTime>string</AskTime> <High52Weeks>double</High52Weeks> <Low52Weeks>double</Low52Weeks> <Currency>string</Currency> <TradingHalted>boolean</TradingHalted> </GlobalQuote> </GetGlobalRealTimeQuotesResult> </GetGlobalRealTimeQuotesResponse> </soap:Body> </soap:Envelope>

REST GET Request for GetGlobalRealTimeQuotes

Request

GET http://globalrealtime.xignite.com/v3/xGlobalRealTime.asmx/GetGlobalRealTimeQuotes?
Identifiers=string&IdentifierType=string HTTP/1.1 Host: globalrealtime.xignite.com

Response

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfGlobalQuote xmlns="http://www.xignite.com/services/">
  <GlobalQuote>
    <QuoteWithSecurity>
      <Common>
        <Outcome>Success or SystemError or RequestError or RegistrationError
</Outcome> <Message>string</Message> <Identity>string</Identity> <Delay>double</Delay> </Common> <Security> <CIK>string</CIK> <CUSIP>string</CUSIP> <Symbol>string</Symbol> <ISIN>string</ISIN> <Valoren>string</Valoren> <Name>string</Name> <Market>string</Market> <MarketIdentificationCode>string</MarketIdentificationCode> <MostLiquidExchange>boolean</MostLiquidExchange> <CategoryOrIndustry>string</CategoryOrIndustry> </Security> </QuoteWithSecurity> <Date>string</Date> <Time>string</Time> <UTCOffset>double</UTCOffset> <Open>double</Open> <Close>double</Close> <High>double</High> <Low>double</Low> <Last>double</Last> <LastSize>double</LastSize> <Volume>double</Volume> <PreviousClose>double</PreviousClose> <PreviousCloseDate>string</PreviousCloseDate> <ChangeFromPreviousClose>double</ChangeFromPreviousClose> <PercentChangeFromPreviousClose>double</PercentChangeFromPreviousClose> <Bid>double</Bid> <BidSize>double</BidSize> <BidDate>string</BidDate> <BidTime>string</BidTime> <Ask>double</Ask> <AskSize>double</AskSize> <AskDate>string</AskDate> <AskTime>string</AskTime> <High52Weeks>double</High52Weeks> <Low52Weeks>double</Low52Weeks> <Currency>string</Currency> <TradingHalted>boolean</TradingHalted> </GlobalQuote> <GlobalQuote> <QuoteWithSecurity> <Common> <Outcome>Success or SystemError or RequestError or RegistrationError
</Outcome> <Message>string</Message> <Identity>string</Identity> <Delay>double</Delay> </Common> <Security> <CIK>string</CIK> <CUSIP>string</CUSIP> <Symbol>string</Symbol> <ISIN>string</ISIN> <Valoren>string</Valoren> <Name>string</Name> <Market>string</Market> <MarketIdentificationCode>string</MarketIdentificationCode> <MostLiquidExchange>boolean</MostLiquidExchange> <CategoryOrIndustry>string</CategoryOrIndustry> </Security> </QuoteWithSecurity> <Date>string</Date> <Time>string</Time> <UTCOffset>double</UTCOffset> <Open>double</Open> <Close>double</Close> <High>double</High> <Low>double</Low> <Last>double</Last> <LastSize>double</LastSize> <Volume>double</Volume> <PreviousClose>double</PreviousClose> <PreviousCloseDate>string</PreviousCloseDate> <ChangeFromPreviousClose>double</ChangeFromPreviousClose> <PercentChangeFromPreviousClose>double</PercentChangeFromPreviousClose> <Bid>double</Bid> <BidSize>double</BidSize> <BidDate>string</BidDate> <BidTime>string</BidTime> <Ask>double</Ask> <AskSize>double</AskSize> <AskDate>string</AskDate> <AskTime>string</AskTime> <High52Weeks>double</High52Weeks> <Low52Weeks>double</Low52Weeks> <Currency>string</Currency> <TradingHalted>boolean</TradingHalted> </GlobalQuote> </ArrayOfGlobalQuote>

REST POST Request for GetGlobalRealTimeQuotes

Request

POST http://globalrealtime.xignite.com/v3/xGlobalRealTime.asmx/GetGlobalRealTimeQuotes HTTP/1.1
Host: globalrealtime.xignite.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

Identifiers=string&IdentifierType=string

Response

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfGlobalQuote xmlns="http://www.xignite.com/services/">
  <GlobalQuote>
    <QuoteWithSecurity>
      <Common>
        <Outcome>Success or SystemError or RequestError or RegistrationError
</Outcome> <Message>string</Message> <Identity>string</Identity> <Delay>double</Delay> </Common> <Security> <CIK>string</CIK> <CUSIP>string</CUSIP> <Symbol>string</Symbol> <ISIN>string</ISIN> <Valoren>string</Valoren> <Name>string</Name> <Market>string</Market> <MarketIdentificationCode>string</MarketIdentificationCode> <MostLiquidExchange>boolean</MostLiquidExchange> <CategoryOrIndustry>string</CategoryOrIndustry> </Security> </QuoteWithSecurity> <Date>string</Date> <Time>string</Time> <UTCOffset>double</UTCOffset> <Open>double</Open> <Close>double</Close> <High>double</High> <Low>double</Low> <Last>double</Last> <LastSize>double</LastSize> <Volume>double</Volume> <PreviousClose>double</PreviousClose> <PreviousCloseDate>string</PreviousCloseDate> <ChangeFromPreviousClose>double</ChangeFromPreviousClose> <PercentChangeFromPreviousClose>double</PercentChangeFromPreviousClose> <Bid>double</Bid> <BidSize>double</BidSize> <BidDate>string</BidDate> <BidTime>string</BidTime> <Ask>double</Ask> <AskSize>double</AskSize> <AskDate>string</AskDate> <AskTime>string</AskTime> <High52Weeks>double</High52Weeks> <Low52Weeks>double</Low52Weeks> <Currency>string</Currency> <TradingHalted>boolean</TradingHalted> </GlobalQuote> <GlobalQuote> <QuoteWithSecurity> <Common> <Outcome>Success or SystemError or RequestError or RegistrationError
</Outcome> <Message>string</Message> <Identity>string</Identity> <Delay>double</Delay> </Common> <Security> <CIK>string</CIK> <CUSIP>string</CUSIP> <Symbol>string</Symbol> <ISIN>string</ISIN> <Valoren>string</Valoren> <Name>string</Name> <Market>string</Market> <MarketIdentificationCode>string</MarketIdentificationCode> <MostLiquidExchange>boolean</MostLiquidExchange> <CategoryOrIndustry>string</CategoryOrIndustry> </Security> </QuoteWithSecurity> <Date>string</Date> <Time>string</Time> <UTCOffset>double</UTCOffset> <Open>double</Open> <Close>double</Close> <High>double</High> <Low>double</Low> <Last>double</Last> <LastSize>double</LastSize> <Volume>double</Volume> <PreviousClose>double</PreviousClose> <PreviousCloseDate>string</PreviousCloseDate> <ChangeFromPreviousClose>double</ChangeFromPreviousClose> <PercentChangeFromPreviousClose>double</PercentChangeFromPreviousClose> <Bid>double</Bid> <BidSize>double</BidSize> <BidDate>string</BidDate> <BidTime>string</BidTime> <Ask>double</Ask> <AskSize>double</AskSize> <AskDate>string</AskDate> <AskTime>string</AskTime> <High52Weeks>double</High52Weeks> <Low52Weeks>double</Low52Weeks> <Currency>string</Currency> <TradingHalted>boolean</TradingHalted> </GlobalQuote> </ArrayOfGlobalQuote>

Knowledge Base Search

Find answers to your questions - search our FAQs by keyword.

Loading FAQs...

Here are our most popular FAQs. Alternatively you can search our FAQs by using the search box above or browse our FAQs.

Contact Support

support@xignite.com
Toll-free (866) 965-7627 Option 1
US (650) 655-3700 Option 1

Ticket Response Time
Enterprise Plan - 2 business hours
Premium Plan - 4 business hours
Standard Plan - 1 business day

Request a Consultation

We're here to assist you with your questions
Talk to an expert now

Output Descriptions

Outputs

NameDescriptionAlways Present
ArrayOfGlobalQuote
Returns an array of global quotes.No
GlobalQuote
Each instance represents a global quote.Yes
OutcomeThis field describes the outcome of the method. Possible values are: Success, SystemError, RequestError and RegistrationError.Yes
MessageA short message describing the error if the Outcome field contains a RequestError or RegistrationError.Yes
IdentityThis field describes how the call was authenticated. Possible values are: IP, Cookie, Header and Request.Yes
DelayThis field reports the time it took for the server to complete a request, in a decimal format measured in seconds (Example: 0.0016). This does not take into account any latency experienced by the caller.Yes
Security
Each instance represents a global security.Yes
CIKThe Central Index Key assigned to a security's issuing company, which is a number used on SEC systems to identify companies and other registered entities. The CIK may be unavailable for the issuer.No
CUSIPAvailable to licensed users only. The Committee on Uniform Securities Identification Procedures (CUSIP) identifier for all stocks and registered bonds.
CUSIPs are unique security identifiers managed by The CUSIP Service Bureau.
No
SymbolThe symbol identifier for the security. Commonly referred to as the Trading Symbol.Yes
ISINThe 12-character alpha-numeric International Securities Identification Number (ISO 6166 ISIN) assigned to a security.No
ValorenThe VALOR number assigned to a financial instrument.Yes
NameThe name for the security.Yes
MarketThe name of the market or exchange on which the security is listed.Yes
MarketIdentificationCodeThe Market Identification Code (ISO 10383 MIC) for the exchange.Yes
MostLiquidExchangeDenotes (true/false) whether Market is the most liquid market for the security (true) or not (false).Yes
CategoryOrIndustryThe category of business or industry classification of the security's issuing company.No
DateThe date for the quote in the local time of the exchange returned in the Market parameter.Yes
TimeThe time for the quote in the local time of the exchange returned in the Market parameter.Yes
UTCOffset

The offset or difference, in hours, from the local exchange time to UTC. For example, the offset is -5 for Eastern Standard Time. This offset value is applicable to the Last price time (the Time output parameter) returned.

This property can be used to convert the Time to UTC:

  • Formula: Time - UTCOffset = UTC
  • Example: Time=3:00 PM and UTCOffset=-5 results in UTC=8:00 PM.
Yes
OpenThe opening price for the security as of the quote's Date. Returns the value '0' prior to the Market's open on the same date.Yes
CloseThe closing price for the security as of the quote's Date. Returns the value '0' if the Market is open as of the quote's Time.Yes
HighThe highest price for the security as of the quote's Date and Time.Yes
LowThe lowest price for the security as of the quote's Date and Time.Yes
LastThe price at which the last trade occurred for the security as of the quote's Time.Yes
LastSizeThe number of shares traded at the last price.Yes
VolumeThe number of shares traded that day for the security across all exchanges as of the quote's Date and Time.Yes
PreviousCloseThe price for the security at Market close of the previous trading day.Yes
PreviousCloseDateThe date for the closing price returned in the PreviousClose parameter.Yes
ChangeFromPreviousCloseThe price difference between Last and PreviousClose prices.Yes
PercentChangeFromPreviousCloseThe percentage difference between Last and PreviousClose prices.Yes
BidThe highest bid price for the security as of the quote's Date and Time.No
BidSizeThe total quantity offered at the bid price.No
BidDateThe date of the bid price.No
BidTimeThe time of the bid price.No
AskThe lowest ask price for the security as of the quote's Date and Time.No
AskSizeThe total quantity offered at the ask price.No
AskDateThe date of the ask price.No
AskTimeThe time of the ask price.No
High52WeeksThe highest price at which the security traded in the last 52 weeks.Yes
Low52WeeksThe lowest price at which the security traded in the last 52 weeks.Yes
CurrencyThe currency of the equity.Yes
TradingHaltedThe trading halt status of the security. A "True" value means that trading in the security is halted as of the quote Time.Yes