# Portfolio

### Stream Wallet and Securities

This WebSocket endpoint allows OMS stream clients wallets and securities.

URL: <https://ecn.afexnigeria.com/ws/stream/dp/>{AP&#x49;*\_KEY}/{HASH}/{REQUEST\_TS}*

*Once you join or send a message to the WebSocket, you will get a list of wallets and portfolios of clients currently registered with you.*

```json
{
    "last_update_on": "ddHfhCSaKwDkXBajk5FNW4740SGBihT2HIQptDaD7fFOyKJ+1wXglxeGEN93X3TJ",
    "wallets": [
        {
            "cid": "3Kz9msa6Jm+Im82n+7722A==",
            "total_balance": "0krlJ9I+ebqDqxvB30kSSQ==",
            "lien_balance": "0krlJ9I+ebqDqxvB30kSSQ==",
            "available_balance": "0krlJ9I+ebqDqxvB30kSSQ==",
            "updated": "gxIcfv1kD33aPrLpBkT+qK3Hzk3KRJBZyRM88ZjdQoA="
        },
        {
            "cid": "L+zXGqw75s/Qvs+zqCYasQ==",
            "total_balance": "hsmTFcD496B/Y/bKRrdnbg==",
            "lien_balance": "0krlJ9I+ebqDqxvB30kSSQ==",
            "available_balance": "hsmTFcD496B/Y/bKRrdnbg==",
            "updated": "JrsMrcGmpaY3kjvR7fXAzq43v+/KqkB8ToB4385c8Ks="
        }
    ],
    "portfolio": [
        {
            "cid": "Zq5tfrdMxWxLSBBoAvNkxg==",
            "security_code": "nF94Oe+U+u5wE2zcaAYsnQ==",
            "total_units": "s1pq+D4fyhLbDaCxfw+r0w==",
            "available_units": "6V+N3PDDPozG50KebRfJ2A==",
            "units_on_hold": "+bhRYtpU0NToxXSXRUNH9w==",
            "updated": "JrsMrcGmpaY3kjvR7fXAzmL4UGoLtiIWKKbFcf99xsw=",
            "location_breakdown": [{
                "volume": "s1pq+D4fyhLbDaCxfw+r0w==",
                "location_code": "GTNGX+heu+4utDGa4NztQw=="
            }],
            "location_code": "",
            "board_code": "41Q/hsRVRxEsLUYsQM4Oog==",
            "board_name": "eqLqvDVkov6ytkcnjuqN0g==",
            "volume_per_unit": "DeQ/PJbTVNhx5JEVag81Qg=="
        },
        {
            "cid": "KOoCvmdog1uaBhm72UvW0A==",
            "security_code": "nF94Oe+U+u5wE2zcaAYsnQ==",
            "total_units": "Va96N/iP4M2uhodnZlAJXw==",
            "available_units": "Va96N/iP4M2uhodnZlAJXw==",
            "units_on_hold": "UsBcQIDKqIKHYJGnxxoivA==",
            "updated": "JrsMrcGmpaY3kjvR7fXAzkuCAThtQhvCtSUF8FBYTX4=",
            "location_breakdown": [{
                "volume": "Va96N/iP4M2uhodnZlAJXw==",
                "location_code": "GTNGX+heu+4utDGa4NztQw=="
            }],
            "location_code": "",
            "board_code": "41Q/hsRVRxEsLUYsQM4Oog==",
            "board_name": "eqLqvDVkov6ytkcnjuqN0g==",
            "volume_per_unit": "DeQ/PJbTVNhx5JEVag81Qg=="
        }
    ],
    "is_post_connection": "RhQ0Mye4ZHfcsgeKWkwAOQ=="

}
```
