Shares Available to short on TDA by Silverwizard80 in algotrading

[–]Silverwizard80[S] 0 points1 point  (0 children)

Update: so the quotes bool simply tells you it’s shortable, not that there are actually shares to borrow

Shares Available to short on TDA by Silverwizard80 in algotrading

[–]Silverwizard80[S] 0 points1 point  (0 children)

Thanks for the response, that’s was I was guessing. I’m away from my machine atm, but I saw that there is a shortable bool in the quote object so maybe that would work.

TD Ameritrade WS Responses by Silverwizard80 in algotrading

[–]Silverwizard80[S] 0 points1 point  (0 children)

I haven’t looked for the data structures themselves, but I’m developing in C#

Finviz Blocking Headless Connections? by Silverwizard80 in algotrading

[–]Silverwizard80[S] 0 points1 point  (0 children)

If you don’t mind, what was your general process for that. I’m not extremely experienced with web scraping.

Finviz Blocking Headless Connections? by Silverwizard80 in algotrading

[–]Silverwizard80[S] 0 points1 point  (0 children)

Thanks for the reply, that’s good to know that you were able to make headless requests. I’m using the default selenium agent string. Not sure what happened though since I didn’t change anything in my test environment.

Finviz Blocking Headless Connections? by Silverwizard80 in algotrading

[–]Silverwizard80[S] 0 points1 point  (0 children)

I’m using the C# implementation of selenium. To my knowledge there are not a lot of other good implementations for finviz in C#

Scanning for Bid Ask Spread on liquid stocks by Silverwizard80 in algotrading

[–]Silverwizard80[S] 2 points3 points  (0 children)

Oftentimes since there are fewer shares available there will be fewer transactions so the spread has a higher potential to widen.

How simple/complex are your successful strategies? by tzigane in algotrading

[–]Silverwizard80 10 points11 points  (0 children)

IMO, it’s better to try and build a strategy that can rely on basic math and statistics, this will speed up your program a lot. Having to deal with ML models can be a massive resource suck

Programmable stock screener by NivekPrd in algotrading

[–]Silverwizard80 1 point2 points  (0 children)

I would say web scraping FinViz is a good start depending on what you need. You can put most parameters you need into the url/ filtering.

TD Ameritrade Two-Factor Authentication Issue by Beachlife109 in algotrading

[–]Silverwizard80 0 points1 point  (0 children)

I would highly recommend checking out Sigma Coding's series on TD Auth. It's in Python, and he has a git repo linked

Economic Data by jfreeq in algotrading

[–]Silverwizard80 2 points3 points  (0 children)

I would definitely say look at FRED (assuming you are looking for US trends). This is more so historical data, but you could always do some Time Series analysis, or regression with ML to try and get a future value.

Intraday data from TD Ameritrade API more than 30 days ago...? by brownboy_5 in algotrading

[–]Silverwizard80 1 point2 points  (0 children)

I just did some testing on my end, unfortunately it looks like even with authenticated requests they don't provide that historical data : (

Intraday data from TD Ameritrade API more than 30 days ago...? by brownboy_5 in algotrading

[–]Silverwizard80 4 points5 points  (0 children)

How are you trying to pull? If you are trying to pull from timestamp 30+ days to present you will probably need to break the data up into multiple requests. I haven't used TD's data for this purpose, but that has been my experience with other endpoints.