How do I install TD Ameritrade API to computer?
2 views (last 30 days)
Show older comments
I don't understand the following code. I downloaded the functions to the Matlab path. I have an API key from TD ameritrade. Nothing works. I was able to set up an API in R for quandl. That seemed more straight-forward. Everything on Youtube is for Python, not Matlab. Thanks for any help.
## Installation
Download this repo and a dependency, and add them to your MATLAB path:
```bash
git clone https://github.com/sg-s/srinivas.gs_mtools/
When I run the following code, I get the following error:
T = TDAmeritrade;
T.set('APIKey','XXXNotForPublicXXX');
The specified superclass 'Unhashable' contains a parse error, cannot be found on MATLAB's search
path, or is shadowed by another file with the same name. .....
3 Comments
Answers (1)
Image Analyst
on 13 Dec 2022
I didn't look at the github but there should be a collection of files, possibly some might go into subfolders. It seems to be looking for a class file called Unhashable.m and that is nowhere to be found in the current folder or anywhere on the search path. Search your file system for it. Do you have it? If not, you need to get it. If you have it, you need to click the "Set Path" button on the Home tab of the tool ribbon and click Add with subfolders to add your projects files to the search path.
0 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!