1.0.0 • Published 9 months ago
rthmn v1.0.0
RTHMN
Next Generation Forex / Stocks Toolkit - A powerful algorithmic trading library for creating and backtesting trading strategies.
Features
- Create custom trading strategies for Forex and Stocks
- Backtest strategies with historical data
- Advanced technical analysis indicators
- Professional risk management tools
- Real-time market data integration
- Position sizing utilities
- Multi-market support (Forex & Stocks)
Installation
npm install rthmn
Quick Start
const rthmn = require("rthmn");
// Create a simple moving average strategy
const strategy = new rthmn.Strategy({
name: "Simple MA Crossover",
timeframe: "1d",
indicators: {
fastMA: new rthmn.indicators.SMA(10),
slowMA: new rthmn.indicators.SMA(20),
},
});
// Run backtest
const results = await rthmn.backtest(strategy, {
symbol: "EUR/USD", // Works with both Forex pairs and Stock symbols
startDate: "2022-01-01",
endDate: "2023-12-31",
});
Documentation
For full documentation, visit rthmn.com
Support
Contributing
Contributions are welcome! Please read our contributing guidelines first.
License
MIT © RTHMN
1.0.0
9 months ago