Jump to content

We have moved to Discord. Please click here to join us in the Trading Terminal Discord server.



These forums are read-only.

Alastair

Enhanced Finviz Fundamental Data HotKey/Button

Recommended Posts

Paul aka Aurbano

Actually I used Chromiun under Kubuntu Linux hahahaa so 100% compatible with any Chromium web-based browser for sure! ... thanks for the answer and happy you found it useful 🙂

Edited by Paul aka Aurbano
mistake spelling

Share this post


Link to post
Share on other sites
Alastair

@Paul aka Aurbano  The text is popping pretty pretty on screen, much much easier to find and read the values quickly. Thank you.

 

My OCD personality is trying solve 3 things on screen grab below :

 

1. Hide the Address bar ..... for more visual space

2. Hide the horizontal scroll bar...... for more visual space

3. On page load, scroll down, then horizontal using X, Y, coordinates so I can tweak it manually by editing the code,  as different monitors will size windows uniquely.  Notice the location of scroll bars and it is losing a row. 

 

Any JS code or CSS function that does these 3 things easily ?

 

 

762720592_Screenshot2021-02-14134419Scannerscreen.thumb.png.4096d503408530801a1b1e26f1731488.png

Share this post


Link to post
Share on other sites
Alastair

Ok Folks,   "Enhanced Finviz Fundamentals HotKey/Buttons" project is now complete See image below.  Tested it today in my workflow and it ran well, helped speed up stock selection evaluation and the overall process.  Useful for persons without DAS feed or TI data.

This would not have been possible without the sterling contributions of @KyleK29 and @Paul aka Aurbano.                I want to say a very very very         BIG THANK YOU to both of these BBT members who endured my harassment. 😌

Pls use the thread as a learning tool to develop your own versions, and share and improve on it if you can.

On to the next Traders Tech Tool......look out for the thread.

Comment Questions Feedback welcome.

 

 

Screenshot 2021-02-15 172343 Final Scanner Screen Layout.png

Share this post


Link to post
Share on other sites
Paul aka Aurbano

@Alastair ... out of pure curiosity and some free time I just coded this small python script that will allow you to rapidly check all the tickers you want from FINVIZ using web scraping technology ...

You will get from FinViz all the information you highlighted as important in a nice table sorted out by ticker 😉

You only have to install python3 in your machine (from: https://www.python.org/downloads/ ) and install 2 libraries using this 2 commands:

pip install pandas
pip install requests

I guess that you will have to deal with the $PATH variable to make python accessible everywhere.

On the folder where you store the script you only have to type :

python finviz.py

and then type the tickers you need to explore...... getting something like this :

20210218-211201.jpg.05d30661f04fdae1619c15b2ccba0d27.jpg

As I cannot upload the .py file itself, I will rename the extension to TXT .... do not forget to rename the file after download my friend. You will find the whole script attached to this post....

Hope it is interesting for you ! Enjoy !

Paul

 

 

finviz.txt

Edited by Paul aka Aurbano
python script header update
  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites
Alastair

Wow man, this is cool.  Will definitely take a look at it, see how to incorporate into workflow.

Many thks

 

  • Haha 1

Share this post


Link to post
Share on other sites
Alastair

I will be able to use this tool to fine tune which stocks I prioritize in my watchlist based on the data fields. An easy visual scan/comparison. Now thats cool.

Hotbutton setup. and will run it in my workflow on Monday. Again thks.

  • Like 1

Share this post


Link to post
Share on other sites
Justin
On 2/18/2021 at 6:08 PM, Paul aka Aurbano said:

out of pure curiosity and some free time I just coded this small python script that will allow you to rapidly check all the tickers you want from FINVIZ using web scraping technology ...

Thanks for doing this @Paul aka Aurbano! I always hated opening Finviz and having to find the relevant data and scroll for the news.

I hope you don't mind, but I combined the two python scripts you made to bring the technical data and news into one script. I removed the code that asked for the ticker after you launched the python and went with your decision to just put it in the cmd line when you execute.

Tied it to a hotkey:

shell Finviz.bat %SYMB%;

And then the contents of the BAT file are adapted a bit from what Kyle outlined:

@ECHO OFF 
TITLE Finviz
set symb=%1
python "C:\DAS Trader Pro\finviz.py" %symb%
PAUSE

Pressing the hotkey then instantly opens the information in the Command Prompt:

image.thumb.png.5903078a0db8cff7b8773fb176906ca1.png

finviz.txt

  • Like 2

Share this post


Link to post
Share on other sites
Paul aka Aurbano

not bad at all @Justin ! i think that you tailored the scrpts quite well for your needs and I am happy to see that the tool is out there in production hehehe Feel free to update add or modify ! will post the code to github next week and any modification can be documented 😉

 

Share this post


Link to post
Share on other sites
Alastair
On 2/14/2021 at 9:14 AM, Paul aka Aurbano said:

HOWEVER ... I coded a small script in other scripting language for you that will solve your needs using other technology. You will need 2 steps :

a ) Install in your browers a new add-on called Custom JavaScript (I tested all this using chrome)

