ServerPortfolio
2.0
Python parsers and server
|
Global variables for configuration: paths, TCP ports and generic definitions. More...
Classes | |
class | EAction |
Enumeration for the action to be performed by the parser. More... | |
Functions | |
def | MarketMySQL_to_DictStock |
Translate market MySQL to market DictStock, used for Opening market. More... | |
Variables | |
TEST_MODE = True | |
will load data in data_test and write in data_test/historical_tmp internally set PATH_DATA to test in all C++ functions More... | |
string | PATH_DATA_ROOT = "/home/michael/workspace_kepler/ROOT_application/data" |
string | PATH_DATA_ROOT_TEST = "/home/michael/workspace_kepler/ROOT_application/data_test" |
string | PATH_DICT = "/home/michael/workspace_kepler/ServerPortfolio/trunk/ServerPortfolio/data" |
global path to the data directory. More... | |
string | PATH_DICT_TEST = "/home/michael/workspace_kepler/ServerPortfolio/trunk/ServerPortfolio/data_unittest" |
string | DEFAULT_DICTIONARY = "dictstocks.txt" |
Default name for the configuration file of the stocks. More... | |
string | HOST = "localhost" |
for server More... | |
int | PORT = 9999 |
port to which the server listens. More... | |
int | PORT_GUI = 9998 |
port of the GUI server. More... | |
dictionary | OpeningMarket |
Additional global dictionary. More... | |
dictionary | DictMarketMySQLtoDictStock |
used for MySQL correspondance. More... | |
Global variables for configuration: paths, TCP ports and generic definitions.
Paths, class EAction, test mode, PORT of servers,
OpeningMarket, DictMarketMySQLtoDictStock
Last Changed
def serverportfolio.GlobalDicts.MarketMySQL_to_DictStock | ( | marketMySQL | ) |
Translate market MySQL to market DictStock, used for Opening market.
marketMySQL | : |
Definition at line 59 of file GlobalDicts.py.
string serverportfolio.GlobalDicts.DEFAULT_DICTIONARY = "dictstocks.txt" |
Default name for the configuration file of the stocks.
The file is searched in the PATH_DICT directory
Definition at line 29 of file GlobalDicts.py.
dictionary serverportfolio.GlobalDicts.DictMarketMySQLtoDictStock |
string serverportfolio.GlobalDicts.HOST = "localhost" |
for server
Definition at line 32 of file GlobalDicts.py.
dictionary serverportfolio.GlobalDicts.OpeningMarket |
Additional global dictionary.
used by AutoParser, could extend week-end....
Definition at line 40 of file GlobalDicts.py.
string serverportfolio.GlobalDicts.PATH_DATA_ROOT = "/home/michael/workspace_kepler/ROOT_application/data" |
Definition at line 19 of file GlobalDicts.py.
string serverportfolio.GlobalDicts.PATH_DATA_ROOT_TEST = "/home/michael/workspace_kepler/ROOT_application/data_test" |
Definition at line 21 of file GlobalDicts.py.
string serverportfolio.GlobalDicts.PATH_DICT = "/home/michael/workspace_kepler/ServerPortfolio/trunk/ServerPortfolio/data" |
global path to the data directory.
Definition at line 24 of file GlobalDicts.py.
string serverportfolio.GlobalDicts.PATH_DICT_TEST = "/home/michael/workspace_kepler/ServerPortfolio/trunk/ServerPortfolio/data_unittest" |
Definition at line 25 of file GlobalDicts.py.
int serverportfolio.GlobalDicts.PORT = 9999 |
port to which the server listens.
Definition at line 34 of file GlobalDicts.py.
int serverportfolio.GlobalDicts.PORT_GUI = 9998 |
port of the GUI server.
Definition at line 36 of file GlobalDicts.py.
serverportfolio.GlobalDicts.TEST_MODE = True |
will load data in data_test and write in data_test/historical_tmp internally set PATH_DATA to test in all C++ functions
Definition at line 13 of file GlobalDicts.py.