Sample Source Code: OANDA Aggregate Positions Python Sample Code by OANDA Comments
The OANDA Aggregate Positions Python Sample Code by OANDA presents how to interact with multiple accounts via API. Demo is available at https://github.com/oanda/py-position-aggregation/blob/master/demo.py