LINK : https://chrome.google.com/webstore/detail/custom-javascript-for-web/poakhlngfciodnhlhhgnaaelnpjljija

b) You need to copy the following script into the add-on for it to use it on any given Finviz URL:

highlights = ["Inst Own", "Shs Float", "Short Float", "Rel Volume",
    "Avg Volume", "Volume", "ATR", "Price"];
hl_color = "Yellow";
highlights.forEach(function(hl) {
    $("td:contains('"+hl+"')").css('color', hl_color).css('font-weight','800');
});

See screenshot attached too ! ... you will get a nice Yellow and Bold highlight on the strings you asked.

@Paul aka Aurbano  

Quick question.....Chrome seems to have kicked the CJS extension out the Chrome store so it stopped working and the yellow bold highlights do not show anymore.

I was trying other extensions in store but have not been successful.  Can u recommend any other working JS injection extension that works for the JS  code?  Would really appreciate.

 

 

Share this post


Link to post
Share on other sites
Paul aka Aurbano

not really into chrome anymore .... moving out of Google ecosystem from earlier last year and a hard firefox prosumer hehe 🙂 maybe the Chromium project (same web renderer but opensource) might work with the extension longer @Alastair

Share this post


Link to post
Share on other sites
Alastair
On 5/26/2021 at 1:41 PM, Paul aka Aurbano said:

not really into chrome anymore .... moving out of Google ecosystem from earlier last year and a hard firefox prosumer hehe 🙂 maybe the Chromium project (same web renderer but opensource) might work with the extension longer @Alastair

Ok cool, but its the same problem is in FireFox ?  I assume with Java u write once and it runs everywhere. It was working fine until a few days ago.

I was trying this JS injector type extension:

https://addons.mozilla.org/en-US/firefox/addon/custom-style-script/?utm_source=addons.mozilla.org&utm_medium=referral&utm_content=search 

In firefox,  chrome and Opera  the original extension (i.e CJS) and  the JS code stopped working.   So have tried  the code in other extensions but it did not work. 

Any adjustments to the code to make it work in new extensions ?

 

 

 

 

 

Share this post


Link to post
Share on other sites
Paul aka Aurbano

i think that all major browsers developers got into the same idea of limiting how external scripts can modify content or make extra actions into any website... As a matter of fact, that is a huge vulnerability and easy way to do really "bad things" if you know that I mean .... if so, probably no extension will execute the JS script we managed to write in javascript.

More over, CSS language does not fully support "string selection" but there are some works arounds with tons of limitations. Best way to get the info is use a console script as I already proposed ... give that code a try and let me know how it works ...

Share this post


Link to post
Share on other sites

[[Template core/front/global/mobileNavigation is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.