This API offers real-time, intraday and historical VWAP (Volume-Weighted Average Price) data for US equities. VWAP is a method of pricing transactions and is used as a benchmark to measure the efficiency of institutional trading or the performance of traders. For examples, it is often used as an indicator for trading performances by pension plans, hedge funds and firms that engage in algorithmic trading. VWAP for a stock is calculated by adding up the dollars traded for every transaction in that stock (price x shares traded) and then dividing by the total shares traded for a specific time period.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.