Skip to content

Commit

Permalink
Added second bot
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake0303 committed Oct 1, 2020
1 parent 2582943 commit 3b86263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ tradingclient.on('message', function (message) {
var accountId = body[0]['securitiesAccount']['accountId'];
//Get last order
var placeorder_req = {
url: 'https://api.tdameritrade.com/v1/orders?accountId='+accountId+'&maxResults=1',
url: 'https://api.tdameritrade.com/v1/orders?accountId='+accountId+'&maxResults=1&status=WORKING',
method: 'GET',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
Expand Down

0 comments on commit 3b86263

Please sign in to comment.