summaryrefslogtreecommitdiff
path: root/protocols/Quotes/src/QuotesProviderYahoo.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Quotes/src/QuotesProviderYahoo.h')
-rw-r--r--protocols/Quotes/src/QuotesProviderYahoo.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/protocols/Quotes/src/QuotesProviderYahoo.h b/protocols/Quotes/src/QuotesProviderYahoo.h
new file mode 100644
index 0000000000..feadefbca4
--- /dev/null
+++ b/protocols/Quotes/src/QuotesProviderYahoo.h
@@ -0,0 +1,20 @@
+#ifndef __E927F394_5452_458E_AF48_71E44F9EE793_QuotesProviderYahoo_h__
+#define __E927F394_5452_458E_AF48_71E44F9EE793_QuotesProviderYahoo_h__
+
+#include "QuotesProviderFinance.h"
+
+
+#define DB_STR_YAHOO_OPEN_VALUE "OpenQuotePrice"
+#define DB_STR_YAHOO_DAY_HIGH "DayHigh"
+#define DB_STR_YAHOO_DAY_LOW "DayLow"
+#define DB_STR_YAHOO_PREVIOUS_CLOSE "PreviousClose"
+#define DB_STR_YAHOO_CHANGE "Change"
+
+class CQuotesProviderYahoo : public CQuotesProviderFinance
+{
+private:
+ virtual void RefreshQuotes(TContracts& anContacts);
+ virtual void Accept(CQuotesProviderVisitor& visitor)const;
+};
+
+#endif //__E927F394_5452_458E_AF48_71E44F9EE793_QuotesProviderYahoo_h__