Ultimate Oscillator

Ultimate Oscillator Java API Documentation

The Ultimate Oscillator (UO) is a range bound technical indicator that moves between 0 and 100 and is calculated with 3 timeframes, typically 7, 14, and 28 day periods. When UO`s value is above 70 a security is categorized as overbought and when UO`s value is below 30 a security is categorized as oversold.

API Class:
SecurityApi
Instance Method:
getSecurityPriceTechnicalsUo()

Stock Price Code Example

Use my API Key
import com.intrinio.api.*;
import com.intrinio.models.*;
import com.intrinio.invoker.*;
import com.intrinio.invoker.auth.*;
import org.threeten.bp.*;
import java.math.BigDecimal;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
ApiClient defaultClient = Configuration.getDefaultApiClient();
ApiKeyAuth auth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
auth.setApiKey("YOUR_API_KEY");
defaultClient.setAllowRetries(true);
SecurityApi securityApi = new SecurityApi();
String identifier = "AAPL";
Integer shortPeriod = 7;
Integer mediumPeriod = 14;
Integer longPeriod = 28;
Float shortWeight = 4.0F;
Float mediumWeight = 2.0F;
Float longWeight = 1.0F;
String startDate = "2018-01-01";
String endDate = "2019-01-01";
Integer pageSize = 100;
String nextPage = null;
ApiResponseSecurityUltimateOscillator result = securityApi.getSecurityPriceTechnicalsUo(identifier, shortPeriod, mediumPeriod, longPeriod,
      shortWeight, mediumWeight, longWeight, startDate, endDate, pageSize, nextPage);
System.out.println(result);
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierStringA Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID) 
shortPeriodIntegerThe number of observations, per period, to calculate the short period for Ultimate Oscillator[optional] [default to 7]  
mediumPeriodIntegerThe number of observations, per period, to calculate the medium period for Ultimate Oscillator[optional] [default to 14]  
longPeriodIntegerThe number of observations, per period, to calculate the long period for Ultimate Oscillator[optional] [default to 28]  
shortWeightFloatThe weight of short Buying Pressure average for Ultimate Oscillator[optional] [default to 4.0]  
mediumWeightFloatThe weight of medium Buying Pressure average for Ultimate Oscillator[optional] [default to 2.0]  
longWeightFloatThe weight of long Buying Pressure average for Ultimate Oscillator[optional] [default to 1.0]  
startDateStringReturn technical indicator values on or after the date[optional]  
endDateStringReturn technical indicator values on or before the date[optional]  
pageSizeIntegerThe number of results to return[optional] [default to 100]  
nextPageStringGets the next page of data from a previous API call[optional]  


Return Type

object
ApiResponseSecurityUltimateOscillator

Properties

NameTypeDescription
technicalsList 
indicatorTechnicalIndicatorThe name and symbol of the technical indicator  
securitySecuritySummaryThe Security of the Stock Price  
nextPageStringThe token required to request the next page of the data. If null, no further results are available.  
object
UltimateOscillatorTechnicalValue

Properties

NameTypeDescription
dateTimeOffsetDateTimeThe date_time of the observation  
uoFloatThe Ultimate Oscillator calculation value  
object
TechnicalIndicator

Properties

NameTypeDescription
nameStringThe name of the Technical Indicator  
symbolStringThe symbol of the Technical Indicator  
object
SecuritySummary

Properties

NameTypeDescription
idStringThe Intrinio ID for Security  
companyIdStringThe Intrinio ID for the Company for which the Security is issued  
exchangeStringThe exchange's MIC  
exchangeMicStringThe security's exchange MIC  
stockExchangeIdStringThe exchange's Intrinio ID  
nameStringThe name of the Security  
codeStringA 2-3 digit code classifying the Security (reference)  
currencyStringThe currency in which the Security is traded on the exchange  
tickerStringThe common/local ticker of the Security  
compositeTickerStringThe country-composite ticker of the Security  
figiStringThe OpenFIGI identifier  
compositeFigiStringThe country-composite OpenFIGI identifier  
shareClassFigiStringThe global-composite OpenFIGI identifier  
primaryListingBooleanIf true, the Security is the primary issue for the company, otherwise it is a secondary issue on a secondary stock exchange