You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`DCAContext` — dollar-cost-averaging plan management (list/create/update/pause/resume/stop/history/stats/check-support/calc-date/set-reminder).
18
+
-`SharelistContext` — community sharelist management (list/detail/popular/create/delete/add-securities/remove-securities/sort-securities).
19
+
-**All languages:**`QuoteContext` gains `short_positions`, `option_volume`, `option_volume_daily`, and `update_pinned`.
20
+
-**All languages:**`ContentContext` gains `topic_detail`, `list_topic_replies`, and `create_topic_reply`.
21
+
-**Rust:**`Config::header(key, value)` builder method for injecting custom HTTP/WebSocket headers.
22
+
-**All languages (Rust, Python, Node.js, Java, C, C++):** Restore `Config::refresh_access_token` (and `refresh_access_token_blocking` in Rust). Refreshes the access token via the Longbridge token-refresh API. Only available with **Legacy API Key** authentication (`Config::from_apikey`); not supported in OAuth 2.0 mode.
23
+
24
+
## Changed
25
+
26
+
-**All languages:** Method parameters now use typed enums instead of raw integers: `DCAFrequency`, `DCAStatus`, `AlertCondition`, `AlertFrequency`, `CalendarCategory`, `FinancialReportKind`, `FinancialReportPeriod`, `BrokerHoldingPeriod`, `AhPremiumPeriod`.
27
+
-**All languages:** Response struct fields are typed enums where applicable: `DcaPlan.status` / `invest_frequency` / `market`, `MarketTimeItem.market`, `FlowItem.direction`, `ProfitSummaryInfo.asset_type`, `InstitutionRatingSummary.recommend`.
28
+
-**All languages:** All SDK responses are fully typed structs — no method returns a raw JSON string.
29
+
-**All languages:** Monetary/numeric fields use `Decimal`/`Option<Decimal>` (Rust) or `BigDecimal` (Java). Non-parseable values such as `""` or `"--"` deserialize as `None`/`null`.
30
+
31
+
## Fixed
32
+
33
+
-**Rust:** Fix incorrect cache expiry checks in `QuoteContext`.
34
+
35
+
# [4.0.6]
36
+
37
+
## Added
38
+
39
+
-**All bindings:**`ContentContext` adds two new methods (Rust, Go, C, C++, Java, Python, Node.js):
40
+
-`my_topics(opts)` — get topics created by the current authenticated user, with optional page/size/topic_type filtering.
41
+
-`create_topic(opts)` — create a new topic; returns the topic ID (`String`) on success.
42
+
-**All bindings:** New types `OwnedTopic`, `MyTopicsOptions`, and `CreateTopicOptions` to support the above methods.
43
+
-**Python:** Added type stubs (`openapi.pyi`) for `ContentContext`, `AsyncContentContext`, `OwnedTopic`, `TopicReply`, `TopicAuthor`, and `TopicImage`.
44
+
45
+
## Fixed
46
+
47
+
-**C++:**`create_topic` callback now correctly yields `std::string` (topic ID) instead of `OwnedTopic`.
|`DCAContext`| Dollar-cost averaging plan management |
41
+
|`SharelistContext`| Community sharelist management |
42
+
26
43
## Quickstart
27
44
28
45
Pick a language SDK from the table above and follow its README for install and first request. Full reference docs: https://longbridge.github.io/openapi
0 commit comments