Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could you provide example of sending password to the server? #2

Open
denisvolokh opened this issue Aug 30, 2021 · 0 comments
Open

Could you provide example of sending password to the server? #2

denisvolokh opened this issue Aug 30, 2021 · 0 comments

Comments

@denisvolokh
Copy link

Hi,

I have the following code that sends a password when received "A" message:

 def toAdmin(self, message, sessionID):
        message.getHeader().setField(fix.SenderSubID('API'))
        if "A" == message.getHeader().getFieldRef(35).getString():
            message.setField(fix.Password('Password'))
        return

Could you help to translate this code using your library?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant