import axios from 'axios';

async function checkMode() {
    try {
        const response = await axios.get('http://localhost:5000/api/status');
        console.log('Execution Mode:', response.data.settings?.executionMode);
        console.log('Is Algo Enabled:', response.data.settings?.isAlgoEnabled);
        console.log('Bot Active:', response.data.settings?.botActive);
    } catch (error) {
        console.error('Error fetching status:', error.message);
    }
}

checkMode();
