get_shares in api_pricing