I went to your repo and followed the instructions but there are some problems that I encountered like RITHMIC_PAPER_TRADING.ini and RITHMIC_TEST.ini and key RITHMIC_CREDENTIALS_PATH. Can you give more instructions on how to use these. Because I just started coding 6 months ago, there are many things I don't understand. Thank you!
Hi, sorry for the delay in replaying, for any environment to work, Test, Paper Trading or Live you need an ini file stored locally on your machine that has all the connection information, see example file attached, which I had to change the extension to 'txt' for the forum to accept, copy this and change it to RITHMIC_PAPER_TRADING.ini
Obviously change your_rithmic_user_name to whatever Rithmic gives you, likewise change your_password. For your_app_name, you'll have to agree this with Rithmic - when you do the conformance test they ask you to specify something they are expecting to see - lmk if you need help with this.
When you run your python script, your need an OS Environment Variable called RITHMIC_CREDENTIALS_PATH which points to where these files are saved. For example, if you have copied the above file and renamed to ini and you save to (on linux for example) /home/my_linux_username/tmp, your environment variable would be RITHMIC_CREDENTIALS_PATH=/home/my_linux_username/tmp
To set an environment variable for your OS, its different for each OS but just google set environment variable for windows, linux etc, lmk again if you get stuck here. You can always start your python script with:
Code:
import os
os.environ['RITHMIC_CREDENTIALS_PATH'] = "/home/my_linux_username/tmp"
Let me know how you get on