public class Profile extends MarketEvent implements LastingEvent<String>
Profile event has the following properties:
 eventSymbol - symbol of this event;
 description - description of the security instrument;
 shortSaleRestriction - short sale restriction of the security instrument;
 tradingStatus - trading status of the security instrument;
 statusReason - description of the reason that trading was halted;
 haltStartTime - starting time of the trading halt interval;
 haltEndTime - ending time of the trading halt interval;
 highLimitPrice - maximal (high) allowed price;
 lowLimitPrice - minimal (low) allowed price;
 high52WeekPrice - maximal (high) price in last 52 weeks;
 low52WeekPrice - minimal (low) price in last 52 weeks;
 beta - the correlation coefficient of the instrument to the S&P500 index;
 earningsPerShare - earnings per share;
 dividendFrequency - Frequency of cash dividends payments per year (calculated);
 exDividendAmount - the amount of the last paid dividend;
 exDividendDayId - identifier of the ex-dividend date;
 shares - shares outstanding;
 freeFloat - the number of shares that are available to the public for trade.
 Profile.| Constructor and Description | 
|---|
Profile()
Creates new profile with default values. 
 | 
Profile(String eventSymbol)
Creates new profile with the specified event symbol. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected String | 
baseFieldsToString()  | 
double | 
getBeta()
Returns the correlation coefficient of the instrument to the S&P500 index. 
 | 
String | 
getDescription()
Returns description of the security instrument. 
 | 
double | 
getDividendFrequency()
Returns frequency of cash dividends payments per year (calculated). 
 | 
double | 
getEarningsPerShare()
Returns earnings per share (the company’s profits divided by the number of shares). 
 | 
double | 
getExDividendAmount()
Returns the amount of the last paid dividend. 
 | 
int | 
getExDividendDayId()
Returns identifier of the day of the last dividend payment (ex-dividend date). 
 | 
protected int | 
getFlags()
Returns implementation-specific flags. 
 | 
double | 
getFreeFloat()
Returns free-float - the number of shares outstanding that are available to the public for trade. 
 | 
long | 
getHaltEndTime()
Returns ending time of the trading halt interval. 
 | 
long | 
getHaltStartTime()
Returns starting time of the trading halt interval. 
 | 
double | 
getHigh52WeekPrice()
Returns the maximal (high) price in last 52 weeks. 
 | 
double | 
getHighLimitPrice()
Returns the maximal (high) allowed price. 
 | 
double | 
getLow52WeekPrice()
Returns the minimal (low) price in last 52 weeks. 
 | 
double | 
getLowLimitPrice()
Returns the minimal (low) allowed price. 
 | 
double | 
getShares()
Returns the number of shares outstanding. 
 | 
ShortSaleRestriction | 
getShortSaleRestriction()
Returns short sale restriction of the security instrument. 
 | 
String | 
getStatusReason()
Returns description of the reason that trading was halted. 
 | 
TradingStatus | 
getTradingStatus()
Returns trading status of the security instrument. 
 | 
boolean | 
isShortSaleRestricted()
Returns short sale restriction status of the security instrument. 
 | 
boolean | 
isTradingHalted()
Returns trading halt status of the security instrument. 
 | 
void | 
setBeta(double beta)
Changes the correlation coefficient of the instrument to the S&P500 index. 
 | 
void | 
setDescription(String description)
Changes description of the security instrument. 
 | 
void | 
setDividendFrequency(double dividendFrequency)
Changes frequency of cash dividends payments per year. 
 | 
void | 
setEarningsPerShare(double earningsPerShare)
Changes Earnings per share (the company’s profits divided by the number of shares). 
 | 
void | 
setExDividendAmount(double exDividendAmount)
Changes the amount of the last paid dividend. 
 | 
void | 
setExDividendDayId(int exDividendDayId)
Changes identifier of the day of the last dividend payment (ex-dividend date). 
 | 
protected void | 
setFlags(int flags)
Changes implementation-specific flags. 
 | 
void | 
setFreeFloat(double freeFloat)
Changes free-float - the number of shares outstanding that are available to the public for trade 
 | 
void | 
setHaltEndTime(long haltEndTime)
Changes ending time of the trading halt interval. 
 | 
void | 
setHaltStartTime(long haltStartTime)
Changes starting time of the trading halt interval. 
 | 
