Topics
Replies
ctid402288
09 Jan 2023, 10:48
( Updated at: 21 Dec 2023, 09:23 )
PanagiotisChar said:
Hi there,
The client ID is taken from your Open API application
Can you provide us with the exact uri you are using for your request?
Need help? Join us on Telegram
Need premium support? Trade with us
@ctid402288
ctid402288
31 Jul 2022, 20:43
( Updated at: 31 Jul 2022, 20:53 )
I have to agree with JeanPaul on this topic. JeanPaul has not listed a comprehensive list of all the issues with the openapi. A sample should compile and reflect the actual working of the API. More importantly, the documentation should reflect the functions [or methods] used in the sample. All aspect of the sample should be transferable to other SDKs in the CTrader OpenAPI suite.
Take this line of code for example : -[WPF Sample] Pips = Symbol.Data.GetPipsFromPrice(Symbol.Bid - Price); This refers to the following "public ProtoOASymbol Data { get; init; }" in the SymbolModel class. The documentation for ProtoOASymbol does not show any functions associated with it. One can therefore assume that all classes in the documentation have some undocumented methods inherently in them. Admittedly, l am writing in Python and the OpenAPIPy documentation do not have the aforementioned information. As using this OpenAPI involves risking money, it is problematic for one to be losing money due to poor understanding of the OpenAPI. You should make an effort to improve the documentation and samples to better support developers and prevent unnecessary loss of money that may result from the documentation as it stands at the moment.
@ctid402288
ctid402288
09 Jan 2023, 10:48 ( Updated at: 21 Dec 2023, 09:23 )
PanagiotisChar said:
@ctid402288