StockQuotes

Service allows daily stock quote and stock indices retrieval.

Description: All web methods of this web service return a result typed as decimal or string. Methods with XML or XMLSchema suffix return an XML formatted string, which includes requested data. Other methods return decimal data type, which includes stock quote or index value for the specified stock exchange and date.
Common parameters: strStockExchange: Specifies stock exchange, for which you want to query quotes or indices.

Supported values:
  • "LJSE" - Ljubljana Stock Exchange
  • "NASDAQ" - Nasdaq

strStock: Parameter specified a stock which we want to query. You can enter a stock symbol.

strIndex: Parameter specifies an index on the specified stock exchange. Values differ for different stock exchanges.

Supported values:
  • Ljubljana Stock Exchange:

    • "SBI20" - Main Slovenian index
    • "IPT" - Free market index
    • "PIX" - Index of investment funds
    • "SBINT" - Unweighted main Slovenian index
    • "BIO" - Bond index
    • "FAR" - Pharmacy
    • "HRP" - Food and drinks
    • "KEM" - Chemistry
    • "NAF" - Oil and gas
    • "TRG" - Merchandise
    • "TRS" - Transport

  • Nasdaq:

    • "IXNDX" - Nasdaq-100
    • "IXFIN" - Nasdaq Financial-100
    • "INDU" - Dow Industrials

strSegment: Parameter specifies stock exchange segment. Values differ for different stock exchanges.

Supported values:
  • Ljubljana Stock Exchange:

    • "BKPK" - Official market - prime market
    • "BKD" - Official market - stocks
    • "BKO" - Official market - bonds
    • "PTD" - Free market - stocks
    • "PTO" - Free market - bonds
    • "PTDP" - Free market - stocks of investment funds
    • "PTNB" - Free market - stocks of authorized investment funds
    • "PTKVP" - Free market - short-term securities-treasury bills
    • "PTID" - Free market - stock of investment funds

  • Nasdaq:

    • "N100" - Nasdaq-100
    • "NSCM" - Nasdaq SCM
    • "NNM" - Nasdaq NM

strDate: Parameter specifies a date for the queried value. It should be formatted in "yyyy-mm-dd" format, where yyyy denotes year, mm month and dd day.

Example: "2001-11-03" means November 3rd, 2001.

strDateTime: Parameter specifies date and time for the queried value. It should be formatted in "yyyy-mm-dd HH:MM" format, where yyyy denotes year, mm month, dd day, HH hours in 24-hour format and MM minutes.

Example: "2001-11-03 09:05" means November 3rd 2001, five minutes after 9AM.

Description: Function returns a stock value for the specified exchange, stock and time.
Input parameters:
Output parameter: Function returns a decimal data type. Value denotes a stock quote for the specified stock exchange at the specified time.
Exceptions: Function can return an exception which specifies the error code.

Possible exceptions:
  • -1: Internal error. Unknown cause.
  • -2: The specified stock exchange could not be found.
  • -4: The specified stock could not be found.
  • -6: The specified time is invalid.
  • -8: Value could not be found for the specified stock exchange, stock and time.
Entry point: GetStockValue

Description: Function returns a stock value for the specified exchange, stock and date.
Input parameters:
Output parameter: Function returns a value typed as decimal. The return value denotes value of queried stock for the specified exchange and date.
Exceptions: Function can return an exception which specifies the error code.

Possible exceptions:
  • -1: Internal error. Unknown cause.
  • -2: The specified stock exchange could not be found.
  • -4: The specified stock could not be found.
  • -6: The specified date is not valid.
  • -8: The value could not be found for the specified stock exchange, stock and date.
Entry point: GetStockDailyValue

Description: Function returns the last previously published stock value for the specified exchange, stock and date.
Input parameters:
Output parameter: Function returns a value typed as decimal. The return value denotes the last previously published value of queried stock for the specified exchange and date.
Exceptions: Function can return an exception which specifies the error code.

Possible exceptions:
  • -1: Internal error. Unknown cause.
  • -2: The specified stock exchange could not be found.
  • -4: The specified stock could not be found.
  • -6: The specified date is not valid.
  • -8: The value could not be found for the specified stock exchange, stock and date.
Entry point: GetPreviousStockDailyValue

Description: Function returns an XML document which includes a price list for the specified exchange, segment and date.
Input parameters:
  • strStockExchange: Stock exchange which is defined in common section.
  • strSegment: Segment code, which is defined in common section. An empty string ("") is allowed. In this case a price list for all segments is returned.
  • strDate: Date, format is defined in common section.
