Tradier Plugin - Warning 075

Posted By: hast29

Tradier Plugin - Warning 075 - 09/09/22 19:07

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 picture Zorro window.JPG
Posted By: AndrewAMD

Re: Tradier Plugin - Warning 075 - 09/09/22 19:13

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.
Posted By: hast29

Re: Tradier Plugin - Warning 075 - 09/10/22 16:39

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
Posted By: hast29

Re: Tradier Plugin - Warning 075 - 09/30/22 17:05

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 picture Window.JPG
Posted By: AndrewAMD

Re: Tradier Plugin - Warning 075 - 09/30/22 20:31

The API is clearly outputting gateway timeouts, so this sounds like the server's fault.
Posted By: hast29

Re: Tradier Plugin - Warning 075 - 09/30/22 20:45

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
Posted By: AndrewAMD

Re: Tradier Plugin - Warning 075 - 10/03/22 14:10

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 File
Tradier_SET_DIAGNOSTICS.zip  (41 downloads)
Posted By: hast29

Re: Tradier Plugin - Warning 075 - 10/23/22 21:15

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 ...
Posted By: AndrewAMD

Re: Tradier Plugin - Warning 075 - 10/24/22 14:11

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).
Posted By: hast29

Re: Tradier Plugin - Warning 075 - 10/24/22 14:46

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 picture missing.JPG
Attached picture Wrong.JPG
Posted By: AndrewAMD

Re: Tradier Plugin - Warning 075 - 10/25/22 13:49

OK try this one instead. It has a different build configuration.

Attached File
Tradier20221025.zip  (28 downloads)
Posted By: hast29

Re: Tradier Plugin - Warning 075 - 10/25/22 15:23

Perfect, this one looks fine. I will start the script, I should know more when a new enter signal occurs. Couple of days usually. ...
Posted By: hast29

Re: Tradier Plugin - Warning 075 - 11/21/22 19:12

Hi Andrew,

finally, my script tried to open the position and the "Order response error" happened again. This time with the extended message log. The respective part of the log file is in the attachement.

Will you please look at it, if you see the reason why this error occurs? Actually, the position has been opened in my Tradier account, just Zorro does not recognize it and I do not see any open position in the log and status page. Thank you very much, ...

Attached File
Order response error.txt  (59 downloads)
© 2024 lite-C Forums