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
Currency Pairs Calendar Data
Equity Data to Ticker Symbol
Identify Spilts Screener Script
Euronext Paris - Realtime Share Prices Data
Historical EOD data for LSE-listed Stocks and ETFs

How-to Lessons
How to speed up watchlist and screener plug-ins when working with...
How to download and use U.S. stocks earnings data
How to import trading data from CSV files
How to create trading rules based on Put and Call volume data
How to display Forex economic calendar data in a chart

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
Adv. Money Management & Intraday data

Blog Posts
Create custom metrics for the statistical data analysis tool
Speed Up Optimizations by Saving Ranking Data into a Custom Datab...
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









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.