Replies

dudegrowth
14 Feb 2022, 12:41

RE:

amusleh said:

Hi,

Which API you are using for your strategy? automate API or Open API?

As you opened the thread on Open API section, for calculation of Pip/tick size/value you can use this tutorial: Profit/Loss Calculation - Open API (spotware.github.io)

Hi, Im using OPEN API


@dudegrowth

dudegrowth
06 Dec 2021, 10:00

RE: RE:

vasile.peste said:

dudegrowth said:

Hi,

I've been trying for 2 days now and i'm not being lucky in trying some github repos that already made nodejs version of open api v2.

I've tried this library which at first part it looked to me that i found the solution i was searching for but still im not able to do anything with it because in first part when i try to connect with it it fails. https://github.com/Reiryoku-Technologies/Mida.

Did you found any solution regard that?

Hi, the Mida framework you tried is still under development, under the hood it's using cTrader Layer for Node.js which is a library allowing you to use Open API v2. Let me know if it solves your problem!

Hi Vasile,

First thing a really big up in the work you've done and thank you for the reply.

I also tried cTrader Layer, but one think i'm not understanding on it, how for example can i place a trade or listening for market updates?


@dudegrowth