jacksonwoody / pyrithmic

Python Implementation of the Rithmic Protocol Buffer API
MIT License
52 stars 11 forks source link

connecting to paper trading environment #2

Closed joostbr closed 8 months ago

joostbr commented 8 months ago

Hi @jacksonwoody ,

I do have my own rithmic paper trading credentials, so I was trying to connect to this paper trading environment. 1) I guess the endpoint in the paper trading ini file needs to change to : wss://ritpa11120.11.rithmic.com:443 ? 2) I am getting an SSL certificate error when I do use this endpoint So do we need another certificate for the paper trading environment? Or is my paper trading endpoint not correct? Any idea? thanks a lot!

this is my RITHMIC_PAPER_TRADING.ini file :

[credentials] URI=wss://ritpa11120.11.rithmic.com:443 USER=XXXXXXXXX SYSTEM_NAME=Rithmic Paper Trading PW=XXXXXXXXX APP_NAME=my_app_name APP_VERSION=1.0

joostbr commented 8 months ago

I contacted rithmic and had to go through a conformance test before they share the endpoints for paper trading or production environments.