Inside the Percept Labs Charting Integration in Origami Tech

Introduction
A price chart becomes more useful when it shows not only the market, but also what happened inside a trader’s account.
Origami Tech integrates charting technology from Percept Labs to display market data together with executions, active orders, open positions, break-even levels, and liquidation lines. The integration is built around PerceptChart, the charting layer available inside the Origami Tech terminal, and TitanCharts, the financial charting library developed by Percept Labs.
For traders running a crypto trading bot or managing several automated strategies, this creates a direct connection between market movement and actual execution.
From Market Price to Trading Context
A conventional chart shows how the price of an instrument changed over time. A trading terminal must also show how the user or an automated strategy interacted with that movement.
Inside Origami Tech, PerceptChart combines these two layers.
Traders can view completed executions against the corresponding price action, monitor active orders, track open positions, and see break-even and liquidation levels on the same chart. Instead of comparing timestamps from an order table with a separate market screen, users can review the trade in its original market context.
This makes it easier to understand where a strategy entered the market, how price moved after execution, and how the current position is structured relative to recent volatility.
The distinction is particularly important for automated trading bots. Aggregate metrics such as realized PnL, unrealized PnL, fees, volume, and trade count describe the result of a strategy. They do not always explain how that result was produced.
Execution markers and position levels provide another layer of analysis. A trader can see whether orders were placed at the intended price levels, whether several executions were concentrated in one area, and how the bot reacted when the market changed direction.
How PerceptChart and TitanCharts Fit Into Origami Tech
PerceptChart is the user-facing charting interface embedded in Origami Tech. TitanCharts provides the underlying financial charting technology.
The integration can be divided into three functional layers:
Layer Role Origami Tech Connects exchanges, accounts, bots, orders, positions, and execution workflows PerceptChart Displays market and account activity inside the trading terminal TitanCharts Processes financial data, renders charts, and supports trading overlays and chart interactions
Percept Labs focuses on the charting infrastructure. Origami Tech connects that infrastructure with exchange data, trading accounts, and order execution.
This separation is important because the chart does not execute trades independently. It displays market and trading information and returns events generated by user interactions. Origami Tech processes those events, applies its own account and trading logic, and routes the resulting instruction to the connected exchange.
For a multi-exchange crypto trading bot platform, the chart is therefore one part of a wider execution environment rather than a separate analytical product.
Viewing Orders, Positions, and Executions on the Chart
PerceptChart allows account activity to remain visible alongside the market.
Depending on the selected market and account, the interface can display:
- active orders;
- completed executions;
- open positions;
- break-even price lines;
- liquidation lines;
- trading information connected with the selected instrument.
This gives traders a clearer view of how an open position relates to the market.
A position may be profitable or unprofitable at a particular moment, but the PnL figure alone does not show where the market moved after each execution. A chart can reveal whether the position was opened during a breakout, accumulated across several levels, or left far from the current price after a prolonged swing.
For crypto bot trading, this visual context can also help compare intended strategy logic with actual exchange execution.
A strategy may be configured to place orders at specific levels, but the final result can still be affected by market movement, order status, partial fills, and changing liquidity. Displaying the resulting executions on the chart makes that behaviour easier to review.
Managing a Trade From a Previous Execution
Origami Tech also connects previous executions with the order-entry workflow.
A trader can select a completed trade on the chart, open the order interface, configure a counter-trade, and submit a new order while keeping the original execution visible.
This workflow can be useful when the market makes a large or prolonged move and an existing position remains open. Instead of rebuilding the context manually, the trader can begin directly from the execution that requires attention.
The next action may involve reducing part of the exposure, placing another order around the existing position, adjusting the average entry price, or capturing a shorter move in the opposite direction.
This type of workflow can also support discretionary scalping around an open position. It should not be confused with a fully autonomous crypto scalping bot: the example demonstrates a trader initiating the counter-trade through the chart interface.
Suggested caption:
A trader selects a previous execution, opens the order panel, configures a counter-trade, and submits it while keeping the original trade visible on the chart.
The chart provides the visual and interactive layer for this process. Origami Tech remains responsible for the account state, order validation, trading logic, and routing of the order to the connected exchange.
How Trading Information Reaches the Chart
TitanCharts provides a trading API through which an application can pass trading state into the chart.
This state may include positions, active orders, executions, and take-profit or stop-loss brackets. TitanCharts converts the supplied data into visual elements such as lines, markers, labels, and interactive controls.
The general relationship looks like this:
Connected exchange
↓
Origami Tech market and account layer
↓
Normalized candles, orders, positions, and executions
↓
PerceptChart powered by TitanCharts
↓
Chart lines, markers, labels, and interactionsWhen the user initiates an action from the chart, the direction is reversed:
Interaction with a chart element
↓
TitanCharts event
↓
Origami Tech trading and validation logic
↓
Connected exchangeThis division keeps visualization separate from execution.
Even when an order-management action begins on the chart, it must still pass through Origami Tech before reaching the exchange.
More information about the available trading objects and interaction model is available in the official TitanCharts Trading API documentation.
Historical and Real-Time Market Data
TitanCharts is designed to work with historical candles and real-time market updates.
When a trader opens a chart, the application can load the initial price history for the selected instrument and interval. Older candles can be added when the user moves backwards through the chart, while streaming updates keep the latest market information current.
TitanCharts uses the following official IOHLCV structure for candle data:
interface IOHLCV {
time: number; // Unix timestamp in seconds
open: number;
high: number;
low: number;
close: number;
volume?: number;
}Each object contains the timestamp, opening price, highest price, lowest price, closing price, and optional volume for one candle.
The time field uses Unix seconds. This matters because exchanges and financial data providers may return timestamps in different units or structures. Origami Tech must normalize exchange data before passing it into the charting layer.
TitanCharts also supports live data updates. Its documented updateMainData(tick) method determines whether an incoming update should modify the current candle or create a new one according to the selected interval.
The official implementation details are available in the TitanCharts Core Concepts and Data Loading sections.
WebSocket Data and Recovery After Interruptions
Real-time financial charts generally use WebSocket connections to receive continuous market updates without repeatedly requesting the full dataset.
However, a WebSocket connection can disconnect or miss data during an interruption. TitanCharts therefore supports a production data-loading model that can combine streaming updates with historical requests and periodic polling.
Historical loading supplies the initial dataset and older candles. WebSocket updates keep the latest market information current. Polling can help restore data missed after a temporary connection problem.
Origami Tech handles exchange connectivity before the information reaches PerceptChart.
This is necessary because different exchanges can use different instrument identifiers, subscription formats, candle structures, and timestamp conventions. The terminal normalizes this information so that the charting layer can work with a consistent data model.
As a result, TitanCharts does not need exchange-specific rendering logic for every venue supported by Origami Tech.
The Unified Market Model in TitanCharts 4
TitanCharts 4 introduced a unified Market model in place of the earlier approach that treated the symbol and exchange as separate properties.
This change is especially relevant to a multi-exchange trading terminal.
A ticker alone does not always identify a market. The same underlying asset may be available on several venues, under different instrument names, or through different market types such as spot and perpetual contracts.
The selected chart must therefore remain synchronized with the correct instrument, venue, candle history, active orders, and position data.
The unified market model allows the charting layer to treat the instrument and exchange as parts of the same market context.
For Origami Tech, this supports a clearer relationship between the market selected in the interface and the trading information associated with it.
Details about the architectural changes in TitanCharts 4 are available in the official TitanCharts v4 migration guide.
Comparing Different Charts and Timeframes
Origami Tech supports synchronized interaction across multiple chart panels.
Zoom, horizontal movement, and crosshair position can remain aligned between charts. This allows traders to compare several timeframes, related instruments, or different views of the same market without navigating every panel separately.
For example, a trader may review an execution on a short timeframe while keeping a longer-term chart aligned to the same period.
The short timeframe shows the immediate conditions around the execution. The longer timeframe provides the wider market structure.
This is useful when reviewing automated strategies because the same trade can look very different depending on the selected interval. A sharp move on a five-minute chart may represent only a small fluctuation within a broader trend.
Synchronized charts preserve both views of the same event.
Why Chart-Based Execution Data Matters
An automated strategy can place dozens or hundreds of orders. Reviewing that activity only through tables can make it difficult to understand the sequence of events.
Chart-based execution data provides a more direct way to inspect how the strategy operated.
Traders can review where orders were placed, how the market moved after each execution, how the position developed, and how close it came to its break-even or liquidation level.
This does not replace performance analysis.
A chart cannot determine whether a strategy used an appropriate amount of capital, accepted excessive risk, or generated sustainable returns. Those questions require account metrics such as realized and unrealized PnL, fees, exposure, capital allocation, and maximum drawdown.
The chart answers another question: how did the strategy behave inside the market?
For traders using a crypto trading bot, both layers are necessary. Performance metrics describe the financial outcome, while chart data explains the execution context behind it.
Percept Labs and Origami Tech
Percept Labs develops technology for financial charting and real-time market data.
Its TitanCharts library provides a headless charting core, framework integrations, historical and streaming data support, trading overlays, and interactive chart tools for financial applications.
Origami Tech connects that technology with exchanges, trading accounts, bots, orders, positions, and execution workflows.
Together, the two systems create a trading interface in which price analysis and account activity are no longer separated.
Traders can see where executions occurred, monitor active orders and position levels, review automated strategies, and initiate new actions while preserving the context of the original trade.
FAQ
What is PerceptChart in Origami Tech?
PerceptChart is the charting interface embedded in the Origami Tech terminal. It is powered by TitanCharts technology from Percept Labs and displays market data together with executions, active orders, open positions, break-even levels, and liquidation lines.
What is the difference between PerceptChart and TitanCharts?
PerceptChart is the user-facing charting layer inside Origami Tech. TitanCharts is the underlying financial charting library developed by Percept Labs. Origami Tech connects the charting layer with exchange data, accounts, bots, positions, orders, and execution workflows.
Can TitanCharts execute trades directly?
TitanCharts provides visualization, trading overlays, and chart interaction events. It does not independently execute trades. Origami Tech processes the action, applies account and trading logic, and routes the instruction to the connected exchange.
Can the integration be used to review a crypto trading bot?
Yes. Executions, active orders, positions, break-even levels, and liquidation lines can be displayed against market price action. This helps traders compare a crypto trading bot’s intended strategy with its actual execution behaviour.
What market data does TitanCharts support?
TitanCharts supports historical and real-time financial data, including OHLCV candles. It can load older market history, receive streaming updates, switch between intervals, and update the current candle or create a new one as fresh data arrives.
Trade Smarter with Origami Tech
Take your crypto trading to the next level with our powerful automated trading terminal. Maximize profits, minimize risks, and stay ahead of the market 24/7.




