Know Sure Thing

Know Sure Thing Csharp API Documentation

The Know Sure Thing indicator (KST) is a momentum based oscillator that is calculated by measuring the momentum of four separate price cycles. KST fluctuates above and below a zero line and is used to identify overbought and oversold conditions, and is often used with additional indicators to boost signal strength.

API Class:
Intrinio.SDK.Api.SecurityApi
Instance Method:
GetSecurityPriceTechnicalsKst()

Stock Price Code Example

Use my API Key
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;
namespace Example
{
public class GetSecurityPriceTechnicalsKstExample
{
public static void Main()
{
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
Configuration.Default.AllowRetries = true;
var securityApi = new SecurityApi();
string identifier = "AAPL";
int? roc1 = 10;
int? roc2 = 15;
int? roc3 = 20;
int? roc4 = 30;
int? sma1 = 10;
int? sma2 = 10;
int? sma3 = 10;
int? sma4 = 15;
string priceKey = "close";
string startDate = "2018-01-01";
string endDate = "2019-01-01";
int? pageSize = 100;
string nextPage = null;
ApiResponseSecurityKnowSureThing result = securityApi.GetSecurityPriceTechnicalsKst(identifier, roc1, roc2, roc3, roc4, sma1, sma2, sma3, sma4,
        priceKey, startDate, endDate, pageSize, nextPage);
Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
}
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierstringA Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID) 
roc1int?The number of observations, per period, to calculate the rate-of-change for RCMA1[optional] [default to 10]  
roc2int?The number of observations, per period, to calculate the rate-of-change for RCMA2[optional] [default to 15]  
roc3int?The number of observations, per period, to calculate the rate-of-change for RCMA3[optional] [default to 20]  
roc4int?The number of observations, per period, to calculate the rate-of-change for RCMA4[optional] [default to 30]  
sma1int?The number of observations, per period, to calculate the Simple Moving Average of the rate-of-change for RCMA1[optional] [default to 10]  
sma2int?The number of observations, per period, to calculate the Simple Moving Average of the rate-of-change for RCMA2[optional] [default to 10]  
sma3int?The number of observations, per period, to calculate the Simple Moving Average of the rate-of-change for RCMA3[optional] [default to 10]  
sma4int?The number of observations, per period, to calculate the Simple Moving Average of the rate-of-change for RCMA4[optional] [default to 15]  
priceKeystringThe Stock Price field to use when calculating Know Sure Thing[optional] [default to close]  
startDatestringReturn technical indicator values on or after the date[optional]  
endDatestringReturn technical indicator values on or before the date[optional]  
pageSizeint?The number of results to return[optional] [default to 100]  
nextPagestringGets the next page of data from a previous API call[optional]  


Return Type

object
Intrinio.SDK.Model.ApiResponseSecurityKnowSureThing

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
Intrinio.SDK.Model.KnowSureThingTechnicalValue

Properties

NameTypeDescription
DateTimeDateTime?The date_time of the observation  
Kstfloat?The Know Sure Thing calculation value  
object
Intrinio.SDK.Model.TechnicalIndicator

Properties

NameTypeDescription
NamestringThe name of the Technical Indicator  
SymbolstringThe symbol of the Technical Indicator  
object
Intrinio.SDK.Model.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  
PrimaryListingbool?If true, the Security is the primary issue for the company, otherwise it is a secondary issue on a secondary stock exchange