def getGlobalData(self, _request):
        self.log.debug('RTController - getGlobalData INIT')
        errormessage = '0'

        sessionName = _request.args.get('sessionName')
        self.log.debug('sessionName->' + sessionName)

        rt_service = RT_Service()
        errormessage, result = rt_service.getGlobalData(Constantes.MARKET_EUROFX, sessionName)

        self.log.debug('RTController - getGlobalData ENDS')
        return result
Exemplo n.º 2
0
    def getGlobalData(self, _request):
        self.log.debug('RTController - getGlobalData INIT')
        errormessage = '0'

        sessionName = _request.args.get('sessionName')
        self.log.debug('sessionName->' + sessionName)
        market = _request.args.get('market')
        self.log.debug('market->' + market)

        rt_service = RT_Service()
        errormessage, result = rt_service.getGlobalData(market, sessionName)

        self.log.debug('RTController - getGlobalData ENDS')
        return result