Examples
Want the strategy, not the plumbing?
These examples show the code. ChipaEditor shows the results โ AI strategy generation in CHTL, backtesting, and one-step deployment to a live broker. Start free โ ย ยทย Crypto perps and spot on ChipaX.
Complete working examples for all supported languages.
Language Examplesโ
Quick Links by Categoryโ
Basic Usageโ
Tradingโ
Market Dataโ
Subscriptionsโ
Repository Structureโ
All examples are also available in the repository:
examples/
โโโ python/
โ โโโ async/ # Async examples
โ โโโ sync/ # Sync examples
โโโ rust/ # Rust examples
โโโ javascript/ # JavaScript/TypeScript examples
โโโ swift/ # Swift examples
โโโ kotlin/ # Kotlin examples
โโโ go/ # Go examples
โโโ ruby/ # Ruby examples
โโโ csharp/ # C# examples
Running Examplesโ
Pythonโ
cd examples/python/async
python basic.py
Rustโ
cargo run --example basic
JavaScriptโ
cd examples/javascript
node basic.js
Swiftโ
swift Basic.swift
Kotlinโ
// Run in Android Studio or IntelliJ
Goโ
go run basic.go
Rubyโ
ruby basic.rb
C#โ
dotnet run --project basic.csproj