Skip to content

Instantly share code, notes, and snippets.

@deque-blog

deque-blog/payTrade.cpp

Last active Nov 20, 2017
Embed
What would you like to do?
std::vector<Payment> generatePayments(Trade const& trade)
{
std::vector<Payment> payments;
for (Flow const& flow: trade.flows())
payments.push_back(pay(flow, trade.settlementInstructions());
return payments;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.