Real-Time Functions with Barchart.com Data Subscription

Access real-time market data in Excel using MarketXLS's integration with Barchart.com's professional data feeds.

Subscription Required

To use real-time functions, you need an active subscription to Barchart.com data. This provides you with professional-grade real-time market data directly in Excel.

Setting Up Your Barchart Subscription

1

Open MarketXLS Settings

Go to the MarketXLS menu, click on Settings/Help, and then click on Settings. A configuration form will appear.

Real time functions - Data subscriptions
2

Get Your Barchart Subscription

Click on the "Get Subscription Here" button. You will be directed to the page where you can purchase a subscription from Barchart.com.

3

Enter Your Credentials

Once you have the subscription, enter your username and password in the fields in the form and click Save. This ensures your credentials are saved and available every time you open MarketXLS.

4

Test Your Connection

Click on "Test Connection" to verify that your subscription is valid and working correctly.

Using Real-Time Functions

All real-time functions that use Barchart's data subscription in MarketXLS start with rt_, where "rt" stands for real-time. To start using them quickly, simply type rt_ and you will see a list of available functions appear.

Real time functions. Insert function: BarChart subscribed symbols

You can also use Excel's built-in function browser to see all available functions, as shown in the image above.

Available Real-Time Functions

Below is a comprehensive list of all real-time functions and their purposes:

Ask Price real time

Ask Size real time

Bid price real time

Bid size real-time

Returns the change in price from the last session

Returns the close price for the session

Returns the close price for the previous session

Returns the exchange name

Returns the high price for the session

Returns the high price for the previous session

Returns the last price for the session

Returns the last price for the previous session

Returns the last size for the session

Returns the low price for the session

Returns the low price for the previous session

Returns the Open price for the session

Returns the Open price for the previous session

Returns the Open Interest for the session

Returns the Open Interest for the previous session

Returns the type of permission you have on your subscription from barchart (Delayed or real-time)

Returns the timestamp of the last quote

Returns the cumulative volume of trade in the session

Returns the cumulative volume of trade in the previous session

Takes no arguments, simply returns the symbols for whom the Barchart server is ready and pushing data

Unsubscribes a symbol from Barchart server so the server will stop sending data to your sheet

How to Use These Functions

To use these functions, simply type them in Excel cells with the appropriate symbol as the argument. The data will keep refreshing automatically as soon as a new quote is available from the exchanges.

Automatic Updates

Once configured, these functions will automatically update with the latest market data. No manual refresh is required - the data streams directly to your Excel spreadsheet in real-time.

Example Usage

Getting real-time data for Microsoft:

  • =rt_Last("MSFT") - Current price
  • =rt_Volume("MSFT") - Trading volume
  • =rt_Change("MSFT") - Price change from previous close