Jump to content
Sign in to follow this  
jason ho

What marketids can I use to test GetPriceBars?

Recommended Posts

Currently I’m trying to search across multiple markets for a pattern.

The problem I have right now is I need a few markets to add for testing purposes:

It seems to only get bars back for 71442 is there a few others which I can use for testing?

I have also tried:

“400481147”, “400481148”, “400481149”, “400481150”, “400481151”, “400481152”, “400481153”, “400481154”

but they don’t return back anything.

GetPriceBarResponseDTO priceBars = _ctx.GetPriceBars(marketid, interval, 1, no);

Share this post


Link to post
Guest mrdavidlaing

MarketIds aren’t sequential; so trying a sequence generally won’t work. (Markets can expire daily, or your account might not have permissions to access the market).

Try some of the following markets:

{ "Markets" : [
  { "MarketId" : 99498,
    "Name" : "Wall Street CFD"
  },
  { "MarketId" : 99500,
    "Name" : "UK 100 CFD"
  },
  { "MarketId" : 99502,
    "Name" : "US Tech 100 CFD"
  },
  { "MarketId" : 99504,
    "Name" : "US SP 500 CFD"
  },
  { "MarketId" : 99506,
    "Name" : "France 40 CFD"
  },
  { "MarketId" : 99508,
    "Name" : "Germany 30 CFD"
  },
  { "MarketId" : 99510,
    "Name" : "Italy 40 CFD"
  },
  { "MarketId" : 99524,
    "Name" : "EUR/CAD (per 0.0001) CFD"
  },
  { "MarketId" : 99553,
    "Name" : "Aldata CFD"
  },
  { "MarketId" : 99554,
    "Name" : "Comptel CFD"
  },
  { "MarketId" : 99555,
    "Name" : "Elcoteq Network CFD"
  },
  { "MarketId" : 99556,
    "Name" : "F Secure CFD"
  },
  { "MarketId" : 99558,
    "Name" : "Nokia CFD"
  },
  { "MarketId" : 99560,
    "Name" : "Sampo Plc CFD"
  },
  { "MarketId" : 99561,
    "Name" : "Stora Enso A CFD"
  },
  { "MarketId" : 99562,
    "Name" : "Tieto Oyj CFD"
  },
  { "MarketId" : 99563,
    "Name" : "UPM-Kymenne OY CFD"
  },
  { "MarketId" : 99564,
    "Name" : "Alcoa CFD"
  },
  { "MarketId" : 99565,
    "Name" : "General Elec Co CFD"
  },
  { "MarketId" : 99566,
    "Name" : "Johnson and Johnson CFD"
  },
  { "MarketId" : 99568,
    "Name" : "American Express CFD"
  },
  { "MarketId" : 99569,
    "Name" : "Motors Liquidation CFD"
  },
  { "MarketId" : 99570,
    "Name" : "JP Morgan Chase CFD"
  },
  { "MarketId" : 99571,
    "Name" : "Procter and Gamble CFD"
  },
  { "MarketId" : 99572,
    "Name" : "Boeing Co CFD"
  },
  { "MarketId" : 99573,
    "Name" : "Home Depot CFD"
  },
  { "MarketId" : 99574,
    "Name" : "Coca Cola Co CFD"
  },
  { "MarketId" : 99576,
    "Name" : "Citigroup CFD"
  },
  { "MarketId" : 99577,
    "Name" : "Honeywell International Inc CFD"
  },
  { "MarketId" : 99578,
    "Name" : "McDonalds Corp CFD"
  },
  { "MarketId" : 99579,
    "Name" : "ATandT CFD"
  },
  { "MarketId" : 99580,
    "Name" : "Caterpillar CFD"
  },
  { "MarketId" : 99581,
    "Name" : "Hewlett-Packard CFD"
  },
  { "MarketId" : 99582,
    "Name" : "3M Company CFD"
  },
  { "MarketId" : 99583,
    "Name" : "United Tech Cp CFD"
  },
  { "MarketId" : 99584,
    "Name" : "Du Pont CFD"
  },
  { "MarketId" : 99585,
    "Name" : "Intl Bus Machine CFD"
  },
  { "MarketId" : 99586,
    "Name" : "Altria Group Inc CFD"
  },
  { "MarketId" : 99587,
    "Name" : "Wal-Mart Stores CFD"
  },
  { "MarketId" : 99588,
    "Name" : "Walt Disney Co CFD"
  },
  { "MarketId" : 99590,
    "Name" : "Merck and Co CFD"
  },
  { "MarketId" : 99591,
    "Name" : "Exxon Mobil CFD"
  },
  { "MarketId" : 99592,
    "Name" : "Eastman Kodak CFD"
  },
  { "MarketId" : 99593,
    "Name" : "Intl Paper Co CFD"
  },
  { "MarketId" : 99594,
    "Name" : "Adidas AG CFD"
  },
  { "MarketId" : 99596,
    "Name" : "Allianz SE CFD"
  },
  { "MarketId" : 99598,
    "Name" : "BASF SE CFD"
  },
  { "MarketId" : 99600,
    "Name" : "BMW CFD"
  },
  { "MarketId" : 99601,
    "Name" : "Infineon Technologies AG CFD"
  },
  { "MarketId" : 99602,
    "Name" : "Bayer CFD"
  },
  { "MarketId" : 99604,
    "Name" : "Commerzbank CFD"
  },
  { "MarketId" : 99605,
    "Name" : "MAN SE CFD"
  },
  { "MarketId" : 99606,
    "Name" : "Daimler AG CFD"
  },
  { "MarketId" : 99608,
    "Name" : "Muenchener Rueckversicherungs CFD"
  },
  { "MarketId" : 99609,
    "Name" : "Deutsche Bank AG (EUR) CFD"
  },
  { "MarketId" : 99610,
    "Name" : "Deutsche Post AG CFD"
  },
  { "MarketId" : 99612,
    "Name" : "SAP CFD"
  },
  { "MarketId" : 99613,
    "Name" : "Lufthansa AG CFD"
  },
  { "MarketId" : 99616,
    "Name" : "Siemens (GER) CFD"
  },
  { "MarketId" : 99617,
    "Name" : "E.ON CFD"
  },
  { "MarketId" : 99618,
    "Name" : "ThyssenKrupp AG CFD"
  },
  { "MarketId" : 99620,
    "Name" : "Volkswagen CFD"
  },
  { "MarketId" : 99621,
    "Name" : "Accor CFD"
  },
  { "MarketId" : 99622,
    "Name" : "Air Liquide CFD"
  },
  { "MarketId" : 99625,
    "Name" : "AXA CFD"
  },
  { "MarketId" : 99626,
    "Name" : "BNP Paribas CFD"
  },
  { "MarketId" : 99628,
    "Name" : "CAP Gemini CFD"
  },
  { "MarketId" : 99629,
    "Name" : "Carrefour CFD"
  },
  { "MarketId" : 99634,
    "Name" : "LVMH Moet Hennessy CFD"
  },
  { "MarketId" : 99639,
    "Name" : "Renault CFD"
  },
  { "MarketId" : 99644,
    "Name" : "STMicroelectronics (FRA) CFD"
  },
  { "MarketId" : 99649,
    "Name" : "Aberforth Smaller Companies Trust CFD"
  },
  { "MarketId" : 99650,
    "Name" : "Vivendi Univers CFD"
  },
  { "MarketId" : 99651,
    "Name" : "Agfa-Gevaert N.V CFD"
  },
  { "MarketId" : 99654,
    "Name" : "Bekaert CFD"
  },
  { "MarketId" : 99655,
    "Name" : "Colruyt CFD"
  },
  { "MarketId" : 99657,
    "Name" : "Delhaize Freres Ps CFD"
  },
  { "MarketId" : 99663,
    "Name" : "Groupe Bruxelles Lambert CFD"
  },
  { "MarketId" : 99664,
    "Name" : "KBC Groep NV CFD"
  },
  { "MarketId" : 99665,
    "Name" : "Solvay CFD"
  },
  { "MarketId" : 99668,
    "Name" : "UCB CFD"
  },
  { "MarketId" : 99669,
    "Name" : "Umicore CFD"
  },
  { "MarketId" : 99671,
    "Name" : "AEGON CFD"
  },
  { "MarketId" : 99672,
    "Name" : "AHOLD CFD"
  },
  { "MarketId" : 99677,
    "Name" : "Reed Elsevier NV CFD"
  },
  { "MarketId" : 99680,
    "Name" : "Heineken CFD"
  },
  { "MarketId" : 99684,
    "Name" : "Koninklijke Philips Electronics CFD"
  },
  { "MarketId" : 99691,
    "Name" : "Anglo American CFD"
  },
  { "MarketId" : 99692,
    "Name" : "B Sky B (LSE) CFD"
  },
  { "MarketId" : 99693,
    "Name" : "Marks and Spencer CFD"
  },
  { "MarketId" : 99695,
    "Name" : "Associated British Foods CFD"
  },
  { "MarketId" : 99696,
    "Name" : "BT Group CFD"
  },
  { "MarketId" : 99697,
    "Name" : "GKN Plc CFD"
  },
  { "MarketId" : 99698,
    "Name" : "Schroders CFD"
  },
  { "MarketId" : 99701,
    "Name" : "Glaxosmithkline CFD"
  },
  { "MarketId" : 99703,
    "Name" : "Hays plc CFD"
  },
  { "MarketId" : 99704,
    "Name" : "ARM Holdings CFD"
  },
  { "MarketId" : 99706,
    "Name" : "Old Mutual (LSE) CFD"
  },
  { "MarketId" : 99707,
    "Name" : "Sage Group CFD"
  },
  { "MarketId" : 99709,
    "Name" : "Prudential CFD"
  }
] }

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×