Click here to Login

                                                   Removing freak data from the database


2012-10-05 07:37:16

This morning just after trading began at NSE, some freak trade happened and index (spot) was down nearly 700 points within almost no time, for a while trading was stopped at the exchange and was resumed after some time. The 1 minute data using google server which came during this period was really erroneous and it would be better if we have means to remove. How do we do this in QS?

2012-10-05 10:54:34


Select "Data -> Edit Databases" then "Intraday" next to "choose database".
After you select a symbol, right click on the table to remove one or several rows.
Click on "Save".

2012-10-05 11:09:05


OK, but this is for just one symbol, I have ~900, and would like to remove data from 9:45am till 10:05am. Is it possible to remove these rows in bulk for all the symbols just by one command?

2012-10-05 11:26:48


In "Data -> Edit Databases", select "Manage Databases" tab.
Currently, you can only select dates (no time). Time control will be added in the next release.

Another solution is to use the script editor.

2012-10-05 11:59:38


OK, I never used script editor for such purpose, could you please guide me to do so?

2012-10-05 12:51:21


You must read data using "Quotes.GetIntradayQuotes", update it then save it with "Quotes.SaveIntradayQuotes".
You must have some programming knowledge.

No more messages


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"


Trading Items
Lagged Data From a Custom Database
News data for US companies from Google RSS feed
Market cap, ROE, ROA and Forward PE for U.S. Stocks - Fundamental...
Market Cap Historical Data for the US Stock Market
How far are the close prices from the support line

How-to Lessons
How to quickly download the most recent EOD data for your stocks
How to quickly select stocks based on the last value of a databas...
How to import trading data from CSV files
How to automate the data downloading process
How to download a trading item from the Sharing Server

Related Forum Threads
Deleting Data From The Database
Deleting Quote data for a symbol from the Database
Plotting the data from custom -Intraday data base
Data from database of other account
How to view the raw data files?

Blog Posts
How to filter quotes data from high and low price spikes
Speed Up Optimizations by Saving Ranking Data into a Custom Datab...
Download Trading Data using the Post-Script
Create custom metrics for the statistical data analysis tool
Download Trading Data using the Pre-Script

Create an account
Affiliate Program
Contact Us
Trading Forum
How-to Lessons
About Us
Terms of Use

Copyright 2021
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
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.