We need to have a node.js app debugged. It is a simple issue but we need assistance in locating and solving this specific problem.
The issue is within this file attached.
It happens when the command "Run" is initiated whereby it should run code starting at Line 149 and ending line 618 (other parts of the code are not used in this command and are not relevant)
The error that is received is
UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'Close' of undefined
at D:\TD Ameritrade Api APP\tdbacktesting\server\src\[login to view URL]:43
However, the CloseSPY's [val['spy']].close is indeed defined in the code referenced above
For testing, you will need to install the app on localhost (needs node.js) and the data files referenced in [login to view URL]
We are looking for a good developer to continue working with us on this project, so if you are able to understand this code and complete it, we will have a lot of additional work for you