Simple http upload of a string via Http

작업 종료됨

실행 시간 74 일

명시

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!

응답함

1
개발자 1
등급
(90)
프로젝트
136
14%
중재
43
21% / 28%
기한 초과
14
10%
무료
게재됨: 2 코드
2
개발자 2
등급
(8)
프로젝트
7
0%
중재
7
0% / 71%
기한 초과
2
29%
무료
3
개발자 3
등급
(361)
프로젝트
644
26%
중재
92
72% / 14%
기한 초과
12
2%
작업중
게재됨: 1 코드
비슷한 주문
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 () {

프로젝트 정보

예산
30+ USD
기한
 1 일