Click here to Login





                                                   Data Interpolation c# Script

  0

0
dan
2015-01-04 16:56:56


Can anyone help me to write a c# script in the Tools -> script editor that interpolates data into weekends and holidays for a symbol.
Ex:
If the price closes at $100 on Friday and at $103 on Monday, prices for Saturday and Sunday would be $101 and $102 respectively.
If $100.04 is the closing price on Thursday and $100 on Monday, $100.03 $100.02 $100.01 would be for Friday, Saturday and Sunday respectively.

My database in question already have continuous dates only that the values for Saturday, Sunday and holidays are zero or N/A.



QuantShare
2015-01-05 03:34:09

  0

Hi Dan,

In case you want one of our programmers to implement this script for you, please send us an email at support [at] quantshare [dot] com for a quote.



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
EOD NSE stock quotes data
Metatrader Historical Data Downloader
Identify Spilts Screener Script
Daily Stock Quotes - Stock Market EOD Data
Historical Stock Quotes Data for more than 50 Exchanges

How-to Lessons
How to download historical EOD data for penny stocks
How to quickly download the most recent EOD data for your stocks
How to download and use U.S. stocks earnings data
How to export trading data to a CSV file
How to get stocks for a particular index using the global script

Related Forum Threads
Adding data to database through script
Help With Daily Data Import Script
Clear Symbol data stored in memory in global script
Name1 or Name3 data reference MM script
Storing a series of custom data globally.

Blog Posts
Create custom metrics for the statistical data analysis tool
Reading and Exporting Data from QuantShare to Excel Programmatica...
How to Automatically Import Local Data Into QuantShare
How to Download Trading Data for Certain Securities Only
Step by step on how to get free realtime/delayed data for stocks,...









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.