Simple http upload of a string via Http

Trabajo finalizado

Plazo de ejecución 74 días

Tarea técnica

i need a EA that creates a json array and submit it via HTTP POST request every x sec.

1. Input field (double) that sets the base Balance

1. input field (int) that sets the timer to execute (every x sec)

1. input field (varchar) for the url

1. input field (varchar) for the access token

if positions open

output array should contain current PnL in % (based on the balance input), Free margin, Running Pnl (in%) and equity Pnl (based on balance input)

if no position open just submit the pnl based on the set balance input.


here is a cURL example of what I need to be submit
curl -X POST \ -k -H "Accept: application/json" \ -H "X-Access-Token: -TOKEN-" \ -H "Cache-Control: no-cache" \ -d '{ "frames": [ { "text": "Margin 3000%", "icon": 45063, "index": 0 }, { "text": "Today PNL +5%", "icon": 45063, "index": 1 }, { "text": "open Positions +10%", "icon": 45063, "index": 2 } ] }' \ https://172.16.67.210:4343/api/xxxx


this is a extremely simple task .. time is the essence here!

Han respondido

1
Desarrollador 1
Evaluación
(90)
Proyectos
136
14%
Arbitraje
43
21% / 28%
Caducado
14
10%
Libre
Ha publicado: 2 ejemplos
2
Desarrollador 2
Evaluación
(8)
Proyectos
7
0%
Arbitraje
7
0% / 71%
Caducado
2
29%
Libre
3
Desarrollador 3
Evaluación
(361)
Proyectos
644
26%
Arbitraje
92
72% / 14%
Caducado
12
2%
Trabaja
Ha publicado: 1 ejemplo
Solicitudes similares
Create a bot that can trade and read indicators easy to read for first time users. Bot that can be used on a phone and connect to MT5. It should be easy to install or use on any device especially phone and laptop, preferably the bot that can run over night and controllable when needed
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {

Información sobre el proyecto

Presupuesto
30+ USD
Plazo límite de ejecución
a 1 día(s)