Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- data = {
- 'id': item['id'],
- 'head': head.upper(),
- 'body': '\n'.join(map(
- lambda attr: ': '.join((
- ''.join((tags[attr][0].upper(), tags[attr][1:])),
- (attr == 'price' and '{:.10f}' or '{}').format(tick[attr]))),
- filter(
- lambda attr: item['_'.join((attr, 'on'))],
- ('price', 'amount'))))}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement