Skip to content

Commit ae90d85

Browse files
userFRMclaude
andauthored
chore(cpp): remove dead TdxSnapshotTradeTick struct (#227) (#232)
No typed array type, no free function, already removed from the Go SDK. Removes the struct from thetadx.h, the C++ alias from thetadx.hpp, and the README table row. Fixes #227 Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 16297fc commit ae90d85

3 files changed

Lines changed: 0 additions & 14 deletions

File tree

sdks/cpp/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,6 @@ All endpoints return fully typed C++ structs. No raw JSON.
254254
| `IvTick` | ms_of_day, implied_volatility, iv_error, date, **expiration, strike, right** | IV-only endpoints |
255255
| `PriceTick` | ms_of_day, price, date | Index price endpoints |
256256
| `MarketValueTick` | ms_of_day, market_cap, shares_outstanding, enterprise_value, book_value, free_float, date, **expiration, strike, right** | Market value endpoints |
257-
| `SnapshotTradeTick` | ms_of_day, sequence, size, condition, price, date, **expiration, strike, right** | Snapshot trade endpoints |
258257
| `OptionContract` | root, expiration, strike, right | option_list_contracts |
259258
| `CalendarDay` | date, is_open, open_time, close_time, status | Calendar endpoints |
260259
| `InterestRateTick` | ms_of_day, rate, date | Interest rate endpoints |

sdks/cpp/include/thetadx.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -193,18 +193,6 @@ TDX_ALIGN64_BEGIN typedef struct {
193193
double midpoint;
194194
} TdxQuoteTick TDX_ALIGN64_END;
195195

196-
TDX_ALIGN64_BEGIN typedef struct {
197-
int32_t ms_of_day;
198-
int32_t sequence;
199-
int32_t size;
200-
int32_t condition;
201-
double price;
202-
int32_t date;
203-
int32_t expiration;
204-
double strike;
205-
int32_t right;
206-
} TdxSnapshotTradeTick TDX_ALIGN64_END;
207-
208196
TDX_ALIGN64_BEGIN typedef struct {
209197
int32_t ms_of_day;
210198
int32_t sequence;

sdks/cpp/include/thetadx.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ using OpenInterestTick = TdxOpenInterestTick;
3838
using MarketValueTick = TdxMarketValueTick;
3939
using CalendarDay = TdxCalendarDay;
4040
using InterestRateTick = TdxInterestRateTick;
41-
using SnapshotTradeTick = TdxSnapshotTradeTick;
4241
using TradeQuoteTick = TdxTradeQuoteTick;
4342
// OptionContract uses std::string for root to avoid use-after-free.
4443
// The C FFI TdxOptionContract uses a raw char* that is freed with the array,

0 commit comments

Comments
 (0)