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
5 registered members (TipmyPip, AndrewAMD, Quad, aliswee, degenerate_762), 970 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
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