photo

Paul Shoemaker


MatlabInvesting.com

Last seen: 8 mois il y a Actif depuis 2016

Followers: 0   Following: 0

Message

Engineer and market investor/trader. Website: MatlabInvesting.com: "Leveraging the Power of Matlab to Profit in the Markets" Providing knowledge articles and community on how to use Matlab for investing purposes. I also have a Matlab toolbox that interfaces directly with TD Ameritrade (and by extension, Thinkorswim) to conduct automated trading strategies.

Statistiques

All
  • Thankful Level 2
  • Personal Best Downloads Level 1
  • First Review
  • First Submission
  • Knowledgeable Level 2
  • First Answer
  • Revival Level 1
  • Thankful Level 1
  • Solver

Afficher les badges

Feeds

Afficher par

Réponse apportée
How to find the position of the elements of a matrix?
Check out the ind2sub Matlab function. Paul Shoemaker MatlabInvesting.com

presque 5 ans il y a | 0

| A accepté

Réponse apportée
best option for storing metadata associated to each data file
Hello Lilly, If your data really is time-based then you should consider formatting the data to be a timetable, which have Prope...

presque 5 ans il y a | 1

A soumis


mergeStructs
Helper function to merge separate/disparate data structures

presque 5 ans il y a | 1 téléchargement |

A soumis


createCarbonCopy
Reads the contents of the supplied ASCII file(s) and place in a structure

presque 5 ans il y a | 1 téléchargement |

A soumis


dispinline
prints to the command window, like the built-in disp, but unlike disp, it overwrite previous calls to keep printing on a single ...

presque 5 ans il y a | 1 téléchargement |

Réponse apportée
How to use persistent variables inside parfor method of a custom object class?
Hey folks, I ended up going with Walter's first approach using FOR loop with parfeval within, very close to what I posted above...

environ 5 ans il y a | 0

Réponse apportée
How to use persistent variables inside parfor method of a custom object class?
Thanks for the great info all around here. To clarify on the use case, here's a bit more about what's going on: An authenticat...

environ 5 ans il y a | 0

Question


How to use persistent variables inside parfor method of a custom object class?
There is a similar entry on using persistent variables with spmd/parfor (https://www.mathworks.com/matlabcentral/answers/233648-...

environ 5 ans il y a | 4 réponses | 2

4

réponses

Réponse apportée
Successful webwrite, but empty response/output?
Hey all, Seems like I stumbled into an echo chamber on this topic. I figured out how to get this to work. The solution can be f...

plus de 5 ans il y a | 3

| A accepté

Réponse apportée
Ways to finesse HTTP HeaderField constraints?
Hey folks, I think I may have fixed the issue. The trick seems to be creating a GenericHeader object, which does not validate s...

plus de 5 ans il y a | 5

| A accepté

Question


Ways to finesse HTTP HeaderField constraints?
Hey folks, Webwrite isn't meeting my needs for POSTing data to a RESTful web service, so I decided to go with the lower level m...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


Successful webwrite, but empty response/output?
Hey everyone, I'm using webwrite to POST stock orders to TD Ameritrade using their API. For this to work, I need to define an a...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Changing name of structures
Hello Esteban, I agree that the naming of these structures is unfortunate. You would be better off structuring your data like...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Appending data based on same dates
Hello Lee, You might want to convert these two tables to timetables and then combine them using various functions, such as "s...

environ 6 ans il y a | 0

Réponse apportée
Detecting new .txt file in a folder how can i read all the files through fileread command
Ahmad, Hard to say exactly what the issue is without having more information, but it looks like your "nameslist" variable is ...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
How to convert my Matlab code into an Excel add-in?
Ji Li, I'm not sure about doing an add-in, but have you considered using the Matlab command "xlsread" to read an Excel spread...

plus de 6 ans il y a | 0

Réponse apportée
Read in files with loop
You could wrap it in a FOR loop and employ the "eval" function. lastn=1; clear clc for idx = 200:25:90...

plus de 6 ans il y a | 0

Réponse apportée
Rearrange matrix into single row
reshape(b',1,numel(b)) % Note the transpose ('), this is important. Paul Shoemaker http://www.matlabinvesting.com

plus de 6 ans il y a | 0

| A accepté

A soumis


renameFields
Utility to rename all fields in a structure (or character array) using several different naming conventions.

plus de 6 ans il y a | 1 téléchargement |

A soumis


scan4errors
Scans folders for Matlab files that have MLINT errors and warnings

plus de 6 ans il y a | 1 téléchargement |

A soumis


num2cash
Convert numbers to currency arrays

plus de 6 ans il y a | 1 téléchargement |

A soumis


nnow
Similar to the Matlab built-in "now.m" function, except "nnow.m" returns the time at the New York Stock Exchange (NYSE)

plus de 6 ans il y a | 1 téléchargement |

Réponse apportée
Is it possible to run terminal commands from matlab ??
Have you looked at the "system" and "dos" functions in Matlab? It sounds like they might do what you need. Paul Shoemaker ...

plus de 6 ans il y a | 0

Réponse apportée
Speed performance: Find all y-vector entries that have the same value in an x-vector of equal length.
If you're trying to avoid a FOR loop you can use arrayfun, although I'm not sure it improves speed. It would look something l...

plus de 6 ans il y a | 0

Réponse apportée
How to open multiple folders for processing?
Hema, Since you don't provide more concrete details about your specific circumstances (code, examples, purpose, etc), I will ...

plus de 6 ans il y a | 0

Réponse apportée
How can I open GUI in matlab 2014a?
This appears to be a Java problem and may indicate a Java Runtime Environment (JRE) version or installation problem, or maybe an...

plus de 6 ans il y a | 0

Réponse apportée
how to detect circle using hough transform for color image?
Have you searched the Matlab File Exchange? <https://www.mathworks.com/matlabcentral/fileexchange/34365-circle-finder This one> ...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Plotting a function with a given range of values.
X is a vector in this case, so you have to alert Matlab to treat it on a per-element basis with the use of "." before division/m...

plus de 6 ans il y a | 0

Réponse apportée
How to access all subdirectorie?
Newer version of Matlab allow dir to operate recursively. Simply modify your original dir call like so: files = dir(['M:' f...

plus de 6 ans il y a | 1

Réponse apportée
import only selected row in file data
There are countless options for doing this and your problem appears to be fairly general purpose. Take a look at <https://www.ma...

plus de 6 ans il y a | 0

Charger plus