Topics
31 Dec 2021, 16:28
 956
 4
15 Mar 2019, 16:44
 4498
 13
28 Feb 2019, 11:28
 1384
 6
14 Jun 2018, 19:00
 1596
 2
14 Jun 2018, 15:14
 1433
 2
12 Apr 2018, 12:41
 1336
 2
07 Nov 2017, 06:42
 1973
 6
24 Oct 2017, 03:38
 2067
 7
17 Oct 2017, 12:08
 0
 877
 1
16 Oct 2017, 08:26
 2355
 5
Replies

ycomp
18 Feb 2019, 11:42

RE: RE:

 

Hi,

I can't really follow the answer, what is new in openapi 2.0? What is the difference or new? Why openapi 2.0 created?

Tetra

it says on the web page, that the benefit is no longer having to use REST

 


@ycomp

ycomp
30 Nov 2018, 10:45

RE:

are there any plans to add them to mobile app versions?


@ycomp

ycomp
17 Apr 2018, 07:53

yes, please do!


@ycomp

ycomp
10 Apr 2018, 07:19

I'm out of votes unfortunately but this definitely should be implemented..


@ycomp

ycomp
06 Apr 2018, 17:23

How can I upgrade to 3.01? All the cTrader platforms I have installed are only 2.01 - and this is April 2018


@ycomp

ycomp
07 Nov 2017, 12:49

please leave this one for archive purposes (preferably with the same urls to threads)


@ycomp

ycomp
07 Nov 2017, 12:28

Every time I come to forum to post ,even it seems in the same day, I have to log in again.. Are you aware of this issue? or is it something that just happens to me?


@ycomp

ycomp
24 Oct 2017, 14:26

well, comments are also strings and my understanding is that they are limited to 100 characters. So I was thinking there might be some limit here also.

I need to track orders I send in order to prevent sending duplicate orders and I need a way to identify these orders once the trading api does something with them (fills them or cancels)

my current identifier can be quite long, so that's why I was asking.

if you know a better way of preventing duplicate orders being sent, please let me know.

 

 


@ycomp

ycomp
24 Oct 2017, 10:09

I do have another question though...

 

what is the max length of the

clientOrderID

when placing an order request?


@ycomp

ycomp
24 Oct 2017, 03:42

pls ignore , it is the hearbeat event - I was receiving it before (just handling it better)


@ycomp

ycomp
17 Oct 2017, 12:50

i get several 429s but I specifically added code that limits requests to no more than once every 2 seconds and by watching my log statements it looks like my rate-limiting code works (i.e. limits to at least 2 seconds between calls)

So is it possible to still get this HTTP response even if I'm doing that? There's a chance I might have overlooked something in my code but I really think I implemented the rate limiting correctly.


@ycomp

ycomp
16 Oct 2017, 14:50

pls ignore, I had an exception that was throwing things out of whack


@ycomp

ycomp
16 Oct 2017, 14:33

when exactly does OA_POSITION_STATUS_OPEN fire? I'm getting OA_POSITION_STATUS_CREATED but I don't think OPEN is firing. However with created fields like entry price are blank


@ycomp

ycomp
13 Oct 2017, 08:17

what is a 

TIMEOUT_ERROR

?

 

 


@ycomp

ycomp
11 Oct 2017, 13:20

also is there a mailing list for when the protobuf soruces get updated?


@ycomp

ycomp
11 Oct 2017, 13:10

RE:

Has any other Proto* been deprecated?

Panagiotis Charalampous said:

Hi ycomp,

ProtoPingReq has been depreciated. Please use ProtoOAPingReq.

Best Regards,

Panagiotis

 


@ycomp

ycomp
18 Aug 2017, 15:10

yes, thanks I copied the wrong line from my code - I meant entry time


@ycomp

ycomp
04 May 2017, 10:12

RE:

Spotware said:

Hi ycomp,

Do you send a heartbeat to the server every 10 seconds as described here https://connect.spotware.com/docs/frequently-asked-questions ?

 

no, I send a ping request approx. every 5 seconds, unless in the last 5 seconds i've transmitted some other message (if my code is working correctly)

is that not sufficient?


@ycomp

ycomp
04 May 2017, 05:33

ok, i think it is just I cleared out my logging and these things are more visible now. So seems to still work, just I'm wondering what causes the socket closed (I'm using java) errors - is it that I'm making too many requests too quickly?


@ycomp

ycomp
04 May 2017, 05:27

RE:

ycomp said:

does this limit apply to the Trading API also?

I never had any problems before creating and closing a bunch of trades one after another, since I started using the trading api.

but today I'm continually getting a socket closed from the trading API - the accounts API works fine from the same program with the same credentials.

on a pepperstone demo account


@ycomp