Click here to Login

Trading Software Trading objects Features How-to Blog Search


                                                   comp values stored as a separate field in the db

  0

0
suresh
2010-09-06 10:15:21


I would like to automatically populate the database field, I am OK if this has to be achieved by running the update after I download the quotes. I would like to do something as follows:

create a field called "RSIRanking" in QUOTES or CUSTOM db
then populate the value using the function comp(RSI(14), "rank").

Thanks



QuantShare
2010-09-07 09:55:22

  0

It will be possible to do this in the next release. I will show you how after the next version is released.


QuantShare
2010-09-16 05:16:11

  0

Best Answer
You can find the script to perform this at the following link:
http://www.quantshare.com/free/composite_data_into_database.txt

(Tools -> Script Editor)








suresh
2010-09-16 06:41:49

  0

Thanks. This should serve the purpose. I will test it out. A quick question

It appears to me that this will create the composites for all the days, every time I run this script. I want to see if there is any way this can be modified so that I can update on a daily basis the composite field quickly. The first time when I run, it does for the entire historical data and then only for the new data that does not have the field already populated.



QuantShare
2010-09-18 19:00:03

  0

With this script, updating the last value or all the values of a database will take the same amount of time. We will optimize the database insertion so this script can be run faster.

You can also add a script to be executed after a download item completes. To do this, update a download item, click on Settings then select the Script tab.



No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Update the Stock Exchange Associated With U.S. Stocks - Market Fi...
Trading System based on the Linear Regression of the RSI Indicato...
Moving Average Crossovers In the Past Trading Days
Tweet Sentiment Index for the Forex and Stock Market
History of dividend payment for stocks in the US stock market

How-to Lessons
How to quickly select stocks based on the last value of a databas...
How to plot the number of stock tweets per day
How to optimize the number of positions in a trading system
How to automate the data downloading process
How to display the number of notes per stock

Related Forum Threads
Can I predict values in the future
Use of Comp with Full Ranking System
Dialog boxes dont show the complete information
Plotting the data from custom -Intraday data base
Multiple symbols on the same chart

Blog Posts
Download Trading Data using the URL-Script
How to create the advance/decline market breadth indicator
Create a Pivot Table that displays the Relative Strength Index - ...
Buy the best/top rated stocks or how to create powerful rank base...
Download Trading Data using the Post-Script









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 © 2012 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items