Gamestudio Links
Zorro Links
Newest Posts
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
Release 2.68 replacement of the .par format
by Martin_HH. 09/23/25 20:48
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (dBc), 17,435 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
marketVol(0) with OANDA #476466
03/03/19 11:36
03/03/19 11:36
Joined: Feb 2018
Posts: 70
T
tomaslolo Offline OP
Junior Member
tomaslolo  Offline OP
Junior Member
T

Joined: Feb 2018
Posts: 70

When using, with Zorro S, marketVol(0) in a script with OANDA, what data is OANDA giving me? Using M1 Data.

When trading in backtest, no problem, but when trading Real I get the following error:

Error 063: marketVol not available.

Why does it work in backtest and not in real? Data has been downloaded from Oanda with Download script so backtest is run with Oanda data.

What data is supposed to give me Oanda with marketVol?

Any help would be appreciated thank you.

Re: marketVol(0) with OANDA [Re: tomaslolo] #476476
03/04/19 09:35
03/04/19 09:35
Joined: Jul 2000
Posts: 28,022
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,022
Frankfurt
Oanda has no volume data. What you get with marketVol() is the tick frequency in historical, not in live data.

https://manual.zorro-project.com/oanda.htm

Re: marketVol(0) with OANDA [Re: jcl] #476481
03/04/19 10:27
03/04/19 10:27
Joined: Feb 2018
Posts: 70
T
tomaslolo Offline OP
Junior Member
tomaslolo  Offline OP
Junior Member
T

Joined: Feb 2018
Posts: 70
Thanky you for your answer, that´s what I though by reading the manual and other Topics. But as when you downlaod OANDA data you get Open, High, Low, Close, Spread and Volume data I was praying to have it in real time.

I developed a strategy with MarketVol relations than seemed to be profitable. That´s why I was praying to have that data in real (for real testing mainly).

We can then forget marketVol with Oanda, What about marketVal? Same thing, only historical?

Other way to ask "the same", Should I expect only Open/High/Low/Close data from Oanda in real or is there any other data available?

Thank you!

Re: marketVol(0) with OANDA [Re: tomaslolo] #476486
03/04/19 11:28
03/04/19 11:28
Joined: Jul 2000
Posts: 28,022
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,022
Frankfurt
OHLC from Oanda is historical data. In live data you have only ask and bid, no tick frequency. You could call assetHistory() for the current date, then read the most recent candle out of the file. This should give you the most recent tick frequency.


Moderated by  Petra 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1