08bb52bf23
- Add auto-trading database collections and Firestore rules - Update Gemini service prompt for SMC/Institutional focus - Add MetaApi integration and Yahoo Finance symbol mapping - Implement auto-trade state management in AutoTradingView
5 lines
185 B
TypeScript
5 lines
185 B
TypeScript
import fs from 'fs';
|
|
const text = fs.readFileSync('error.log', 'utf8');
|
|
const errIdx = text.lastIndexOf('Error');
|
|
console.log(text.substring(Math.max(0, errIdx - 500), errIdx + 1500));
|