Hello - During streaming app development with betfairlightweight I accidentally called marketSubscription with :
i.e an empty set<String> for market_ids ...which according to the docs will subscribe my stream to EVERY market. This is now resulting in every subsequent subscription request receiving the response ::
Problem is - the API-NG docs do not describe how to tell the BF servers to drop the subscription. My attempts to 'unsubscribe' have comprised one-by-one opening (in a thread) a stream with incrementing unique_id (from 0 to 15) and holding it open for 4 seconds and then neatly closing it with stream.stop() - but the problem persists.
Please help me to cancel these 23305 subscriptions.
Many Thanks.
Code:
"marketFilter":{"market_ids":[]}
Code:
Raw streaming data: {'op': 'status', 'id': 6, 'statusCode': 'FAILURE', 'errorCode': 'SUBSCRIPTION_LIMIT_EXCEEDED', 'errorMessage': 'trying to subscribe to 23305 markets whereas max allowed number was: 200', 'connectionClosed': False, 'connectionId': '205-090525054510-53584'}
Please help me to cancel these 23305 subscriptions.
Many Thanks.
Comment