UNPKG

@i077/tda-api-nodejs-unofficial

Version:

TD Ameritrade API node.js wrapper for front-end integration

14 lines (9 loc) 376 B
import getMovers from './getMovers'; export default ({ authentication, config }) => { const { getAccessToken } = authentication; const get = (params) => { return getMovers({ ...params, getAccessToken, ...config }); }; const unAuthGet = (params) => getMovers({ ...params, ...config }); return { getMovers: get, unauthenticated: { getMovers: unAuthGet } }; };