Ichimoku Kinko Hyo

Ichimoku Kinko Hyo Ruby API Documentation

The Ichimoku Kinko Hyo was designed to be an all-in-one trading indicator that could help traders determine momentum, support, and resistance.

API Class:
Intrinio::SecurityApi
Instance Method:
get_security_price_technicals_ichimoku()

Stock Price Code Example

Use my API Key
# Load the gem
require 'intrinio-sdk'
require 'pp'
# Setup authorization
Intrinio.configure do |config|
config.api_key['api_key'] = 'YOUR_API_KEY'
config.allow_retries = true
end
security_api = Intrinio::SecurityApi.new
identifier = "AAPL"
opts = {
low_period: 9,
medium_period: 26,
high_period: 52,
start_date: "2018-01-01",
end_date: "2019-01-01",
page_size: 100,
next_page: nil
}
result = security_api.get_security_price_technicals_ichimoku(identifier, opts)
pp result
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierStringA Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID) 
low_periodIntegerThe number of observations, per period, to calculate Tenkan Sen (Conversion Line) of Ichimoku Kinko Hyo[optional] [default to 9]  
medium_periodIntegerThe number of observations, per period, to calculate Kijun Sen (Base Line), Senkou Span A (Leading Span A), and Chikou Span (Lagging Span) of Ichimoku Kinko Hyo[optional] [default to 26]  
high_periodIntegerThe number of observations, per period, to calculate Senkou Span B (Leading Span B) of Ichimoku Kinko Hyo[optional] [default to 52]  
start_dateStringReturn technical indicator values on or after the date[optional]  
end_dateStringReturn technical indicator values on or before the date[optional]  
page_sizeIntegerThe number of results to return[optional] [default to 100]  
next_pageStringGets the next page of data from a previous API call[optional]  

Return Type

object
Intrinio::ApiResponseSecurityIchimokuKinkoHyo

Properties

NameTypeDescription
technicalsArray 
indicatorTechnicalIndicatorThe name and symbol of the technical indicator  
securitySecuritySummaryThe Security of the Stock Price  
next_pageStringThe token required to request the next page of the data. If null, no further results are available.  
object
Intrinio::IchimokuKinkoHyoTechnicalValue

Properties

NameTypeDescription
date_timeDateTimeThe date_time of the observation  
chikou_spanFloatThe Chikou Span (Lagging Span) value of the Ichimoku Kinko Hyo calculation  
kijun_senFloatThe Kijun-sen (Base Line) value of the Ichimoku Kinko Hyo calculation  
senkou_span_aFloatThe Senkou Span A (Leading Span A) value of the Ichimoku Kinko Hyo calculation  
senkou_span_bFloatThe Senkou Span B (Leading Span B) value of the Ichimoku Kinko Hyo calculation  
tenkan_senFloatThe Tenskan-sen (Conversion Line) value of the Ichimoku Kinko Hyo calculation  
object
Intrinio::TechnicalIndicator

Properties

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

Properties

NameTypeDescription
idStringThe Intrinio ID for Security  
company_idStringThe Intrinio ID for the Company for which the Security is issued  
exchangeStringThe exchange's MIC  
exchange_micStringThe security's exchange MIC  
stock_exchange_idStringThe 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  
composite_tickerStringThe country-composite ticker of the Security  
figiStringThe OpenFIGI identifier  
composite_figiStringThe country-composite OpenFIGI identifier  
share_class_figiStringThe global-composite OpenFIGI identifier  
primary_listingBOOLEANIf true, the Security is the primary issue for the company, otherwise it is a secondary issue on a secondary stock exchange