Options Unusual Activity Intraday

Options Unusual Activity Intraday Java API Documentation

Returns unusual trades for a given identifier within the query parameters.

API Class:
OptionsApi
Instance Method:
getUnusualActivityIntraday()

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);
OptionsApi optionsApi = new OptionsApi();
String symbol = "AAPL";
String nextPage = null;
Integer pageSize = 1000;
String activityType = null;
String sentiment = null;
LocalDate startDate = LocalDate.of(2022,2,01);
LocalDate endDate = LocalDate.of(2022,2,03);
Object minimumTotalValue = 100000.0;
Object maximumTotalValue = 200000.0;
ApiResponseOptionsUnusualActivity result = optionsApi.getUnusualActivityIntraday(symbol, nextPage, pageSize, activityType, sentiment, startDate,
      endDate, minimumTotalValue, maximumTotalValue);
System.out.println(result);
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
symbolStringThe option symbol, corresponding to the underlying security. 
nextPageStringGets the next page of data from a previous API call[optional]  
pageSizeIntegerThe number of results to return[optional] [default to 1000]  
activityTypeStringThe unusual activity type to query for.[optional] [enum: block, sweep, large]  
sentimentStringThe sentiment type to query for.[optional] [enum: bullish, bearish, neutral]  
startDateLocalDateReturn unusual activity on or after this date.[optional]  
endDateLocalDateReturn unusual activity on or before this date.[optional]  
minimumTotalValueObjectThe inclusive minimum total value for the unusual activity.[optional]  
maximumTotalValueObjectThe inclusive maximum total value for the unusual activity.[optional]  


Return Type

object
ApiResponseOptionsUnusualActivity

Properties

NameTypeDescription
tradesListA list of unusual trades for a given company identifier  
object
OptionUnusualTrade

Properties

NameTypeDescription
symbolStringThe underlying option security symbol for the trade  
timestampLocalDateThe UTC timestamp of order placement  
typeStringThe type of unusual trade  
totalValueBigDecimalThe aggregated value of all option contract premiums included in the trade  
totalSizeBigDecimalThe total number of contracts involved in a single transaction  
averagePriceBigDecimalThe average premium paid per option contract  
contractStringThe option contract symbol  
askAtExecutionBigDecimalAsk price at execution  
bidAtExecutionBigDecimalBid price at execution  
sentimentSentimentEnumBullish, Bearish, or Neutral Sentiment is estimated based on whether the trade was executed at the bid, ask, or mark price.  
underlyingPriceAtExecutionBigDecimalPrice of the underlying security at execution of trade