#include <NYBOT.h>


Public Slots | |
| void | parse () |
| void | fileDone (bool) |
| void | timeoutError () |
Public Member Functions | |
| NYBOT () | |
| virtual | ~NYBOT () |
| void | update () |
| void | cancelUpdate () |
| void | loadSettings () |
| void | saveSettings () |
| void | buildGui () |
Private Attributes | |
| FuturesData | fd |
| bool | cancelFlag |
| DbPlugin | plug |
| Config | config |
| QDateEdit * | date |
| QString | url |
| QString | file |
Definition at line 28 of file NYBOT.h.
| NYBOT::NYBOT | ( | ) |
Definition at line 39 of file NYBOT.cpp.
References buildGui(), cancelFlag, fileDone(), QuotePlugin::helpFile, loadSettings(), QuotePlugin::pluginName, QuotePlugin::signalGetFileDone(), QuotePlugin::signalTimeout(), and timeoutError().
| NYBOT::~NYBOT | ( | ) | [virtual] |
| void NYBOT::update | ( | ) | [virtual] |
Reimplemented from QuotePlugin.
Definition at line 83 of file NYBOT.cpp.
References DBBase::close(), config, date, QuotePlugin::errorLoop, file, Config::getData(), QuotePlugin::getFile(), Config::Home, plug, and url.
| void NYBOT::cancelUpdate | ( | ) |
| void NYBOT::loadSettings | ( | ) |
Definition at line 395 of file NYBOT.cpp.
References QuotePlugin::retrySpin, and QuotePlugin::timeoutSpin.
Referenced by NYBOT().
| void NYBOT::saveSettings | ( | ) |
Definition at line 409 of file NYBOT.cpp.
References QuotePlugin::retrySpin, and QuotePlugin::timeoutSpin.
Referenced by ~NYBOT().
| void NYBOT::buildGui | ( | ) |
Reimplemented from QuotePlugin.
Definition at line 60 of file NYBOT.cpp.
References QuotePlugin::baseWidget, date, and QuotePlugin::grid.
Referenced by NYBOT().
| void NYBOT::parse | ( | ) | [slot] |
Definition at line 144 of file NYBOT.cpp.
References cancelFlag, QuotePlugin::chartIndex, DBBase::close(), QuotePlugin::createDirectory(), DbPlugin::createNewFutures(), QuotePlugin::data, date, QuotePlugin::downloadComplete(), fd, file, Bar::getClose(), Setting::getData(), FuturesData::getExchange(), Bar::getHigh(), DBIndex::getIndexItem(), Bar::getLow(), Bar::getOpen(), DBIndexItem::getSymbol(), FuturesData::getSymbol(), Exchange::NYBOT, DbPlugin::open(), plug, QuotePlugin::pluginName, QuotePlugin::printStatusLogMessage(), DbPlugin::setBar(), Bar::setClose(), Setting::setData(), Bar::setDate(), DBIndexItem::setExchange(), Bar::setHigh(), DBIndex::setIndexItem(), Bar::setLow(), Bar::setOI(), Bar::setOpen(), DBIndexItem::setQuotePlugin(), FuturesData::setSymbol(), QuotePlugin::setTFloat(), Bar::setVolume(), QuotePlugin::signalWakeup(), QuotePlugin::stripJunk(), QuotePlugin::tfloat, and Bar::verify().
Referenced by fileDone().
| void NYBOT::fileDone | ( | bool | d | ) | [slot] |
Definition at line 100 of file NYBOT.cpp.
References QuotePlugin::data, QuotePlugin::downloadComplete(), file, parse(), and QuotePlugin::printStatusLogMessage().
Referenced by NYBOT().
| void NYBOT::timeoutError | ( | ) | [slot] |
Definition at line 126 of file NYBOT.cpp.
References QuotePlugin::downloadComplete(), QuotePlugin::errorLoop, QuotePlugin::getFile(), QuotePlugin::printStatusLogMessage(), QuotePlugin::retrySpin, and url.
Referenced by NYBOT().
FuturesData NYBOT::fd [private] |
bool NYBOT::cancelFlag [private] |
DbPlugin NYBOT::plug [private] |
Config NYBOT::config [private] |
QDateEdit* NYBOT::date [private] |
QString NYBOT::url [private] |
QString NYBOT::file [private] |
Reimplemented from QuotePlugin.
Definition at line 53 of file NYBOT.h.
Referenced by fileDone(), parse(), and update().