!!! Trading API with Json !!!
!!! Trading API with Json !!!
30 Aug 2017, 11:07
Hi All.
It was not a foolish idea to do anything sensible. For example Json Api.
Then all people would not have to use C # or Java but can use other programming languages. One solution and supports multiple languages.
Only ssl socket and json strings (simple ssl socket and Json strings).
Simple example: I'm sending a query in Json with a login and password / key and gets a query in Json with interesting data.
All in one Tradiing and Market data (Something as Connect API but with Trading API)
With the ability to open and close positions.and gets history data.
Regards...
Replies
mindbreaker
30 Aug 2017, 18:15
RE:
Spotware said:
Hi mindbreaker,
Thanks for your suggestions. Trading API was developed using Google Protocol Buffers protocol for performance reasons, since it is a lighter and faster protocol than JSON. Protocol Buffers is just a protocol and it is not binded to any programming language. Quoting Google below
"Protocol buffers are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data – think XML, but smaller, faster, and simpler. You define how you want your data to be structured once, then you can use special generated source code to easily write and read your structured data to and from a variety of data streams and using a variety of languages."
Google supports Protocol Buffers for many languages like C#, Java, C++, Go, Objective C, Python, JavaNano and Ruby with more languages coming.
Currenlty, we do not have any plans offering Trading API through JSON. On the contrary, the next version of the API might feature a Protocol Buffers Accounts API that will offer significant performance improvements to Accounts API users.
Best Regards,
cTrader Team
Hi :)
It is that google writes nonsense I am still able to understand ;).
But I do not know why reproduce these nonsense.
Thank you for your answer.
@mindbreaker
Spotware
30 Aug 2017, 11:26
Hi mindbreaker,
Thanks for your suggestions. Trading API was developed using Google Protocol Buffers protocol for performance reasons, since it is a lighter and faster protocol than JSON. Protocol Buffers is just a protocol and it is not binded to any programming language. Quoting Google below
"Protocol buffers are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data – think XML, but smaller, faster, and simpler. You define how you want your data to be structured once, then you can use special generated source code to easily write and read your structured data to and from a variety of data streams and using a variety of languages."
Google supports Protocol Buffers for many languages like C#, Java, C++, Go, Objective C, Python, JavaNano and Ruby with more languages coming.
Currenlty, we do not have any plans offering Trading API through JSON. On the contrary, the next version of the API might feature a Protocol Buffers Accounts API that will offer significant performance improvements to Accounts API users.
Best Regards,
cTrader Team
@Spotware