#include <Index.h>
Public Member Functions | |
| Index () | |
| ~Index () | |
| void | getHistory (BarData *, QDateTime &, QString &, int, BarData::BarLength) |
| void | loadIndexData (QString &symbol, QDict< Bar > &lookup, QDateTime &startDate, float weight, int barRange, BarData::BarLength barLength) |
Definition at line 31 of file Index.h.
| void Index::getHistory | ( | BarData * | barData, | |
| QDateTime & | startDate, | |||
| QString & | il, | |||
| int | barRange, | |||
| BarData::BarLength | barLength | |||
| ) |
Definition at line 36 of file Index.cpp.
References Bar::getClose(), Bar::getDate(), Bar::getDateTimeString(), Bar::getHigh(), Bar::getLow(), Bar::getOI(), Bar::getOpen(), loadIndexData(), BarData::prepend(), Bar::setClose(), Bar::setDate(), Bar::setHigh(), Bar::setLow(), and Bar::setOpen().
| void Index::loadIndexData | ( | QString & | symbol, | |
| QDict< Bar > & | lookup, | |||
| QDateTime & | startDate, | |||
| float | weight, | |||
| int | barRange, | |||
| BarData::BarLength | barLength | |||
| ) |
Definition at line 110 of file Index.cpp.
References DBBase::close(), BarData::count(), Bar::getClose(), BarData::getClose(), BarData::getDate(), Bar::getDateTimeString(), Bar::getHigh(), BarData::getHigh(), DbPlugin::getHistory(), Bar::getLow(), BarData::getLow(), Bar::getOI(), Bar::getOpen(), BarData::getOpen(), BarData::setBarLength(), DbPlugin::setBarRange(), Bar::setClose(), Bar::setDate(), Bar::setHigh(), Bar::setLow(), Bar::setOI(), and Bar::setOpen().
Referenced by getHistory().