- 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
License Key & Service
Our Service
|
Action
|
|
---|---|---|
15 Days Free Trial License
|
Get a fully functional license for 15 days at no cost. Perfect for testing and evaluation.
|
|
LifeTime License Key
|
Make a one-time purchase for a lifetime access license. No recurring fees.
|
|
Installation And Setup Service
|
Let us handle the installation and setup for a hassle-free experience.
|
|
VPS
|
Subscribe to Xero Cloud with recommended specs (2 CPU, 8 GB RAM) for optimal performance.
|
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.
Release Notes
[Version 0.3.1] – 2024-10-17
Added- Added a copy button in the alert popup to allow easy copying of the alert message.
- con_id and volume fields now accept values with or without quotes.
- Changed the day filter from a dropdown to buttons for improved user experience.
[Version 0.3.0] – 2024-09-25
Added- Support for License Key
- Support for Free Trial
- User Manual
- Increased Alert Log History from 15 days to 30 days.
[Version 0.2.1] – 2024-09-01
Added- Login Page
[Version 0.2.0] – 2024-06-03
Added- IP Whitelist Function
- Order Alert Generation Tool:
- Allow users to search for symbols from Interactive Brokers (IB) and generate alert JSON.
- Tool to test place orders and validate alert messages
- API Key in Webhook URL
[Version 0.1.0] – 2024-01-03
Added- First Release
- Automated TradingView Alert Log to Interactive Brokers Orders