Output parameter: Function returns a string value, formatted as XML. Value denotes a price list for the specified stock exchange, segment and date.
Exceptions: Function can return an exception which specifies the error code.

Possible exceptions:
  • Empty XML document: Price list for the specified exchange, segment and date could not be found.
  • "-1": Internal error. Unknown cause.
  • "-2": The specified stock exchange could not be found.
  • "-3": The specified segment could not be found.
  • "-6": The specified date is not valid.
Entry point: GetStockDailyValuesXML

Description: Function returns the latest value for specified stock exchange and stock.
Input parameters:
Output parameter: Function returns a value types as decimal. Value denotes a stock quote value for the specified stock exchange.
Exceptions: Function can return an exception which specifies the error code.

Possible exceptions:
  • -1: Internal error. Unknown cause.
  • -2: The specified stock exchange could not be found.
  • -4: The specified stock could not be found.
  • -8: Value could not be found for the specified stock exchange and stock.
Entry point: GetLatestStockValue

Description: Function returns the latest value for the specified stock exchange and stock.
Input parameters:
Output parameter: Function returns a value, typed as decimal. Value denotes the latest value of stock for the specified stock exchange.
Exceptions: Function can return an exception which specifies the error code.

Possible exceptions:
  • -1: Internal error. Unknown cause.
  • -2: The specified stock exchange could not be found.
  • -4: The specified stock could not be found.
  • -8: Value could not be found for the specified stock exchange and stock.
Entry point: GetLatestStockDailyValue

Description: Function returns the value before the latest published value for the specified stock exchange and stock.
Input parameters:
Output parameter: Function returns a value, typed as decimal. Value denotes the value before the latest published value of stock for the specified stock exchange.
Exceptions: Function can return an exception which specifies the error code.

Possible exceptions:
  • -1: Internal error. Unknown cause.
  • -2: The specified stock exchange could not be found.
  • -4: The specified stock could not be found.
  • -8: Value could not be found for the specified stock exchange and stock.
Entry point: GetLatestPreviousStockDailyValue

Description: Function returns an XML document which includes the latest price list for the specified stock exchange and segment.
Input parameters:
  • strStockExchange: Stock exchange which is defined in common section.
  • strSegment: Segment code, which is defined in common section. An empty string ("") is allowed. In this case a price list for all segments is returned.
Output parameter: Function returns a value typed as string, formatted as XML. Value denotes a price list for the specified stock exchange and segment.
Exceptions: Function can return an exception which specifies the error code.

Possible exceptions:
  • Empty XML document: Price list for the specified stock exchange and segment could not be found.
  • "-1": Internal error. Unknown cause.
  • "-2": The specified stock exchange could not be found.
  • "-3": The specified segment could not be found.
Entry point: GetLatestStockDailyValuesXML

Description: Function returns an XML string which describes the changes in value of stock for the specified stock exchange and time frame.
Input parameters:
Output parameter: Function returns a value typed as string, formatted in XML. Value denotes changes in stock values for the specified stock exchange and time frame.
Exceptions: Function can return an exception which specifies the error code.

Possible exceptions:
  • Empty XML document: Daily values for the specified stock exchange, stock and time frame could not be found.
  • "-1": Internal error. Unknown cause.
  • "-2": The specified stock exchange could not be found.
  • "-4": The specified stock could not be found.
  • "-6": Specified time frame is not valid.
Entry point: GetStockValuesByDateTimeXML

Description: Funkcija vrne XML niz, ki vsebuje dnevne vrednosti za izbrano borzo in vrednostni papir med podanima datumoma.
Input parameters:
Output parameter: Funkcija vrne vrednost tipa string, zapisan v standardu XML. Vrednost ustreza dnevnim vrednostim izbrane borze in vrednostnega papirja za izbrani datumski okvir.
Exceptions: Function can return an exception which specifies the error code.

Possible exceptions:
  • Empty XML document: Daily values for the specified stock exchange, stock and time frame could not be found.
  • "-1": Internal error. Unknown cause.
  • "-2": The specified stock exchange could not be found.
  • "-4": The specified stock could not be found.
  • "-6": Vnešeni datumski okvir ni veljaven.
Entry point: GetStockDailyValuesByDateXML

Description: Funkcija vrne XML niz, ki vsebuje tiste dnevne vrednosti za izbrano borzo in vrednostni papir, ki so med podanima vrednostima.
Input parameters:
  • strStockExchange: Stock exchange which is defined in common section.
  • strStock: Stock, which is defined in common section.
  • dcmLow: Spodnja vrednost vrednostnega papirja.
  • dcmHigh: Zgornja vrednost vrednostnega papirja.
