Files
QuantScan-Pro-/test_provision.cjs
desartstudio95 b4df5a2d17 feat(auto-trading): integrate MetaApi for automated trading
- Add metaapi.cloud-sdk for broker integration
- Implement AutoTradingView component
- Extend Signal interface with secondary take-profit levels
- Update UI to include auto-trading navigation tab
2026-05-25 05:52:17 -07:00

16 lines
391 B
JavaScript

const axios = require('axios');
async function test() {
try {
const res = await axios.post('http://localhost:3000/api/metaapi/provision', {
platform: 'mt4',
login: '123456',
password: 'mypassword',
serverName: 'Broker-Server'
});
console.log("SUCCESS:", res.data);
} catch (e) {
console.log("ERROR:", e.response?.data || e.message);
}
}
test();