Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by M_D. 04/26/24 20:22
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (M_D, AndrewAMD, Quad, Ayumi), 806 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
AlpacaPlugin 1.0.1 released #482725
03/19/21 15:36
03/19/21 15:36
Joined: Sep 2019
Posts: 63
Naperville
K
kzhao Offline OP
Junior Member
kzhao  Offline OP
Junior Member
K

Joined: Sep 2019
Posts: 63
Naperville
https://github.com/kzhdev/alpaca_zorro_plugin/releases

- Fix sometimes server heartbeat timeout after the first strategy launching proxy server.
- Shutdown proxy server 10 seconds after last strategy logout.
- Start client worker thread on strategy login. Stop client worker thread on strategy logout.
- GET_LOCK broker command returns 1 now.
- Default websocket url to Pro plan url.

Re: AlpacaPlugin 1.0.1 released [Re: kzhao] #482728
03/19/21 20:39
03/19/21 20:39
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
@kzhao: Thank you for the quick update! I tried it just after market close with these results:

- "latest release" still points to 1.0.0 laugh

- Had to Trade many times before connecting - messages received on 1st try:
-- "!insufficient subscription (409)"
-- "!auth timeout (404)"
-- "!Websocket disconnected"
-- "!Unable to open Alpaca websocket. Prices will be pulled..."
-- "!Login failed."
-- "!access key verification faild : access key not found"

- Message received on subsequent tries:
-- "BrokerLogin: No Data!", or no message at all

- Messages received on last try that sorta worked:
-- "!insufficient subscription (409)"
-- "!auth timeout (404)"
-- "!Unable to open Alpaca websocket. Prices will be pulled..."
-- "!Account <account> at UTC <time>"
-- "!Websocket disconnected"
-- Normal strategy startup messages, prices downloads, & Lookback period
-- Connection box goes red, Server Offline
-- "BrokerLogin: No Data!" (twice)
-- Connection box goes grey, Server still Offline
-- CPU usage continues
-- Clicked Stop & waited many minutes
-- CPU usage continues
-- Exit Zorro
-- CPU usage stops

No changes were made in between tries - just clicked Trade again.

Hope that helps!

Re: AlpacaPlugin 1.0.1 released [Re: kzhao] #482734
03/19/21 22:38
03/19/21 22:38
Joined: Sep 2019
Posts: 63
Naperville
K
kzhao Offline OP
Junior Member
kzhao  Offline OP
Junior Member
K

Joined: Sep 2019
Posts: 63
Naperville
@DdIV Looks like you have the Basic market data plan. Please add following in Zorro.ini or ZorroFix.ini. It default to use SIP websocket url.

AlpacaPaidDataPlan = 0 // 0 = False, 1 = True. Default to 1


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