I need a program code that will connect via API to broker xtb.com, retrieve x prices of the instrument I selected in the code and perform some mathematical calculations based on that

Employer
no avatar
msgames
Description

I need a program code that will connect via API to broker xtb.com in real or demo version, will take "a" prices of the instrument selected by me in the code for the period "b" and perform some mathematical calculations on this basis:

c,d,e= will calculate MACD (x,x,x) - how to count, see appendix, information what it is: https://pl.wikipedia.org/wiki/MACD

f,g= will calculate EMA cross (y,y) i.e. exponential moving average, how to count - https://pl.wikipedia.org/wiki/%C5%9Arednia_ruchoma

and will return the results of the values of the individual components c,d,e,f,g to the variables to which you will need to add further logic

calculations are to work in infinity loop mode until manually stopped. the loop is to be triggered every "b" period

I need the code itself to run, without reducing to executable form

API documentation:

http://developers.xstore.pro/documentation/#introduction

Published
on 2022-10-07
Skills
File description 1
macd template.xlsx

Offers sent (8)

AveU
AveU
21 deals
on 2022-10-09
agile development
API
backend
+ 23 more
Budget
Negotiable
Copyright
-
Expires in
30 days