5 ms·
I don't know python, but what is the "or" here? For me it looks like this value is used only when there was no data? Basically else part of monad
by tester756 3y ago
I don't know python, but what is the "or" here?
For me it looks like this value is used only when there was no data?
Basically else part of monad
- maxbond 3y agoYeah you're barking up the right tree. >>> None or Decimal() Decimal('0') So if their aggregation returned no results they'd substitute a 0. It's a client-side `coalesce()`
- sangreal 3y agoThat’s on reading the daily volume. Basically daily_volume = daily volume or 0. It is multiplied by the random number either way