Options Unusual Activity

Options Unusual Activity Java API Documentation

Returns unusual options activity for a particular company across all option chains. Unusual options activity includes large trades, sweeps, and block trades.

API Class:
OptionsApi
Instance Method:
getUnusualActivity()

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 source = null;
ApiResponseOptionsUnusualActivity result = optionsApi.getUnusualActivity(symbol, source);
System.out.println(result);
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
symbolStringThe option symbol, corresponding to the underlying security. 
sourceStringRealtime or 15-minute delayed contracts.[optional] [enum: realtime, delayed]  


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