Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (opm), 778 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 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: 68
T
tomaslolo Offline OP
Junior Member
tomaslolo  Offline OP
Junior Member
T

Joined: Feb 2018
Posts: 68

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: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
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: 68
T
tomaslolo Offline OP
Junior Member
tomaslolo  Offline OP
Junior Member
T

Joined: Feb 2018
Posts: 68
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: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
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 | chip programmers | 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