Re: Free RealTime Data NOW Nest ODIN Trade Tiger Google Yahoo to AmiBroker, Fcharts M
can this utility be extended with other columns like bid price, bid qty, ask price, ask qty, tbq, tsq etc!
See Extract of Quotation structure from Amibroker Development Kit
// 40-bytes 8-byte aligned
struct Quotation {
union AmiDate DateTime; // 8 byte
float Price;
float Open;
float High;
float Low;
float Volume;
float OpenInterest;
float AuxData1;
float AuxData2;
};
Quotation structure holds single bar data. DateTime field holds bar date and time and is an AmiDate structure equivalent to unsigned 64 bit int (change from previous release of ADK) Price field is actualy Close price. The Open, High, Low fields are self-explanatory, these are single precision floating point numbers. Please note that Volume and OpenInterest fields are currently floating point numbers (change since previous release of ADK). There are two new fields: AuxData1, and AuxData2 for storing auxilliary data such as Bid, Ask, or Traded Volume or user-defined numbers. The meaning of those two fields can be dynamic and depends on data source.
That means you have only 2 fields viz. AuxData1, and AuxData2 in which you can store additional info and display on chart.