Skip to content

Instantly share code, notes, and snippets.

@ewenmaclean
Last active July 16, 2020 09:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ewenmaclean/fad8fb9547286482cf4cfdd9de901b3c to your computer and use it in GitHub Desktop.
Save ewenmaclean/fad8fb9547286482cf4cfdd9de901b3c to your computer and use it in GitHub Desktop.
import FIX_4_4
@encoding: char
enum act {
Pick "p"
Drop "d"
SwapTransit "s"
}
@encoding: char
enum obj {
Cabbage "c"
Goat "g"
Wolf "w"
}
extend message NewOrderSingle {
obj "2001" :? obj
act "2002" : act
}
extend message ExecutionReport {
obj "2001" :? obj
act "2002" : act
}
message NewOrderSingle {
opt obj
req act
}
outbound message ExecutionReport {
opt obj
req act
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment