Beginner Friendly
Real-time

Introducing kScript v2

kScript is designed to be intuitive whether you're coming from PineScript or learning to code for the first time. Create technical indicators, analyze market trends, and study order flow with powerful yet accessible tools. The syntax is straightforward and easy to learn - you'll be building working indicators in minutes.

What Can You Build?

kScript gives you access to powerful data sources that most platforms don't offer:

📊

Custom Technical Indicators

Build indicators like RSI, moving averages, MACD, and Bollinger Bands with your own parameters and visual styles.

📈

Multi-Symbol Analysis

Compare price movements across different assets. Track correlations, spreads, and relative strength between multiple symbols.

💎

Order Book Analysis

Access order book data up to 2,000 levels deep. Visualize liquidity, find imbalances, and analyze market depth in real-time.

🔄

Cross-Exchange Studies

Aggregate data from multiple exchanges. Track price differences, liquidity flows, and arbitrage opportunities.

Examples
The kScript (5 lines)
Line 1→ Tell kScript this is version 2
Line 2→ Set up your indicator's name
Line 3→ Get price data from current chart
Line 4→ Calculate 20-period average
Line 5→ Draw a blue line on chart
✅ That's it! A working indicator in 5 lines of code.

Why kScript?

Familiar Yet Powerful

🎯

The syntax is designed to be easy to read and write. If you know PineScript, kScript will feel familiar. If you're new to coding, you'll find it straightforward to learn. There are no timeout restrictions or calculation limits - your indicators can process large amounts of data without hitting walls that other platforms have.

Built for Performance

Most platforms impose strict limits that restrict what you can build. kScript removes these barriers:

⏱️
No Timeout Limits

Process millions of data points without execution timeouts. Complex calculations run to completion.

🔄
Real-Time Execution

Indicators update instantly as market data changes. See your analysis in real-time without lag.

📊
Years of Historical Data

Backtest your indicators with extensive historical datasets across all available data sources.

Institutional-Grade Data Sources

📊

Access data that most platforms don't offer. Build sophisticated indicators using institutional-grade market intelligence:

📚Order Book Depth
💹OHLCV Data
🏦ETF Holdings
📈Options Flow
💰Funding Rates
📊Open Interest
🔄Liquidations
💸Lending Rates

Wide Exchange Coverage

🌐

Access data from major centralized exchanges (Binance, Coinbase, OKX), derivatives platforms (Deribit, Hyperliquid), decentralized exchanges (Uniswap, SushiSwap, PancakeSwap), and price oracles (Pyth Network). Build indicators that analyze and compare data across the entire crypto ecosystem.

🏦 CEXs
📈 Derivatives
🔄 DEXs
🔮 Oracles

Developer-First Features

🛠️

Live Debugging

See your variables update in real-time as the market moves

Version Control

Built-in versioning for all your scripts with rollback capabilities

AI-Powered Development

New

Transform your AI assistant into a kScript expert. Our reference document teaches ChatGPT, Claude, and other LLMs the exact kScript syntax - no more debugging broken AI-generated code.

Download Prompt

Get the kScript syntax guide optimized for LLMs

Attach to AI

Upload to your ChatGPT or Claude conversation

ChatGPTClaude

Generate Code

Get working kScript with correct syntax every time

Open Kiyotaka
Note: While AI assistants become more helpful with our reference, always verify generated code. Complex strategies may need manual adjustments.

Join the Beta Community

Your feedback is heard and implemented quickly - we've shipped 40+ community-requested features in the past month alone. Report a bug in the morning, see it fixed by afternoon. Suggest a function today, use it next week. This rapid iteration cycle means kScript evolves exactly how you need it to.

Join our Discord to:

🚀Get early access to new features and documentation
Submit feedback that gets responded to within hours, not weeks
🤝Collaborate on code with other developers building advanced indicators
🔧Share and debug scripts together in real-time
🎯Help prioritize the development roadmap
📊Request custom data sources and new functions

Ready to start building?

Join thousands of traders using kScript to power their trading strategies with unprecedented market data access

📖
Introduction
Overview of kScript language
🔍
Overview
Complete technical documentation
🚀
Quick Start
Get started with kScript basics
📋
Function Reference
Complete API reference guide
📚
Type System
Understanding kScript data types
General FAQ
Frequently asked questions about kScript
Best Practices
Guidelines for writing efficient kScript code
⚠️
Limitations
Known constraints and workarounds
🌐
Exchange & Symbol Format
List of supported exchanges and symbol formats
🆕
Updates
v1 vs v2 differences and improvements
🔧
Variables
Core variables and data handling
📊
Data Sources
Subscribe to OHLCV, trades, and orderbook data
⚙️
Execution Model
Per-bar execution lifecycle and phases
🏷️
Keyword Arguments
Named parameters for clear function calls
🛠️
User-Defined Functions
Create custom reusable functions
🔗
Script Definition
Defining inputs and metadata
🎯
Utility Functions
Helper functions and calculations
📈
Moving Averages
SMA, EMA and trend-following indicators
📊
Oscillators
RSI, Stochastic and momentum indicators
📈
Trend Indicators
Trend direction and strength analysis
📉
Volume Indicators
Volume-based analysis tools
📦
Orderbook Functions
Market depth analysis tools
🎨
Plotting & Visualization
Chart rendering and styling
🌈
Color Functions
Color manipulation and styling
🔄
Loops
For loops and while loops for iteration
🧮
Math Functions
Mathematical functions and constants
📝
String Functions
String manipulation and transformation
🏠
Go Home
Return to main landing page