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
2 registered members (monk12, Quad), 830 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
Page 1 of 2 1 2
Tradier Plugin - Warning 075 #486609
09/09/22 19:07
09/09/22 19:07
Joined: Mar 2018
Posts: 62
hast29 Offline OP
Junior Member
hast29  Offline OP
Junior Member

Joined: Mar 2018
Posts: 62
Hi, I have a strange behaviour of the Tradier plugin. The connection to live account starts OK. When the script opens a position, it is indeed opened in the live Tradier Account. However Zorro displays a Warning 075 saying "can´t open ... !Order response error". Zorro window in the attachement.

The script then obviously does not recognize the opened positions and will obviously not hit the exit command.

I did not find any further details in the log file. I appreciate any hint or advise, thank you.

Attached Files Zorro window.JPG
Re: Tradier Plugin - Warning 075 [Re: hast29] #486610
09/09/22 19:13
09/09/22 19:13
Joined: Feb 2017
Posts: 1,718
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,718
Chicago
set(LOGFILE), set Verbose to 7|DIAG, read the diagnostic log files, and see what responses the server is sending to the plugin. It's possible that Tradier changed their API since the plugin was published.

Re: Tradier Plugin - Warning 075 [Re: AndrewAMD] #486620
09/10/22 16:39
09/10/22 16:39
Joined: Mar 2018
Posts: 62
hast29 Offline OP
Junior Member
hast29  Offline OP
Junior Member

Joined: Mar 2018
Posts: 62
Thank you Andrew AMD, I have added the commands to the script. Just by starting the script, there is no Warning or Error. I will see what happens by opening a new position. I appreciate your help, I will be back, thank you

Re: Tradier Plugin - Warning 075 [Re: hast29] #486759
09/30/22 17:05
09/30/22 17:05
Joined: Mar 2018
Posts: 62
hast29 Offline OP
Junior Member
hast29  Offline OP
Junior Member

Joined: Mar 2018
Posts: 62
Hi AndrewAMD, finally the scripts tries to open another position and I receive the same error, with the .diag file available. Attached, there is the warning message in the Zorro window. As described earlier, the position is indeed opened in the Tradier live account, but Zorro does not reflect it and prints this warning message.

It is a live account session, so I skip the line with the API code:

HTTP: 520 recvd 1 (30.7400 462.440800 ms) 163
HandleTrades 16:53:00
Handle: 833b020 0 tick
TradeValue 16:53:00
Account 16:53:00
BrokerAccount:
HTTP: https://api.tradier.com/v1/accounts/6YA15991/balances,(null),Accept: application/json

Do you see anything wrong with the plugin ? Do you think the Tradier API has been updated and the plugin no longer works ?
Many thanks for your support.

Attached Files Window.JPG
Re: Tradier Plugin - Warning 075 [Re: hast29] #486760
09/30/22 20:31
09/30/22 20:31
Joined: Feb 2017
Posts: 1,718
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,718
Chicago
The API is clearly outputting gateway timeouts, so this sounds like the server's fault.

Re: Tradier Plugin - Warning 075 [Re: hast29] #486761
09/30/22 20:45
09/30/22 20:45
Joined: Mar 2018
Posts: 62
hast29 Offline OP
Junior Member
hast29  Offline OP
Junior Member

Joined: Mar 2018
Posts: 62
The gateway error is from Monday. The Warning from today. And the plugin has opened the position. I think, that contradicts the timeout error being the root cause. Shall I try the phantom mode ? Or contact the customer support of tradier ? Any easy way to test the plugin ?

Thank you for your time and your hints Andrew, I appreciate

Re: Tradier Plugin - Warning 075 [Re: hast29] #486766
10/03/22 14:10
10/03/22 14:10
Joined: Feb 2017
Posts: 1,718
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,718
Chicago
The attached version of the plugin has a new brokerCommand SET_DIAGNOSTICS.

At the beginning of your script, call this:
Code
set(LOGFILE);
brokerCommand(SET_DIAGNOSTICS,1);


This will print **all JSON messages** received from the server to the log.

When an incident occurs, share info from the logfile.

Attached Files
Re: Tradier Plugin - Warning 075 [Re: hast29] #486845
10/23/22 21:15
10/23/22 21:15
Joined: Mar 2018
Posts: 62
hast29 Offline OP
Junior Member
hast29  Offline OP
Junior Member

Joined: Mar 2018
Posts: 62
Hi Andrew, I have tried the new Tradier.dll, sorry for the delay.

Unfortunately, I am getting Error 062: Can't open C:\Zorro\Zorro_2502\Plugin\Tradier.dll!

I have made sure, Zorro has the access rights, I also tried to run it from the admin account, still the same message.

Of course, I have put the new Tradier.dll in the same "Plugin" directory and erased the old .dll.

Any idea? Many thanks ...

Re: Tradier Plugin - Warning 075 [Re: hast29] #486848
10/24/22 14:11
10/24/22 14:11
Joined: Feb 2017
Posts: 1,718
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,718
Chicago
Either you did something wrong or your file was corrupted. I downloaded it from the forum, and I don't get that error.

Delete your zip file and plugin. Download the zip file again. Extract the zip file to your Plugin folder. The size of the extracted file should be 670 KB (686,592 bytes).

Re: Tradier Plugin - Warning 075 [Re: hast29] #486849
10/24/22 14:46
10/24/22 14:46
Joined: Mar 2018
Posts: 62
hast29 Offline OP
Junior Member
hast29  Offline OP
Junior Member

Joined: Mar 2018
Posts: 62
Hi Andrew, the size is indeed 671 kB,. However , there is still something wrong and the same "Cant open" error.

What I have noticed, I do not see Tradier in the upper right window, unlike with the original version of the plugin. Screenshots in the appendix. With the new plugin, I have no option Tradier in the pull down menu (screenshot wrong.jpg).

Attached Files missing.JPGWrong.JPG
Page 1 of 2 1 2

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