elixfix v0.0.1-dev FSessionRec.Support
Support pure functions to work with Sessions
Summary
Functions
It will return a set of tags for session message reject
It will return a set of tags for RequestResend
Functions
It will return a set of tags for session message reject
You have to provide:
- Description
- Original message
Reject code
- 5 : Incorrect value
- 6 : Incorrect data format for a tag value
- 9 : CompID problem
example:
iex> original_message = %{:MsgType => "B", :MsgSeqNum => "101"}
iex> FSessionRec.Support.reject_msg("Testing reject", original_message)
%{
:MsgType => "3",
:RefMsgType => "B",
:RefSeqNum => "101",
:Text => "Testing reject"
}