For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See:

Is there a way to use wild cards in name argument for commission scheme?

  • Basically, imagine if I'm using Bloomberg ticker that include exchange codes. The idea would be to get commission scheme based on these exchange codes that are part of the product symbol. For that, the solution would be to use wild cards for the name argument and when checking which commission scheme to apply, we would check which one matches the name in stead of strict equality. so name would be something like 'AU', 'HK', 'KS', ...

Log in to reply