work on new engine
This commit is contained in:
parent
44476da13f
commit
a1e5a21847
126 changed files with 3425 additions and 6695 deletions
|
|
@ -3,7 +3,7 @@
|
|||
* Demonstrates orderbook analytics, portfolio risk, and bet sizing
|
||||
*/
|
||||
|
||||
import { TradingEngine, RiskAnalyzer, OrderbookAnalyzer } from '@stock-bot/core';
|
||||
import { OrderbookAnalyzer, RiskAnalyzer, TradingEngine } from '@stock-bot/engine';
|
||||
import { getLogger } from '@stock-bot/logger';
|
||||
|
||||
const logger = getLogger('AdvancedRiskExample');
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { TradingEngine } from '@stock-bot/core';
|
||||
import { TradingEngine } from '@stock-bot/engine';
|
||||
|
||||
async function debugRustShortTrades() {
|
||||
// Create engine config for backtest mode
|
||||
|
|
|
|||
|
|
@ -2,8 +2,7 @@
|
|||
* Examples of using the Rust-based Technical Analysis library
|
||||
*/
|
||||
|
||||
import { TechnicalIndicators, IncrementalSMA, IncrementalEMA, IncrementalRSI } from '@stock-bot/core';
|
||||
import { TechnicalAnalysis, IncrementalIndicators, SignalGenerator } from '../src/indicators/TechnicalAnalysis';
|
||||
import { IncrementalIndicators, SignalGenerator, TechnicalAnalysis } from '../src/indicators/TechnicalAnalysis';
|
||||
|
||||
// Example 1: Basic indicator calculations
|
||||
async function basicIndicatorExample() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue