Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
M1 Oversampling
by 11honza11. 04/20/24 20:57
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (frutza, Quad, AndrewAMD), 385 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Alpha Vantage API key - where to put?! #469458
11/17/17 04:19
11/17/17 04:19
Joined: Sep 2017
Posts: 235
H
Hredot Offline OP
Member
Hredot  Offline OP
Member
H

Joined: Sep 2017
Posts: 235
I searched in the manual but without success.
Where do API keys go, so that Zorro can properly connect to e.g. Alpha Vantage?

Re: Alpha Vantage API key - where to put?! [Re: Hredot] #469461
11/17/17 09:12
11/17/17 09:12
Joined: Nov 2016
Posts: 66
GreenBoat Offline
Junior Member
GreenBoat  Offline
Junior Member

Joined: Nov 2016
Posts: 66
zorro.ini

Re: Alpha Vantage API key - where to put?! [Re: GreenBoat] #469480
11/17/17 14:15
11/17/17 14:15
Joined: Sep 2017
Posts: 235
H
Hredot Offline OP
Member
Hredot  Offline OP
Member
H

Joined: Sep 2017
Posts: 235
Thank you!

Re: Alpha Vantage API key - where to put?! [Re: Hredot] #471063
02/18/18 09:05
02/18/18 09:05
Joined: Feb 2018
Posts: 5
V
veepsirtt Offline
Newbie
veepsirtt  Offline
Newbie
V

Joined: Feb 2018
Posts: 5
https://www.alphavantage.co/query?functi...mp;datatype=csv
How to get price series from the link and plot it?

Re: Alpha Vantage API key - where to put?! [Re: veepsirtt] #471064
02/18/18 09:26
02/18/18 09:26
Joined: Feb 2018
Posts: 5
V
veepsirtt Offline
Newbie
veepsirtt  Offline
Newbie
V

Joined: Feb 2018
Posts: 5
function run()
{
Stop = 10*ATR(100);
TakeProfit = 1*ATR(100);
// open new trade at random after last trade hit its target
if(NumOpenTotal == 0) {
if(random() < 0)
enterShort();
else
enterLong();
}
}
How to get the backtest report for the asset 'MSFT'?.
Give me full code.

Re: Alpha Vantage API key - where to put?! [Re: veepsirtt] #471259
02/25/18 15:34
02/25/18 15:34
Joined: Feb 2018
Posts: 5
V
veepsirtt Offline
Newbie
veepsirtt  Offline
Newbie
V

Joined: Feb 2018
Posts: 5
function run()
{
assetHistory("SPY",FROM_GOOGLE);
asset("SPY");
Stop = 10*ATR(100);
TakeProfit = 1*ATR(100);
// open new trade at random after last trade hit its target
if(NumOpenTotal == 0) {
if(random() < 0)
enterShort();
else
enterLong();
}
}

it raises
error 014 ATR needs LookBack 140>80!
How to correct it?.

Re: Alpha Vantage API key - where to put?! [Re: veepsirtt] #471262
02/25/18 15:56
02/25/18 15:56
Joined: Feb 2018
Posts: 5
V
veepsirtt Offline
Newbie
veepsirtt  Offline
Newbie
V

Joined: Feb 2018
Posts: 5
Test RandomPrice SPY

Simulated account AssetsFix
Bar period 1 hour (avg -1440 min)
Test period 2013-01-02..2018-02-23 (1295 bars)
Lookback period 141 bars (5 days)
Simulation mode Realistic (slippage 5.0 sec)
Spread 1.0 pips (roll 0.00/0.00)
Contracts per lot 1.0

Re: Alpha Vantage API key - where to put?! [Re: veepsirtt] #471306
02/27/18 16:47
02/27/18 16:47
Joined: Feb 2018
Posts: 5
V
veepsirtt Offline
Newbie
veepsirtt  Offline
Newbie
V

Joined: Feb 2018
Posts: 5
How to download unadjusted one-minute (M1) price data from the selected broker?
It downloads daily data.
function run()
{
set(TICKS|FAST);
NumYears = 5;
assetAdd("SPY");
assetHistory("SPY",FROM_AV);
asset("SPY");
plot("Dotted",price(),DOT,GREEN);

}


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1