void | 
setHigh52WeekPrice(double high52WeekPrice)
Changes the maximal (high) price in last 52 weeks. 
 | 
void | 
setHighLimitPrice(double highLimitPrice)
Changes the maximal (high) allowed price. 
 | 
void | 
setLow52WeekPrice(double low52WeekPrice)
Changes the minimal (low) price in last 52 weeks. 
 | 
void | 
setLowLimitPrice(double lowLimitPrice)
Changes the minimal (low) allowed price. 
 | 
void | 
setShares(double shares)
Changes the number of shares outstanding. 
 | 
void | 
setShortSaleRestricted(boolean isShortSaleRestricted)
Deprecated. 
 
use  
setShortSaleRestriction instead. | 
void | 
setShortSaleRestriction(ShortSaleRestriction restriction)
Changes short sale restriction of the security instrument. 
 | 
void | 
setStatusReason(String statusReason)
Changes description of the reason that trading was halted. 
 | 
void | 
setTradingHalted(boolean isTradingHalted)
Deprecated. 
 
use  
setTradingStatus instead. | 
void | 
setTradingStatus(TradingStatus status)
Changes trading status of the security instrument. 
 | 
String | 
toString()
Returns string representation of this profile event. 
 | 
getEventSymbol, getEventTime, setEventSymbol, setEventTimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEventSymbol, getEventTime, setEventSymbol, setEventTimepublic Profile()
public Profile(String eventSymbol)
eventSymbol - event symbol.public String getDescription()
public void setDescription(String description)
description - description of the security instrument.public ShortSaleRestriction getShortSaleRestriction()
public void setShortSaleRestriction(ShortSaleRestriction restriction)
restriction - short sale restriction of the security instrument.public boolean isShortSaleRestricted()
true if short sale of the security instrument is restricted.@Deprecated public void setShortSaleRestricted(boolean isShortSaleRestricted)
setShortSaleRestriction instead.isShortSaleRestricted - true if short sale of the security instrument is restricted.public TradingStatus getTradingStatus()
public void setTradingStatus(TradingStatus status)
status - trading status of the security instrument.public boolean isTradingHalted()
true if trading of the security instrument is halted.@Deprecated public void setTradingHalted(boolean isTradingHalted)
setTradingStatus instead.isTradingHalted - true if trading of the security instrument is halted.public String getStatusReason()
public void setStatusReason(String statusReason)
statusReason - description of the reason that trading was halted.public long getHaltStartTime()
public void setHaltStartTime(long haltStartTime)
haltStartTime - starting time of the trading halt interval.public long getHaltEndTime()
public void setHaltEndTime(long haltEndTime)
haltEndTime - ending time of the trading halt interval.public double getHighLimitPrice()
public void setHighLimitPrice(double highLimitPrice)
highLimitPrice - the maximal (high) allowed price.public double getLowLimitPrice()
public void setLowLimitPrice(double lowLimitPrice)
lowLimitPrice - the minimal (low) allowed price.public double getHigh52WeekPrice()
public void setHigh52WeekPrice(double high52WeekPrice)
high52WeekPrice - the maximal (high) price in last 52 weeks.public double getLow52WeekPrice()
public void setLow52WeekPrice(double low52WeekPrice)
low52WeekPrice - the minimal (low) price in last 52 weeks.public double getBeta()
public void setBeta(double beta)
beta - the correlation coefficient of the instrument to the S&P500 indexpublic double getEarningsPerShare()
public void setEarningsPerShare(double earningsPerShare)
earningsPerShare - earnings per sharepublic double getDividendFrequency()
public void setDividendFrequency(double dividendFrequency)
dividendFrequency - frequency of cash dividends payments per yearpublic double getExDividendAmount()
public void setExDividendAmount(double exDividendAmount)
exDividendAmount - the amount of the last paid dividendpublic int getExDividendDayId()
public void setExDividendDayId(int exDividendDayId)
exDividendDayId - identifier of the day of the last dividend paymentpublic double getShares()
public void setShares(double shares)
shares - shares outstanding.public double getFreeFloat()
public void setFreeFloat(double freeFloat)
freeFloat - the number of shares outstanding that are available to the public for tradepublic String toString()
protected String baseFieldsToString()
protected int getFlags()
protected void setFlags(int flags)
flags - flags.Copyright © 2002–2023 Devexperts LLC. All rights reserved.