- Home .
- Xerolite Downloads & Documentations
Xerolite Downloads & Documentations
Releases
Version 0.3.1
17-Oct-2024 (Release Notes)
win v0.3.1
lin v0.3.1
mac v0.3.1
Beta Releases
Version 1.0.0 Beta
02-Dec-2024 (Release Notes)
win v1.0.0-Beta
lin v1.0.0-Beta
mac v1.0.0-Beta
License Key & Service
XeroLite License Key – 15 Days Free Trial License
- Support Version: XeroLite v0.3.x
- License Type: 15-Day Free Trial
- Key Features:
- Full access to all features of XeroLite for 15 days
- Activation limited to one machine at a time
- License expires automatically after 15 days
XeroLite License Key – Master License
- Support Version: XeroLite v0.3.x
- License Type: Lifetime
- Key Features:
- Valid for all updates within the XeroLite v0.3.x series
- One-time purchase, valid for life
- License is non-transferable and cannot be shared
- Activation limited to one machine at a time
XeroLite License Key – Add On License
- This XeroLite License Additional Machine Support allows you to extend your existing XeroLite Master License to multiple machines. You can now use XeroLite on more than one device with ease!How It Works:
- If you need support for 1 additional machine, simply purchase 1 add-on.
- If you need support for 2 additional machines, purchase 2 add-ons, and so on.
Xerolite – Installation and Setup Service
Xero Cloud
- Optimal Performance: For the best experience, Xero Cloud is optimized for systems with 2 CPUs and 8 GB RAM.
- Free Xerolite Installation & Setup: Get free installation and setup of Xerolite when you subscribe to Xero Cloud, ensuring a smooth and seamless start.
System Requirements and Compatibility for XeroLite
Category
|
Details
|
---|---|
Trader Workstation
|
XeroLite is optimized for Trader Workstation version 10.19.1 and has been tested up to version 10.23
Important: - Upgrading to versions beyond 10.23 may cause minor issues, especially with major version upgrades. - XeroLite will continue to provide updates to stay compatible, so you may need to update your XeroLite version accordingly to ensure smooth operation. |
Operating Systems (OS)
|
- Windows
- Linux - MacOS |
VPS Specifications
|
CPU: 2 Cores, Memory: 8 GB RAM
|
Installation & Setup Guide
To use xerolite, you need the following:
- VPS (Virtual Private Server): You must have a VPS(Recommended Spec 2CPU 8GB RAM) with a public IP.
If you don’t have one, we offer VPS subscriptions. Please visit our VPS store for more information. - Interactive Brokers Account: You must have an active Interactive Brokers account.
- TradingView Account: You must have a TradingView account.
- Supported OS: Windows, Linux & Mac
Important Note: The fee does not include the cost of installation and setup. We offer setup services for an additional fee. For more details, visit our installation and setup service page.
- Set up TWS(IB Trader WorkStation) and login your TWS in the same machine where you going to run xerolite.
- After login, open configuration page. Go to top menu bar, Edit-> Global Configuration.
- In API Settings
- Check Enable ActiveX and Socket Clients
- Set Socket port to 7497
- Refer the settings as following screenshots
- In API -> Precautions,
- Bypass all the precautions as following screenshot.
Follow these simple steps to set up Xerolite on your computer:
Step 1: Download and Unzip
- Download xerolite from the above link (Download section at the top on this page)
- Copy the xerolite-xxxx.zip that you have downloaded to any drive on your computer.
- Unzip the file to extract its contents.
Step 2: Configure Login Credentials
- Open the config/login-credentials.properties file.
- Change the username and password to your desired values.
Step 3: Start the Program
For Windows
- Open Command Prompt: Press
Win + R
, typecmd
, and hitEnter
. - Navigate to Folder: cd C:\path\to\xerolite
- Run Program: win-run.bat
For Linux
- Open Terminal: Press
Ctrl + Alt + T
. - Navigate to Folder: cd /path/to/xerolite
- Run Program: ./linux-run.sh
For Mac
- Open Terminal: Press
Command + Space
, typeTerminal
, and hitEnter
. - Navigate to Folder: cd /path/to/xerolite
- Run Program: ./mac-run.sh
For mac user, you might encounter following error when you run ./mac-run.sh for the first time
To solve this , navigate to /jre/bin, right click on java and click open .
It will prompt you following warning, just click Open.
It will open an terminal with printed with some java execution warning
Just close the terminal and rerun ./mac-run.sh
Step 4: Access the Login Page
- After starting successfully, open your web browser and type localhost in the address bar.
- You should see the Xerolite Login Page. Log in using the username and password you set in the previous step
Important: Ensure Port 80 is Open
Xerolite runs on port 80. To make sure TradingView can access it, you need to ensure that port 80 is not blocked by any firewalls. This includes checking both:
- Cloud Firewalls (if you’re using a cloud service)
- Operating System Firewalls (like Windows Firewall)
Testing if Port 80 is Accessible
- Using Another Device: Open a web browser on any other computer or mobile device (not the server where Xerolite is installed).
- Check Access: Type the IP address of your server where you installed Xerolite in the browser’s address bar.
- If everything is set up correctly, you should see the Xerolite Login Page, which means port 80 is open and accessible.
Note:
- Do Not Test on the Server: Make sure you do not test this from the server where you installed Xerolite, as it will not provide an accurate test of accessibility from the outside.
By following these steps, you’ll successfully set up Xerolite and ensure it’s accessible for TradingView alerts!
First-Time Activation
- After logging in to Xerolite, locate the License Key field.
- Paste your license key into the provided text box.
- Click the Activate button to complete the activation.
Updating Your License
- Click on Update License Key in the menu.
- Paste your new license key into the License Key text box.
- Click the Activate button to update your license.
Frequently Asked Questions (FAQ)
1. Can I use the same license key on multiple machines?
No, the license key can only be activated on one machine at a time. If you attempt to activate the license on a second machine, the original machine’s license will automatically be deactivated.
2. What happens if I want to move my XeroLite installation to a new machine?
Simply activate your license key on the new machine. This will automatically deactivate the license on your previous machine, allowing you to continue using XeroLite on the new machine without issues.
3. Can I share my license key with others?
No, the license key is non-transferable and cannot be shared with anyone. If the license is used on a second machine, the original machine’s copy will be deactivated.
4. How do I receive my license key after purchase?
Once you complete your purchase, the license key will be sent to your registered email. Please follow the instructions in the email to activate XeroLite.
5. What should I do if I don’t receive the license key email?
Please check your spam or junk folder first. If you still can’t find the email, contact our support team for assistance. (support@xeroflex.com)
6. What if I encounter issues activating my license?
If you face any issues during activation or need to transfer the license, feel free to contact our support team. We are here to assist you with any technical problems or questions.
Important Notes:
Activation Limit: Only one machine can be activated at a time.
Deactivation: The original machine will automatically deactivate if the license is used on another machine.
Free Trial License: Your license is valid and have full access to all features for 15 Days
Lifetime License : Your license is valid for life and will work for all XeroLite v0.3.x updates.
Step 1: Login to TradingView
- Sign in to your TradingView account.
- Click on the ‘+’ icon in the top right corner to create a new alert.
Step 2: Set Up Alert Rule
- Choose your desired conditions for the alert. Configure the alert rule according to your trading strategy.
Step 3: Enter the Alert Message
- In the Message field, enter your alert request.
- Make sure it strictly follows the format specified by Xerolite.
- Refer to the User Manual -> Alert Request Format tab for details.
Step 4: Enter the WebHook URL
- Copy the WebHook URL provided by Xerolite and paste it into WebHook URL field in TradingView.
- Refer to the User Manual -> WebHook URL tab for details
Xerolite is a web-based application, accessible from any browser, which makes securing your login credentials important. Follow these steps to update your username and password:
Locate the Credentials File:
- Open the
config/login-credentials.properties
file located in the Xerolite configuration folder.
- Open the
Modify Username and Password:
- Change the
username
andpassword
to your desired values.
- Change the
Save and Restart:
- After making changes, save the file.
- Restart the Xerolite application for the updated login credentials to take effect.
What is a WebHook URL?
The WebHook URL is the link you need to configure in TradingView for sending alerts.
- Format of the WebHook URL:
The WebHook URL should be formatted to include your API key, like this:https://<your-ip-address>/api/order/place-order?x-api-key=dwLoMoXfMJq77_32fZYP8gQlvUzTzHPJ
- Purpose of the API Key:
The API key adds an extra layer of security, helping to prevent unauthorized requests to your system. - Regenerating Your API Key:
If you suspect that your API key has been exposed, you can regenerate it. This is an important security measure. - Regular Updates:
It’s advisable to regenerate your API key occasionally, just like you would with a password, to maintain security. - Updating TradingView:
After regenerating your API key, remember to update the WebHook URL in TradingView with the new key. Ensure it looks like this:https://<your-ip-address>/api/order/place-order?x-api-key=<new-api-key>
- Format of the WebHook URL:
To create an alert request that integrates with TradingView, follow the steps below. Ensure that the alert message you configure matches the required format exactly.
Alert Message Format Example:
Explanation of Fields:
- name: The alert name, which helps you differentiate between different alerts.
- sec_type: The type of security. Possible values:
- STK: Stock
- CASH: Forex
- FUT: Futures
- con_id: The unique contract ID from Interactive Brokers (IB).
- exch: The name of the exchange (e.g., SMART).
- action: Specifies the action to take: either buy or sell.
- volume: The number of shares or contracts you want to trade.
Steps to Generate Your Alert Request:
- Navigate to the “Create Your Alert Request” Tab.
- Enter the following search criteria:
- Symbol (e.g., AAPL for Apple)
- Security Type (e.g., STK for stocks)
- Currency (e.g., USD for U.S. dollars)
Use these inputs to search for the corresponding contract from Interactive Brokers (IB).
- Copy the Generated JSON:
- After performing the search, you’ll see a JSON format for each returned contract.
- Click on Copy to copy the JSON message.
- Modify the JSON (If Necessary):
- Do not modify:
con_id
,sec_type
, orexch
values. - You can modify the following fields:
- action: Choose either “buy” or “sell”.
- volume: Set the quantity for the order.
- name: Update the alert name if needed.
- Do not modify:
By following these steps, you can generate an accurate alert request for TradingView and ensure your message is configured correctly for execution.
Why Whitelisting?
For security reasons, Xerolite Webhook URL only accepts requests from specific approved (whitelisted) IP addresses.
Currently, only your own server (localhost) and TradingView’s IP addresses are allowed by default.
Testing from Another Device
If you want to test the Webhook URL from another device (like your phone or a different computer), you’ll need to add your device’s IP address to the whitelist.
Steps to Add Your Device’s IP:
- Find Your IP Address
Go to WhatIsMyIP.com to easily find your device’s IP address. - Update the Configuration
Open thecustom.yml
file on Xerolite. Add your IP address inthe section labeled “whitelist” like this: Indentation Matters
When you add your IP address, make sure the spaces (indentation) are exactly as shown, otherwise it may not work properly.Restart Xerolite
The new IP address will be appear in the “WhiteList IP” section.Unauthorized Request
The alert request that sent from device without whitelisting the IP will be treated as Unauthorized and will not be processed
How to Validate and Test Your Alert Request
If you want to make sure your alert request is valid and can place an order successfully via the webhook URL(without waiting for TradingView to trigger it), you can use our testing tool. Here’s how you can easily validate and test your alert message:
Steps to Validate and Test Your Alert Request:
Why Validate?
It’s helpful to test your alert request to ensure it works properly before waiting for it to be triggered in TradingView. This helps you avoid delays or errors.Use Our Testing Tool
We provide a simple tool to help you test and validate your alert message.Follow These Steps:
- Click on the “Place Your Order” tab.
- Copy your alert request JSON (the one you generated earlier).
- Paste the JSON into the provided text box.
Validate the Alert Request:
- Click the “Validate Message” button to check if the format of your JSON is correct.
- Click the “Validate Message” button to check if the format of your JSON is correct.
Submit the Order (Optional):
If you want to test sending an actual order to Interactive Brokers, click the “Submit” button.Testing from a Different Device:
If you want to use this feature from a device other than from VPS where you install the xerolite (e.g., testing from your phone/ home laptop), you will need to whitelist your phone’s IP address to ensure it is allowed to access the tool.
By following these steps, you’ll be able to validate and test your alert requests in a safe environment before executing them through TradingView or Interactive Brokers.
Here are solutions for resolving common problems encountered while using Xerolite:
1. Unable to Receive Alerts
Ensure Xerolite is Running:
- Verify that the Xerolite application is set up correctly and running in the background.
Check TradingView Webhook Configuration:
- Double-check that the webhook URL is correctly configured in your TradingView alert settings.
Firewall or Port 80 Blockage:
- Ensure port 80 is not blocked by your firewall or being used by another program. Follow the instructions below to resolve this.
2. Port 80 in Use
If port 80 is occupied by another program, you need to free it up for Xerolite.
Windows:
- Identify the Process Using Port 80:
- Open Command Prompt as Administrator.
- Run the following command:netstat -ano | findstr :80
This will show the process using port 80 and its PID (Process ID).
- Kill the Process:
- Run the command:
taskkill /PID <PID> /F
Replace
<PID>
with the process ID found in the previous step.
- Run the command:
- Windows Server 2019:
- Stop the “Web Deployment Agent Service” to free up port 80.
Linux:
- Identify the Process Using Port 80:
- Open Terminal and run:sudo lsof -i :80
This will display the process name and its PID.
- Open Terminal and run:
- Kill the Process:
- Run the command:
sudo kill -9 <PID>Replace<PID>
with the process ID.
- Run the command:
Mac:
- Identify the Process Using Port 80:
- Open Terminal and run:
sudo lsof -i :80
- Open Terminal and run:
- Kill the Process:
- Run:sudo kill -9 <PID>
- Run:
3. TWS (Trader Workstation) Connection Issues
This error indicates that Xerolite has lost connection to the Interactive Brokers Trader Workstation (TWS).
Possible Causes:
- TWS is not open or you’re not logged in.
- Socket Port 7497 is not open
Solutions:
- Restart TWS and log back in.
- Ensure that TWS is running and remains active.
- Make sure socket port has been set to 7497 (Refer to Step 1: Setup TWS)
4. IB Server Connectivity Issues
This reflects the connection status between TWS (Trader Workstation) and the IB Server.
When the Connection is Lost:
- If the connection between TWS and the IB Server is lost, TWS will no longer be able to place or modify orders.
- This can occur due to various reasons, such as:
- IB Server Downtime/IB Server Nightly Reset
- Internet Connectivity Issues
- Competing Sessions — You may have logged into TWS from another session, which can cause disconnection from the current one.
During Disconnection:
- Manual order placement in TWS will also be unavailable.
- To check whether the IB server is down, visit the official system status page: IB System Status
Possible Solutions:
- Restart TWS and log back in to restore the connection.
- Ensure you have a stable internet connection.
- Monitor system resources—high memory or CPU usage may cause disconnections, so ensure your machine is not overloaded.
- Verify that you are not logged into TWS in another session, as competing sessions can lead to connection issues.
General Tips:
- Regularly monitor your system’s resource usage to ensure smooth operation.
- Ensure a stable internet connection to avoid issues between TWS and IB servers.
By following these troubleshooting steps, you can resolve most issues encountered with Xerolite and maintain smooth communication with Interactive Brokers.
Disclaimer & User Responsibilities
Xerolite as a Bridge
Xerolite acts as a bridge that receives orders through a webhook URL from TradingView and places those orders with Interactive Brokers (IB). It does not make any trading decisions on your behalf.Ensure TWS is Active
It is the user’s responsibility to ensure that their Trader Workstation (TWS) is up and running at all times when using Xerolite. If TWS is not operational, orders will not be placed, and Xerolite cannot be held responsible for missed trades.No Guarantee of Profit
Xerolite only facilitates the process of placing orders based on your configured alerts. We do not guarantee any profits or financial gains from using this software. Trading carries inherent risks, and the results depend on your trading strategies and market conditions.User-Generated Requests
All orders placed through Xerolite are generated by user-defined alerts and strategies. We do not influence or modify the orders. Users are fully responsible for the accuracy and correctness of the order requests they send.Responsibility for Monitoring
Users must actively monitor their accounts, orders, and system performance. Xerolite provides tools to automate order placement, but it is the user’s responsibility to manage risk and take any corrective actions during their trading activities.Limitation of Liability
We are not liable for any losses, delays, or failed executions due to technical issues, network failures, or misconfigurations in your alert settings, TradingView, or IB’s systems.