Jump to content

SomeGuy

Members
  • Content count

    2
  • Joined

  • Last visited

  1. As a quick follow-up, it does look like the API returned price matches when using the Web Trader. I apologize for the noobish question, but what's the difference?
  2. So, apologies in advance if this has been asked previously, I did attempt to search the forum first. In pulling price bars by day and attempting to calculate SMA and EMA for myself, I noticed that there seems to be a slight discrepancy between what is showing as the open and close prices of the bars versus what shows when highlighting a candlestick for the same day in the trading view. As an example, for last Friday, July 17th, 2020, the API returns the following data: { BarDate: '/Date(1594944000000)/', Open: 1.13837, High: 1.14437, Low: 1.13776, Close: 1.14276 } However, in viewing the candlestick data, this is what is displayed: O 1.13824 H 1.14430 L 1.13755 C 1.14261 My guess would be that one or the other is factoring in the spread somehow, but I can't find any documentation to corroborate that. Plus, the diff between the various data points is not consistent across the board. Any help?
×