VWAP – Volume Weighted Average Price

VWAP

Written by Anna Niedobova

Updated: 2024-12-06 14:24:57

Market type execution is done based on the currently available liquidity (also called "market depth") in the market. In order to keep track of the liquidity that XTB offers, you need to activate its preview in xStation (Settings/Show Market Depth).

This way, in the Market Watch, you can observe what is the currently available volume on the given instrument, taking into account the five closest price levels, called the "order book" (note: not activating the market depth preview does not change the execution method).

If the volume (position size) that the client wants to open on a given instrument exceeds the currently available liquidity present at the first price level, the order will be executed using the depth at subsequent levels. The xStation platform automatically calculates the price taking into account the volume entered by the client:

In the example presented above, if we open a position with the volume of 10 lots on the DE30 instrument, the BID price will be 12857.9 and the ASK price 12860.3. These prices are different than those in the first level (visible on the default chart), because they take into account the currently available volume. Also the spread in Market Watch is displayed showing the available liquidity and is equal to 2.4 points.

In the example of opening a long position, i.e. buying 10 lots of DE30, it is clear that there is not enough liquidity at the first price level, so the order will be executed using liquidity from three price levels - 3 lots from the first level, at 12860, 4 lots from the second level, at 12860.2 and the remaining 3 lots from the third level, at 12860.7.

This type of execution, using several price levels, is called VWAP (Volume Weighted Average Price) execution. The xStation platform calculates such a price automatically, and it may be verified as follows:

VWAP=(3/10*12860)+(4/10*12860.2)+(3/10*12860.7)=12860.3

In case of opening a short position, i.e. selling 10 lots of DE30, the VWAP price

calculation would be as follows:

VWAP=(3/10*12858.1)+(6/10*12857.9)+(1/10*12857.4)=12857.9

It is worth to note that VWAP order execution also applies to OMI instruments.

If you still need help with your question,

Join over 1 000 000 investors from around the world

We use cookies

By clicking “Accept All”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts.

This group contains cookies that are necessary for our websites to work. They take part in functionalities like language preferences, traffic distribution or keeping user session. They cannot be disabled.

Cookie name
Description
SERVERID
userBranchSymbol Expiration date 17 October 2024
adobe_unique_id Expiration date 16 October 2025
SESSID Expiration date 2 March 2024
__hssc Expiration date 16 October 2024
__cf_bm Expiration date 16 October 2024
intercom-id-iojaybix Expiration date 13 July 2025
intercom-session-iojaybix Expiration date 23 October 2024
xtbCookiesSettings Expiration date 16 October 2025
TS5b68a4e1027
xtbLanguageSettings Expiration date 16 October 2025
userPreviousBranchSymbol Expiration date 16 October 2025
countryIsoCode
TS5b68a4e1027
intercom-device-id-iojaybix Expiration date 13 July 2025
test_cookie Expiration date 25 January 2024
__cf_bm Expiration date 16 October 2024
_cfuvid
test_cookie Expiration date 1 March 2024
__cf_bm Expiration date 16 October 2024
_cfuvid

We use tools that let us analyze the usage of our page. Such data lets us improve the user experience of our web service.

Cookie name
Description
_gid Expiration date 9 September 2022
_gat_UA-121192761-1 Expiration date 8 September 2022
_gat_UA-190421227-1 Expiration date 8 September 2022
_ga_CBPL72L2EC Expiration date 16 October 2026
_ga Expiration date 16 October 2026
AnalyticsSyncHistory Expiration date 31 March 2024
__hstc Expiration date 14 April 2025
__hssrc
_vwo_uuid_v2 Expiration date 17 October 2025
_gcl_au Expiration date 14 January 2025
_ga_TC79BEJ20L Expiration date 16 October 2026
_vwo_uuid Expiration date 16 October 2025
_vwo_ds Expiration date 15 November 2024
_vwo_sn Expiration date 16 October 2024
_vis_opt_s Expiration date 24 January 2025
_vis_opt_test_cookie
af_id Expiration date 23 February 2025
afUserId Expiration date 25 January 2026
af_id Expiration date 24 January 2026
AF_SYNC Expiration date 1 February 2024
_gcl_au Expiration date 14 January 2025
_ga Expiration date 16 October 2026
_ga_CBPL72L2EC Expiration date 16 October 2026
_ga_TC79BEJ20L Expiration date 16 October 2026
__hstc Expiration date 14 April 2025
__hssrc
__hssc Expiration date 16 October 2024
AnalyticsSyncHistory Expiration date 31 March 2024
guest_id Expiration date 16 October 2026

This group of cookies is used to show you ads of topics that you are interested in. It also lets us monitor our marketing activities, it helps to measure the performance of our ads.

Cookie name
Description
_omappvp Expiration date 28 September 2035
_omappvs Expiration date 16 October 2024
_fbp Expiration date 14 January 2025
fr Expiration date 7 December 2022
muc_ads Expiration date 7 September 2024
lang
_ttp Expiration date 10 November 2025
_tt_enable_cookie Expiration date 10 November 2025
_ttp Expiration date 10 November 2025
hubspotutk Expiration date 14 April 2025
IDE Expiration date 10 November 2025
li_sugr Expiration date 30 May 2024
_uetsid Expiration date 17 October 2024
_uetvid Expiration date 10 November 2025
MUID Expiration date 10 November 2025
_uetsid Expiration date 17 October 2024
_uetvid Expiration date 10 November 2025
MUID Expiration date 10 November 2025
hubspotutk Expiration date 14 April 2025
_ttp Expiration date 10 November 2025
_tt_enable_cookie Expiration date 10 November 2025
_ttp Expiration date 10 November 2025
li_sugr Expiration date 30 May 2024
_fbp Expiration date 14 January 2025
guest_id_marketing Expiration date 16 October 2026
guest_id_ads Expiration date 16 October 2026
muc_ads Expiration date 16 October 2026
MSPTC Expiration date 10 November 2025

Cookies from this group store your preferences you gave while using the site, so that they will already be here when you visit the page after some time.

Cookie name
Description
personalization_id Expiration date 7 September 2024
UserMatchHistory Expiration date 31 March 2024
bcookie Expiration date 16 October 2025
lidc Expiration date 17 October 2024
lang
bscookie Expiration date 1 March 2025
li_gc Expiration date 14 April 2025
bcookie Expiration date 16 October 2025
lidc Expiration date 17 October 2024
UserMatchHistory Expiration date 31 March 2024
bscookie Expiration date 1 March 2025
li_gc Expiration date 14 April 2025
personalization_id Expiration date 16 October 2026

This page uses cookies. Cookies are files stored in your browser and are used by most websites to help personalise your web experience. For more information see our Privacy Policy You can manage cookies by clicking "Settings". If you agree to our use of cookies, click "Accept all".

Change region and language
Country of residence
Language