Closed Trefex closed 4 months ago
This pull request refactors the symbol mapping logic by moving it to an external YAML file (mapping.yaml). The SyncIBKR.py script is updated to load this file and use the mappings dynamically, replacing the previous hardcoded logic. Additionally, the README.md file is updated to include instructions for using the new mapping file and running the container with Podman.
Files | Changes |
---|---|
SyncIBKR.py mapping.yaml |
Moved symbol mapping logic to an external YAML file (mapping.yaml) and updated SyncIBKR.py to load and use these mappings dynamically. |
README.md |
Updated documentation to include instructions for using the new symbol mapping file and running the container with Podman. |
Applied some minor changes, thanks again!
Summary by Sourcery
This pull request introduces a new configuration file
mapping.yaml
for symbol mappings, updates theSyncIBKR
class to load these mappings, and enhances thesync_ibkr
method to use the mappings for symbol transformation. Additionally, documentation has been updated to reflect these changes and provide instructions for using the new configuration file.mapping.yaml
for symbol mappings.SyncIBKR
class to load symbol mappings from themapping.yaml
file.sync_ibkr
method to use the loaded symbol mappings for symbol transformation.mapping.yaml
file for symbol mappings in theREADME.md
.mapping.yaml
file.