Topics
Replies
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
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
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
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: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
ycomp
18 Feb 2019, 11:42
RE: RE:
it says on the web page, that the benefit is no longer having to use REST
@ycomp