00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #include "Exchange.h"
00023 #include <qobject.h>
00024
00025 Exchange::Exchange ()
00026 {
00027 }
00028
00029 Exchange::~Exchange ()
00030 {
00031 }
00032
00033 void Exchange::getExchange (int i, QString &d)
00034 {
00035 switch (i)
00036 {
00037 case CBOT:
00038 d = "CBOT";
00039 break;
00040 case CME:
00041 d = "CME";
00042 break;
00043 case NYBOT:
00044 d = "NYBOT";
00045 break;
00046 case NYMEX:
00047 d = "NYMEX";
00048 break;
00049 case NYSE:
00050 d = "NYSE";
00051 break;
00052 case NASDAQ:
00053 d = "NASDAQ";
00054 break;
00055 case AMEX:
00056 d = "AMEX";
00057 break;
00058 case BASE:
00059 d = QObject::tr("Buenos Aires Stock Exchange");
00060 break;
00061 case VASE:
00062 d = QObject::tr("Vienna Stock Exchange");
00063 break;
00064 case AXSE:
00065 d = QObject::tr("Australian Stock Exchange");
00066 break;
00067 case SASE:
00068 d = QObject::tr("Sao Paolo Stock Exchange");
00069 break;
00070 case TOSE:
00071 d = QObject::tr("Toronto Stock Exchange");
00072 break;
00073 case TSXVE:
00074 d = QObject::tr("TSX Venture Exchange");
00075 break;
00076 case SSSE:
00077 d = QObject::tr("Shanghai Stock Exchange");
00078 break;
00079 case SZSE:
00080 d = QObject::tr("Shenzhen Stock Exchange");
00081 break;
00082 case COSE:
00083 d = QObject::tr("Copenhagen Stock Exchange");
00084 break;
00085 case PASE:
00086 d = QObject::tr("Paris Stock Exchange");
00087 break;
00088 case BESE:
00089 d = QObject::tr("Berlin Stock Exchange");
00090 break;
00091 case BMSE:
00092 d = QObject::tr("Bremen Stock Exchange");
00093 break;
00094 case DUSE:
00095 d = QObject::tr("Dusseldorf Stock Exchange");
00096 break;
00097 case FSE:
00098 d = QObject::tr("Frankfurt Stock Exchange");
00099 break;
00100 case HMSE:
00101 d = QObject::tr("Hamburg Stock Exchange");
00102 break;
00103 case HASE:
00104 d = QObject::tr("Hanover Stock Exchange");
00105 break;
00106 case MUSE:
00107 d = QObject::tr("Munich Stock Exchange");
00108 break;
00109 case SGSE:
00110 d = QObject::tr("Stuttgart Stock Exchange");
00111 break;
00112 case XETRA:
00113 d = QObject::tr("XETRA Stock Exchange");
00114 break;
00115 case HKSE:
00116 d = QObject::tr("Hong Kong Stock Exchange");
00117 break;
00118 case BOSE:
00119 d = QObject::tr("Bombay Stock Exchange");
00120 break;
00121 case NSEOI:
00122 d = QObject::tr("National Stock Exchange of India");
00123 break;
00124 case JKSE:
00125 d = QObject::tr("Jakarta Stock Exchange");
00126 break;
00127 case TASE:
00128 d = QObject::tr("Tel Aviv Stock Exchange");
00129 break;
00130 case MISE:
00131 d = QObject::tr("Milan Stock Exchange");
00132 break;
00133 case KSSE:
00134 d = QObject::tr("Korea Stock Exchange");
00135 break;
00136 case KOSDAQ:
00137 d = QObject::tr("KOSDAQ");
00138 break;
00139 case MXSE:
00140 d = QObject::tr("Mexico Stock Exchange");
00141 break;
00142 case ASSE:
00143 d = QObject::tr("Amsterdam Stock Exchange");
00144 break;
00145 case NZSE:
00146 d = QObject::tr("New Zealand Stock Exchange");
00147 break;
00148 case OLSE:
00149 d = QObject::tr("Oslo Stock Exchange");
00150 break;
00151 case SISE:
00152 d = QObject::tr("Singapore Stock Exchange");
00153 break;
00154 case BCSE:
00155 d = QObject::tr("Barcelona Stock Exchange");
00156 break;
00157 case BISE:
00158 d = QObject::tr("Bilbao Stock Exchange");
00159 break;
00160 case MFIM:
00161 d = QObject::tr("Madrid Fixed Income Market");
00162 break;
00163 case MCCATS:
00164 d = QObject::tr("Madrid SE C.A.T.S.");
00165 break;
00166 case MASE:
00167 d = QObject::tr("Madrid Stock Exchange");
00168 break;
00169 case STSE:
00170 d = QObject::tr("Stockholm Stock Exchange");
00171 break;
00172 case SWE:
00173 d = QObject::tr("Swiss Exchange");
00174 break;
00175 case TWOOTC:
00176 d = QObject::tr("Taiwan OTC Exchange");
00177 break;
00178 case TWSE:
00179 d = QObject::tr("Taiwan Stock Exchange");
00180 break;
00181 case LSE:
00182 d = QObject::tr("London Stock Exchange");
00183 break;
00184 default:
00185 break;
00186 }
00187 }
00188