This project automates a workflow that includes launching Refinitiv Workspace, processing Excel data, and uploading results to a web application.
- Windows 11
- Python 3.8 or higher
- Refinitiv Workspace installed
- Google Chrome (for web automation)
- Excel with macro capabilities
-
Clone this repository to your local machine.
-
Create a virtual environment and activate it:
python -m venv venv
.\venv\Scripts\activate
- Install required packages:
pip install -r requirements.txt
- Copy
.env.template
to.env
and fill in your credentials:
cp .env.template .env
- Update the paths in
config.py
to match your system:
- REFINITIV_PATH
- EXCEL_MACRO_PATH
- Other paths as needed
-
Ensure all applications (Refinitiv Workspace, Excel) are closed before running the automation.
-
Run the automation:
python automation.py
The script will:
- Launch Refinitiv Workspace
- Run Excel macro for data processing
- Generate CSV output
- Upload results to web application
- Log all activities in
automation_log.txt
- The script includes retry logic for all major operations
- Errors are logged to
automation_log.txt
- Each operation will retry up to 3 times with exponential backoff
To schedule this automation:
- Open Windows Task Scheduler
- Create a new task
- Set the trigger (time/frequency)
- Action: Start a program
- Program/script:
python
- Arguments:
automation.py
- Start in:
[path-to-script-directory]
- Program/script:
- Check
automation_log.txt
for detailed error messages - Ensure all paths in
config.py
are correct - Verify web application credentials in
.env
- Confirm Refinitiv Workspace and Excel are properly installed
For issues and questions, please check the logs first and then create an issue in the repository.