Skip to content

Commit f461b27

Browse files
committed
fix filled order
1 parent c7a0700 commit f461b27

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class TestQuoteClient {
131131
value symbols = value::array();
132132
symbols[0] = value::string(U("AAPL"));
133133
symbols[1] = value::string(U("JD"));
134-
value result = quote_client->get_timeline(symbols);
134+
value result = quote_client->get_timeline(symbols, false, 1675167178931);
135135
ucout << U("result: ") << result << endl;
136136
}
137137

src/trade_client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ namespace TIGER_API {
262262
if (!seg_type.empty()) {
263263
obj[P_SEG_TYPE] = value::string(seg_type);
264264
}
265-
return post(FILLED_ORDERS, obj)[P_ITEMS];
265+
return post(INACTIVE_ORDERS, obj)[P_ITEMS];
266266
}
267267

268268
value

0 commit comments

Comments
 (0)