Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Добавить API на основе JSON / Add JSON API implementation. #14

Open
Enfernuz opened this issue Apr 15, 2018 · 0 comments
Assignees

Comments

@Enfernuz
Copy link
Owner

Enfernuz commented Apr 15, 2018

Реализация обмена информацией на основе бинарного протокола Protocol Buffers имеет преимущество в производительности, но в то же время несколько усложняет реализацию клиентов, а для тех ЯП, где реализации protobuf пока нет, дела совсем плохи.
Внедрение API на основе JSON позволит найти компромисс между производительностью и простотой написания клиентской части.


The binary Protocol Buffers protocol has an advantage of being an efficient serialization/deserialization tool but this efficiency comes at a price: not many programming languages have a protobuf binding (and for those ones which do, the bindings often lack quality and/or aren't in active development).
An API implementation based on JSON could offer a tradeoff between the efficiency of the serialization/deserialization process and the ease of the client-side development.

Enfernuz added a commit that referenced this issue May 14, 2018
Enfernuz added a commit that referenced this issue May 14, 2018
@Enfernuz Enfernuz self-assigned this May 14, 2018
Enfernuz added a commit that referenced this issue May 17, 2018
Enfernuz added a commit that referenced this issue May 17, 2018
Enfernuz added a commit that referenced this issue May 19, 2018
Enfernuz added a commit that referenced this issue May 19, 2018
Reimplemented calls to the following functions:
sleep, getWorkingFolder, PrintDbgStr, getOrderByNumber, getNumberOf, SearchItems.
Enfernuz added a commit that referenced this issue May 22, 2018
Enfernuz added a commit that referenced this issue May 24, 2018
Reimplemented calls to the following functions:
getClassesList, getClassInfo, getClassSecurities, getMoney, getMoneyEx, getDepo, getDepoEx.
Enfernuz added a commit that referenced this issue May 24, 2018
Reimplemented calls to the following functions:
getFuturesLimit, getFuturesHolding, getSecurityInfo, getTradeDate, getQuoteLevel2.
Enfernuz added a commit that referenced this issue May 26, 2018
Reimplemented calls to the following functions:
getLinesCount, getNumCandles, getCandlesByIndex, datasource.CreateDataSource, datasource.SetUpdateCallback.
Enfernuz added a commit that referenced this issue May 26, 2018
Reimplemented calls to the following functions:
datasource.O, datasource.H, datasource.L, datasource.C, datasource.V, datasource.T, datasource.Size, datasource.Close, datasource.SetEmptyCallback, sendTransaction.
Enfernuz added a commit that referenced this issue May 26, 2018
Reimplemented calls to the following functions:
CalcBuySell, getParamEx, getParamEx2.
Enfernuz added a commit that referenced this issue May 26, 2018
Reimplemented calls to the following functions:
getPortfolioInfo, getPortfolioInfoEx.
Enfernuz added a commit that referenced this issue May 26, 2018
Reimplemented calls to the following functions:
getBuySellInfo, getBuySellInfoEx.
Enfernuz added a commit that referenced this issue May 27, 2018
Enfernuz added a commit that referenced this issue May 27, 2018
Reimplemented calls to the following functions:
AddColumn, AllocTable, Clear, CreateWindow, DeleteRow.
Enfernuz added a commit that referenced this issue May 28, 2018
Reimplemented calls to the following functions:
DestroyTable, InsertRow, IsWindowClosed, GetCell, GetTableSize, GetWindowCaption, GetWindowRect, SetCell, SetWindowCaption,SetWindowPos, SetTableNotificationCallback, RGB, SetColor, Highlight, SetSelectedRow.
Enfernuz added a commit that referenced this issue May 28, 2018
Reimplemented calls to the following functions:
AddLabel, DelLabel, DelAllLabels, GetLabelParams, SetLabelParams.
Enfernuz added a commit that referenced this issue May 29, 2018
Reimplemented calls to the following functions:
Subscribe_Level_II_Quotes, Unsubscribe_Level_II_Quotes, IsSubscribed_Level_II_Quotes, ParamRequest, CancelParamRequest.
Enfernuz added a commit that referenced this issue May 29, 2018
Reimplemented calls to the following functions:
bit.tohex, bit.bnot, bit.band, bit.bor, bit.bxor.
Enfernuz added a commit that referenced this issue May 31, 2018
Made better use of Lua "polymorphism" in the request-response serde facility;
Fixed some code errors.
Enfernuz added a commit that referenced this issue Jun 1, 2018
Working on event publishing.
Enfernuz added a commit that referenced this issue Jun 1, 2018
Working on event publishing.
@Enfernuz Enfernuz changed the title Добавить API на основе JSON-RPC / Add JSON-RPC API implementation. Добавить API на основе JSON / Add JSON API implementation. Feb 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant