Simple http upload of a string via Http

Tâche terminée

Temps d'exécution 74 jours

Spécifications

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!

Répondu

1
Développeur 1
Évaluation
(90)
Projets
136
14%
Arbitrage
43
21% / 28%
En retard
14
10%
Gratuit
Publié : 2 codes
2
Développeur 2
Évaluation
(8)
Projets
7
0%
Arbitrage
7
0% / 71%
En retard
2
29%
Gratuit
3
Développeur 3
Évaluation
(361)
Projets
644
26%
Arbitrage
92
72% / 14%
En retard
12
2%
Travail
Publié : 1 code
Commandes similaires
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 () {

Informations sur le projet

Budget
30+ USD
Délais
à 1 jour(s)