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

Closed job
no avatar
msgames
Employer
Job category:
Desktop/web applications
Expected budget:

Negotiable

Preferable skills:
Published:
Valid until:

Job 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

Required functions: