👑
k99 Exchange
Home
Markets
Trade
Portfolio
Wallet
Quant Studio
Admin
k99
EXCHANGE
Markets
Trade
Portfolio
Wallet
Quant Studio
📊 Quant Studio
WORKSPACE
📈 strategies
📉 indicators
🔬 backtest
🔔 alerts
MY STRATEGIES
BTC Momentum
active
+45.2%
Mean Reversion ETH
paper
+28.5%
Forex Carry Trade
backtest
+12.8%
📄 New
💾 Save
📂 Load
▶️ Run Backtest
📝 Paper Trade
# k99 Quant Studio - Strategy Template # Language: Python (Sandboxed) from k99_sdk import Strategy, Indicator, Order class MyStrategy(Strategy): """ Simple Moving Average Crossover Strategy """ def __init__(self): self.fast_period = 20 self.slow_period = 50 self.position_size = 0.1 # 10% of portfolio def on_bar(self, bar): # Calculate indicators fast_ma = Indicator.SMA(bar.close, self.fast_period) slow_ma = Indicator.SMA(bar.close, self.slow_period) # Entry Logic if fast_ma > slow_ma and not self.has_position(): self.buy( symbol=bar.symbol, quantity=self.position_size, order_type="MARKET" ) # Exit Logic elif fast_ma < slow_ma and self.has_position(): self.sell( symbol=bar.symbol, quantity=self.position_size, order_type="MARKET" ) def on_fill(self, fill): self.log(f"Order filled: {fill.symbol} @ {fill.price}") # Register strategy strategy = MyStrategy()
Results
🔬
Run a backtest to see results
Live Indicators
RSI(14)
62.5
MACD
125.4
Bollinger Bands
Upper
Volume Profile
High