Click here to Login





                                                   Historical bid/ask prices in simulations

  0

0
Torsten
2016-02-25 03:15:57


Hi all,

I would like to perform forex simulations with historical bid/ask prices and I'm struggeling how to implement it in QS.

I have two time series:
EURUSD_bid
EURUSD_ask

The simulation itself would run on the bid time series. Hence I have to ensure, that all Buy and Cover actions are linked to the correct price of the ask time series.

In other tools I would use the foreign function : BuyPrice = CoverPrice = Foreign("EURUSD_ask", "O");
Is there a similiar simple way to do this in QS?

Thanks in advance for your help!

Best regards,
Torsten



QuantShare
2016-02-26 03:44:35

  0

Hi Torsten,

limit = GetSeries("EURUSD_ask", close);
BuyPrice(limit, 1);



Torsten
2016-03-05 04:55:27

  0

Hi QS,

I'm using the AMM for the further implemention of the system. Bid and Ask prices are working.

Thanks for your support!
Torsten




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
National Commodity & Derivatives Exchange - NCDEX India - His...
Historical Share Prices - Deutsche Börse XETRA
IMF Commodity Prices
Historical EOD data for LSE-listed Stocks and ETFs
GDP at Market Prices - Gross Domestic Product - Euro Zone

How-to Lessons
How to download historical quotes of indices
How to download historical EOD data for penny stocks
How to quickly download the most recent EOD data for your stocks
How to download EOD quotes for active and valid stocks only
How to export trading data to a CSV file

Related Forum Threads
Unable to downlod Hang Seng index historical prices
Historical Options data backtesting
Portfolio Simulations
Problem with EOD Historical Data for LSE Listed Stocks
historical dividend yield data

Blog Posts
4 Links to Download Free Historical Stock Prices Data by Date
10 ways to download historical stock quotes data for free
How to Detect Potential Issues/Errors in Your Historical Data?
How to make sure your Historical Price Data is Split Adjusted
Download historical EOD data for the stock, futures, ETF and Fore...









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.