NG API - How to use "exchangeIds" parameter in MarketFilter?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Blue Eye
    Junior Member
    • Jan 2009
    • 8

    #1

    NG API - How to use "exchangeIds" parameter in MarketFilter?

    Hi,

    I was using API-NG Visualiser and I see that MarketFilter has option to specify "exchangeIds".

    Attached is image of test query that I executed, but I was only able to get markets for selected exchange Endpoint, regardless of specified values in "exchangeIds" parameter.

    If we need to change Endpoint to get data from different exchange, then what is the purpose of "exchangeIds" parameter?

    Where and in which combination can we use "exchangeIds" parameter?

    Thank you.

    Regards,
    Rade
    Attached Files
  • AlgoTrader
    Junior Member
    • Mar 2012
    • 243

    #2
    I think exchangeIds does not work properly yet:

    Code:
    listEvents err=null duration=0.022
    Request:{
      "jsonrpc": "2.0",
      "id": 2,
      "method": "SportsAPING/v1.0/listEvents",
      "params": {
        "filter": {
          "eventTypeIds": [
            "2"
          ],
          "exchangeIds": [
            "327",
            "558",
            "945"
          ]
        }
      }
    }
    I have put incorrect exchangeIds but the output just the same I saw without exchangeIds filter
    Betfair Bots Made Easy

    Comment

    • Blue Eye
      Junior Member
      • Jan 2009
      • 8

      #3
      Hi AlgoTrader,

      Thank you for your reply.

      Yes, it appears that it is not working properly and that it is not being used at all.

      Regards,
      Rade

      Comment

      Working...
      X