Output parameter: Funkcija vrne vrednost tipa string, zapisan v standardu XML. Vrednost ustreza dnevnim vrednostim izbrane borze in vrednostnega papirja za izbrani vrednostni okvir.
Exceptions: Function can return an exception which specifies the error code.

Possible exceptions:
  • Prazen XML dokument: Dnevnih vrednosti za izbrano borzo, vrednostni papir in vrednostni okvir ni mogoče najti.
  • "-1": Internal error. Unknown cause.
  • "-2": The specified stock exchange could not be found.
  • "-4": The specified stock could not be found.
  • "-7": Vnešeni vrednostni okvir ni veljaven.
Entry point: GetStockDailyValuesByValueXML

Description: Funkcija vrne XML niz, ki vsebuje XML shemo (XSD), po kateri so formatirani rezultati vseh z vrednostnimi papirji povezanih funkcij, ki vračajo v XML standardu formatiran niz.
Output parameter: Funkcija vrne vrednost tipa string, zapisan v standardu XML. Vrednost ustreza XSD shemi za rezultate XML funkcij, povezanih z vrednostnimi papirji.
Exceptions: Function can return an exception which specifies the error code.

Possible exceptions:
  • "-1": Internal error. Unknown cause.
Entry point: GetStocksXMLSchema

Description: Funkcija vrne vrednost za izbrano borzo, indeks in čas.
Input parameters:
Output parameter: Funkcija vrne vrednost tipa decimal. Vrednost ustreza veljavni vrednosti indeksa za izbrano borzo ob podanem čas.
Exceptions: Function can return an exception which specifies the error code.

Possible exceptions:
  • -1: Internal error. Unknown cause.
  • -2: The specified stock exchange could not be found.
  • -5: Izbrani indeks ni prepoznan.
  • -6: The specified time is invalid.
  • -8: Za izbrano borzo, indeks in čas vrednosti ni mogoče najti.
Entry point: GetIndexValue

Description: Funkcija vrne vrednost za izbrano borzo, indeks in datum.
Input parameters:
Output parameter: Funkcija vrne vrednost tipa decimal. Vrednost ustreza vrednosti indeksa za izbrano borzo in datum.
Exceptions: Function can return an exception which specifies the error code.

Possible exceptions:
  • -1: Internal error. Unknown cause.
  • -2: The specified stock exchange could not be found.
  • -5: Izbrani indeks ni prepoznan.
  • -6: The specified date is not valid.
  • -8: Za izbrano borzo, indeks in datum vrednosti ni mogoče najti.
Entry point: GetIndexDailyValue

Description: Funkcija vrne XML niz, ki vsebuje vrednosti indeksov za izbrano borzo in datum.
Input parameters:
Output parameter: Funkcija vrne vrednost tipa string, zapisan v standardu XML. Vrednost ustreza vrednostim indeksov izbrane borze za izbrani datum.
Exceptions: Function can return an exception which specifies the error code.

Possible exceptions:
  • Prazen XML dokument: Vrednosti indeksov za izbrano borzo in datum ni mogoče najti.
  • "-1": Internal error. Unknown cause.
  • "-2": The specified stock exchange could not be found.
  • "-6": The specified date is not valid.
Entry point: GetIndexDailyValuesXML

Description: Funkcija vrne trenutno vrednost za izbrano borzo in indeks.
Input parameters:
Output parameter: Funkcija vrne vrednost tipa decimal. Vrednost ustreza trenutni vrednosti indeksa za izbrano borzo.
Exceptions: Function can return an exception which specifies the error code.

Possible exceptions:
  • -1: Internal error. Unknown cause.
  • -2: The specified stock exchange could not be found.
  • -5: Izbrani indeks ni prepoznan.
  • -8: Za izbrano borzo in indeks vrednosti ni mogoče najti.
Entry point: GetLatestIndexValue

Description: Funkcija vrne zadnjo objavljeno vrednost za izbrano borzo in indeks.
Input parameters:
Output parameter: Funkcija vrne vrednost tipa decimal. Vrednost ustreza zadnji objavljeni vrednosti indeksa za izbrano borzo.
Exceptions: Function can return an exception which specifies the error code.

Possible exceptions:
  • -1: Internal error. Unknown cause.
  • -2: The specified stock exchange could not be found.
  • -5: Izbrani indeks ni prepoznan.
  • -8: Za izbrano borzo in indeks vrednosti ni mogoče najti.
