File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -328,15 +328,15 @@ class TestTigerApi {
328328 static void test_get_positions (std::shared_ptr<TigerClient> tigerapi) {
329329 value obj = value::object (true );
330330 obj[U (" market" )] = value::string (U (" US" ));
331- obj[P_ACCOUNT] = value::string (U (" 402901 " ));
331+ obj[P_ACCOUNT] = value::string (U (" 1111 " ));
332332 tigerapi->post (POSITIONS, obj);
333333 }
334334};
335335
336336int main ()
337337{
338338 /* ************************* set config **********************/
339- ClientConfig config = ClientConfig (true );
339+ ClientConfig config = ClientConfig ();
340340
341341 config.private_key = U (" " );
342342 config.tiger_id = U (" " );
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ namespace TIGER_API {
4646 obj[P_ACCOUNT] = get_account_param (account);
4747 obj[U (" segment" )] = segment;
4848 obj[U (" market_value" )] = market_value;
49- return post (PRIME_ASSETS , obj);
49+ return post (ASSETS , obj);
5050 }
5151
5252 value TradeClient::get_account_param (const utility::string_t &account) {
You can’t perform that action at this time.
0 commit comments