I have the eSignal 7.7 documentation that shows the function XMLGetFundamentalData() but I can not find any sample for this function in C++. Is this function still active. The button click event below runs but the ReturnValue is the string 'Fundamental data' and the fields returns as a single number fields 31021680. I don't see where the fundamental data is returned.
Can you show how I correctly call this functions to get the fundamental data.
void __fastcall TForm1::ButtonClick(TObject *Sender)
{
BSTR sSymbol = L"IBM";
BTR ReturnValue;
Iesignal_tlb::fundamentalTypeFlags fields;
long lReserved=0;
ReturnValue = Hooks1->XMLGetFundamentalData(sSymbol, fields, lReserved);
}
//=====================================
fields.ftf52HDATE; //1 52-week high date
fields.ftf52LDATE; //2 52-week low date
fields.ftf52WHIGH; //3 52-week high
fields.ftf52WLOW; //4 52-week low
fields.ftfCUSIP; //5 Cusip number
fields.ftfDIVIDEND; //6 Dividend
fields.ftfDIVINT; //7 Dividend interval
fields.ftfEPS; //8 Earnings per share
fields.ftfLISTEXG; //9 Listed exchange
fields.ftfMCAP; //10 Market capitalization
fields.ftfNAME; //11 Company name
fields.ftfNAV; //12 Net asset value
fields.ftfOPENINT; //14 Number of outstanding issues (futures only)
fields.ftfPE; //15 Price/earnings ratio
fields.ftfSHARES; //16 Shares outstanding
fields.ftfSIC; //17 Standard Industrial Classifications Index (Sector)
fields.ftfUPCRES; //18 UPC Restricted (Boolean)
fields.ftfXDATE; //19 Dividend date
fields.ftfYIELD; //20 Yield
fields.ftfALL; //255 All fundamental data
Can you show how I correctly call this functions to get the fundamental data.
void __fastcall TForm1::ButtonClick(TObject *Sender)
{
BSTR sSymbol = L"IBM";
BTR ReturnValue;
Iesignal_tlb::fundamentalTypeFlags fields;
long lReserved=0;
ReturnValue = Hooks1->XMLGetFundamentalData(sSymbol, fields, lReserved);
}
//=====================================
fields.ftf52HDATE; //1 52-week high date
fields.ftf52LDATE; //2 52-week low date
fields.ftf52WHIGH; //3 52-week high
fields.ftf52WLOW; //4 52-week low
fields.ftfCUSIP; //5 Cusip number
fields.ftfDIVIDEND; //6 Dividend
fields.ftfDIVINT; //7 Dividend interval
fields.ftfEPS; //8 Earnings per share
fields.ftfLISTEXG; //9 Listed exchange
fields.ftfMCAP; //10 Market capitalization
fields.ftfNAME; //11 Company name
fields.ftfNAV; //12 Net asset value
fields.ftfOPENINT; //14 Number of outstanding issues (futures only)
fields.ftfPE; //15 Price/earnings ratio
fields.ftfSHARES; //16 Shares outstanding
fields.ftfSIC; //17 Standard Industrial Classifications Index (Sector)
fields.ftfUPCRES; //18 UPC Restricted (Boolean)
fields.ftfXDATE; //19 Dividend date
fields.ftfYIELD; //20 Yield
fields.ftfALL; //255 All fundamental data