Skip to content

Commit

Permalink
Merge branch 'master' into add-market-metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerfloyd authored Dec 2, 2019
2 parents 9adc923 + 4090675 commit 367d6cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const credentials = {
password: 'password'
};

TastyWorks.setAccount(credentials);
TastyWorks.setUser(credentials);
console.log(TastyWorks.getUser());
```

Expand Down
2 changes: 1 addition & 1 deletion util/endpoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {
executeOrder: (account_id) => `${baseURL}/accounts/${account_id}/orders`,
cancelOrder: (account_id, order_id) => `${baseURL}/accounts/${account_id}/orders/${order_id}`,
streamer: () => `${baseURL}/quote-streamer-tokens`,
optionChain: (ticker) => `${baseURL}/option-chains/${ticker}/nested`,
optionChain: (ticker) => `${baseURL}/option-chains/${ticker}/nested`,
history: (account_id) => `${baseURL}/accounts/${account_id}/transactions`,
marketMetrics: (account_id, tickers) => `${baseURL}/market-metrics?symbols=${tickers}`
// TODO: '{url}/dry-run'
Expand Down

0 comments on commit 367d6cf

Please sign in to comment.