NexusFi: Find Your Edge


Home Menu

 





Stocks Data base


Discussion in Platforms and Indicators

Updated
      Top Posters
    1. looks_one Amiuser with 10 posts (10 thanks)
    2. looks_two timmymagic07 with 6 posts (0 thanks)
    3. looks_3 StockJock with 2 posts (0 thanks)
    4. looks_4 TonyB with 2 posts (0 thanks)
    1. trending_up 18,258 views
    2. thumb_up 10 thanks given
    3. group 9 followers
    1. forum 23 posts
    2. attach_file 0 attachments




 
Search this Thread

Stocks Data base

  #21 (permalink)
StockJock
Chicago + Illinois/USA
 
Posts: 256 since Aug 2010
Thanks Given: 15
Thanks Received: 154


Amiuser View Post
You can keep those lists up to date very easily by yourself as you mentioned that you were a programmer. Here is an example Amibroker - import Finviz stock lists of how it could be done via AFL and using finviz The new app looks like this with one added option Urlget can be downloaded from AB website Location of the extracted zip files is Amibroker directory.

Is this utility available for Big Mike's Elite members?

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
Better Renko Gaps
The Elite Circle
Cheap historycal L1 data for stocks
Stocks and ETFs
Trade idea based off three indicators.
Traders Hideout
How to apply profiles
Traders Hideout
 
  #22 (permalink)
mansis
Albuquerque NM
 
Posts: 1 since Aug 2012
Thanks Given: 0
Thanks Received: 0

Hi,
I am very new to Amibroker. After downloading the zip file I tried to istall it used tools/customized/tools entered Finviz as new tool, then added C:\Program Files\AmiBroker\URLGet.zip in command line and also in initial directory. It gave me "you have to define url and local file name in program arguments". also tried with exe file with C:\Program Files\AmiBroker\URLGet.exe as command and C:\Program Files\AmiBroker as initial directory but the same result. Please let me know what I'm doing wrong.

Reply With Quote
  #23 (permalink)
StockJock
Chicago + Illinois/USA
 
Posts: 256 since Aug 2010
Thanks Given: 15
Thanks Received: 154


Why doesn't AmiBroker already have this code built into it or does anyone need these categories for trading? Maybe the AmiBroker programmers don't think it's needed and pointless to pursue it.

=========================================


Amiuser View Post
You can keep those lists up to date very easily by yourself as you mentioned that you were a programmer.
Here is an example Amibroker - import Finviz stock lists of how it could be done via AFL and using finviz Free Stock Screener
The new app looks like this with one added option
Then the AFL removes the quotations (button 2 of my AFL).

Before creating a data base containing symbols with sector and industry info you would need to create one custom broker.sectors and one custom broker.industries files according to Finviz' Morningstar Industry Classification (backup the old broker files before).

The content of the finviz broker.sectors file looks like this (Undefined Sectors is an addition by me for symbols that have no sector/industry assignment (that was a tip by Market Monk, thanks btw) ):

Undefined Sector
Basic Materials
Conglomerates
Consumer Goods
Financial
Healthcare
Industrial Goods
Services
Technology
Utilities

the same one as a picture and with additional info

So this is pretty short and simple

The broker.industries file is larger. One click of the third button of my AFL and it gets formated using the finviz raw file seen above.

The formated broker.industries file looks as follows (needs to be in place before new database creation) :


This is a snippet of the formated symbols list (button 4 of my AFL)


The last thing you need is the format file to import the symbols of the symbols list (format file saved as i.e. finviz_NYSE.format or just finviz.format to the Formats folder of AB. Format is the file extension):
 
Code
$FORMAT TICKER,FULLNAME,Skip,INDUSTRY,Skip,Skip,Skip 
$SKIPLINES 1 
$BREAKONERR 1 
$AUTOADD 1 
$NOQUOTES 1 
$MARKET 0 
$OVERWRITE 1 
$SEPARATOR |
the same one as picture


the same AFL (of the video) can be used for any provided symbols list like the ones downloaded from here
NYSE Companies - [AUTOLINK]NASDAQ[/AUTOLINK].com

If you don't need sectors and industries assignments at all then it's even much more simpler to import own/external lists of symbols


Reply With Quote
  #24 (permalink)
Bullbutcher
Prague
 
Posts: 5 since Sep 2014
Thanks Given: 0
Thanks Received: 4

Good stuff mate. Where I can download this AFL file mate ?

Amiuser View Post
the same AFL (of the video) can be used for any provided symbols list like the ones downloaded from here


Reply With Quote




Last Updated on November 7, 2014


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts