Fixing a VeighNa AccountData Import After an Upgrade
Summary
This short forum exchange addresses a Python import error that appeared after upgrading VeighNa. A user reports that strategies which previously worked now fail because `AccountData` cannot be imported from the CTA strategy package. The reply identifies the replacement source module: the trading object module.
The exchange offers a narrow compatibility fix for this specific error and package layout. It does not explain which software version changed the export, whether other imports were affected, or how to diagnose broader upgrade problems. Traders maintaining VeighNa strategies can use it as a clue when resolving this particular missing-name error, but should verify module availability in their installed version.
Key ideas
- An upgrade can break a strategy when a class is no longer exposed from its previous package.
- The suggested fix is to import `AccountData` from VeighNa’s trader object module.
- The exchange addresses one import failure and does not document broader migration steps.
- Confirm the module path against the installed VeighNa version when adapting a strategy.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.