@tbx: Ok, I have modified new-api-branch.
New behaviour:
- by default the script works in equity-only mode
- consequently, the command line option -equity_only is discontinued
- new command line option
-bonds_in_funds
adds retrieval of bond related information (to Bond Style, Bond Sector, Country, Region and Holding) - command line option to create own categories for bonds in Country and Region is now called
-seg_bonds
(was: -bond_seg) - additional checks provide warnings about negative net values and about net values larger than 100%
- for simple, small cases, the script adapts the net values by adding the negative value of an allocation in the range of 0% to -0,25% to another allocation which has a value that is larger than 100% (if there is such allocation)
- for other cases, the script suggests manual setting of the values
- a new token in the notes field of a security in PP instructs the script to skip the retrieval of data for that security (the token is
#PPC:SKIP
)