Click here to Login





How to quickly select stocks based on the last value of a database field

Updated on 2011-02-15 04:43:38

Share |

For numeric database fields, you can instruct the application to take a snapshot each time the database is updated. This means that each time a new data is stored in the database; the application will get the last value of each stock/symbol and saves it in another internal (small) database. This allows you to quickly select symbols based on the last database field value.

Instructions:
- Select "Data" then "Edit Databases".
- Select "Custom", choose one database then select any symbol.
- In the "Field Info" panel, check "Save last numbers" and set the descriptive name of your field. After that, click on "Save".

Result:
- In the "Symbols Selection" control, click on "Add a condition", then select your previously updated database.
- Click on the cell under the "Values" column and select your item (Snapshot item).
- You can now select the maximum and minimum values of this field. Only symbols that meet these criteria will be selected.
- Under the field name, you can see the distribution graph of values for all symbols.

Tips:
You can directly select the minimum value by clicking on the on the upper side of the graph and the maximum value by clicking on the lower side of the distribution graph.

Useful Info:
You can manually create databases and inserts data using the CSV Imported or the Scripting tool. Alternatively, you can get ready to use downloaders that automatically create custom databases. Example: Individual Stocks Put and Call Volume.










no reviews (Log in)







Other how-to articles




How to quickly download the most recent EOD data for your stocks





How to display the number of stocks per day for different RSI groups





How to create a volatility-based Stop - Dynamic stop based on the Average True Range





How to get fundamental data for U.S. Stocks





How to plot the ratio of two stocks





How to screen for stocks having a high correlation with the Dow Jones index





How to plot the number of stock tweets per day





How to get stocks for a particular index using the global script





How to display two stocks on the same chart







QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.