Jump to content

mjdilworth

Members
  • Content count

    3
  • Joined

  • Last visited

  1. thanks for the clarification. i can work with this
  2. hi, yes the partialPriceBar does contain Friday's data. However, it isnt intuitive, because one would consider the previous days data to be complete and not partial.
  3. hi all i am calling https://ciapi.cityindex.com/TradingAPI/market/401449250/barhistory?interval=DAY&span=1&PriceBars=20&UserName=xxxx&Session=xxxx (username and session redacted) but it doesnt return yesterdays (Friday 21st August) data am i doing something wrong? i get this: {"PriceBars":[{"BarDate":"\/Date(1595548800000)\/","Open":1.15958,"High":1.16581,"Low":1.15813,"Close":1.1656},{"BarDate":"\/Date(1595808000000)\/","Open":1.1644,"High":1.17814,"Low":1.16424,"Close":1.17517},{"BarDate":"\/Date(1595894400000)\/","Open":1.17518,"High":1.17738,"Low":1.16988,"Close":1.1716},{"BarDate":"\/Date(1595980800000)\/","Open":1.17157,"High":1.18062,"Low":1.17135,"Close":1.17917},{"BarDate":"\/Date(1596067200000)\/","Open":1.17916,"High":1.18484,"Low":1.17309,"Close":1.18473},{"BarDate":"\/Date(1596153600000)\/","Open":1.18474,"High":1.19087,"Low":1.17619,"Close":1.17789},{"BarDate":"\/Date(1596412800000)\/","Open":1.17718,"High":1.17969,"Low":1.1696,"Close":1.17622},{"BarDate":"\/Date(1596499200000)\/","Open":1.17623,"High":1.18056,"Low":1.17214,"Close":1.18026},{"BarDate":"\/Date(1596585600000)\/","Open":1.18026,"High":1.1905,"Low":1.17931,"Close":1.18631},{"BarDate":"\/Date(1596672000000)\/","Open":1.18632,"High":1.19163,"Low":1.1818,"Close":1.18769},{"BarDate":"\/Date(1596758400000)\/","Open":1.18766,"High":1.18831,"Low":1.17555,"Close":1.17873},{"BarDate":"\/Date(1597017600000)\/","Open":1.17905,"High":1.18008,"Low":1.17362,"Close":1.17378},{"BarDate":"\/Date(1597104000000)\/","Open":1.17381,"High":1.18073,"Low":1.17223,"Close":1.17401},{"BarDate":"\/Date(1597190400000)\/","Open":1.17402,"High":1.18168,"Low":1.1711,"Close":1.17842},{"BarDate":"\/Date(1597276800000)\/","Open":1.17846,"High":1.18642,"Low":1.17817,"Close":1.18135},{"BarDate":"\/Date(1597363200000)\/","Open":1.18135,"High":1.18504,"Low":1.17816,"Close":1.18504},{"BarDate":"\/Date(1597622400000)\/","Open":1.18429,"High":1.18809,"Low":1.18288,"Close":1.18704},{"BarDate":"\/Date(1597708800000)\/","Open":1.18705,"High":1.19657,"Low":1.18665,"Close":1.19313},{"BarDate":"\/Date(1597795200000)\/","Open":1.19313,"High":1.19529,"Low":1.18305,"Close":1.18384},{"BarDate":"\/Date(1597881600000)\/","Open":1.18377,"High":1.18688,"Low":1.18022,"Close":1.18605}],"PartialPriceBar":{"BarDate":"\/Date(1597968000000)\/","Open":1.186,"High":1.1883,"Low":1.17542,"Close":1.17967}}
×