Entry point: GetLatestIndexDailyValue

Description: Funkcija vrne XML niz, ki vsebuje zadnje objavljene vrednosti indeksov za izbrano borzo.
Input parameters:
  • strStockExchange: Stock exchange which is defined in common section.
Output parameter: Funkcija vrne vrednost tipa string, zapisan v standardu XML. Vrednost ustreza vrednostim indeksov izbrane borze.
Exceptions: Function can return an exception which specifies the error code.

Possible exceptions:
  • Prazen XML dokument: Vrednosti indeksov za izbrano borzo ni mogoče najti.
  • "-1": Internal error. Unknown cause.
  • "-2": The specified stock exchange could not be found.
Entry point: GetLatestIndexDailyValuesXML

Description: Funkcija vrne XML niz, ki opisuje spreminjanje vrednosti indeksa na izbrani borzi v podanem časovnem intervalu.
Input parameters:
Output parameter: Funkcija vrne vrednost tipa string, zapisan v standardu XML. Vrednost ustreza spremembam vrednosti indeksa na izbrani borzi za izbrani časovni okvir.
Exceptions: Function can return an exception which specifies the error code.

Possible exceptions:
  • Prazen XML dokument: Dnevnih vrednosti za izbrano borzo, indeks in datumski okvir ni mogoče najti.
  • "-1": Internal error. Unknown cause.
  • "-2": The specified stock exchange could not be found.
  • "-5": Izbrani indeks ni prepoznan.
  • "-6": Specified time frame is not valid.
Entry point: GetIndexValuesByDateXML

Description: Funkcija vrne XML niz, ki vsebuje dnevne vrednosti za izbrano borzo in indeks med podanima datumoma.
Input parameters:
Output parameter: Funkcija vrne vrednost tipa string, zapisan v standardu XML. Vrednost ustreza dnevnim vrednostim izbrane borze in indeksa za izbrani datumski okvir.
Exceptions: Function can return an exception which specifies the error code.

Possible exceptions:
  • Prazen XML dokument: Dnevnih vrednosti za izbrano borzo, indeks in datumski okvir ni mogoče najti.
  • "-1": Internal error. Unknown cause.
  • "-2": The specified stock exchange could not be found.
  • "-5": Izbrani indeks ni prepoznan.
  • "-6": Vnešeni datumski okvir ni veljaven.
Entry point: GetIndexDailyValuesByDateXML

Description: Funkcija vrne XML niz, ki vsebuje tiste dnevne vrednosti za izbrano borzo in indeks, ki so med podanima vrednostima.
Input parameters:
  • strStockExchange: Stock exchange which is defined in common section.
  • strIndex: Oznaka indeksa, ki je definirana v splošnem opisu spletne storitve.
  • dcmLow: Spodnja vrednost vrednostnega papirja.
  • dcmHigh: Zgornja vrednost vrednostnega papirja.
Output parameter: Funkcija vrne vrednost tipa string, zapisan v standardu XML. Vrednost ustreza dnevnim vrednostim izbrane borze in indeksa za izbrani vrednostni okvir.
Exceptions: Function can return an exception which specifies the error code.

Possible exceptions:
  • Prazen XML dokument: Dnevnih vrednosti za izbrano borzo, indeks in vrednostni okvir ni mogoče najti.
  • "-1": Internal error. Unknown cause.
  • "-2": The specified stock exchange could not be found.
  • "-5": Izbrani indeks ni prepoznan.
  • "-7": Vnešeni vrednostni okvir ni veljaven.
Entry point: GetIndexDailyValuesByValueXML

Description: Funkcija vrne XML niz, ki vsebuje XML shemo (XSD), po kateri so formatirani rezultati vseh z indeksi povezanih funkcij, ki vračajo v XML standardu formatiran niz.
Output parameter: Funkcija vrne vrednost tipa string, zapisan v standardu XML. Vrednost ustreza XSD shemi za rezultate XML funkcij, povezanih z indeksi.
Exceptions: Function can return an exception which specifies the error code.

Possible exceptions:
  • "-1": Internal error. Unknown cause.
Entry point: GetIndicesXMLSchema
 



  [English] Sistemske zahteve: Microsoft Windows 98, Windows NT, Windows 2000 ali Windows XP / Office 2000 ali kasnejši / Outlook 2000 ali kasnejši
Znaka Microsoft in Office sta znamki ali registrirani znamki podjetja Microsoft Corporation v ZDA in/ali drugih državah.
Oblikovanje
Netis