New issue 417: Allow negative prices

https://bitbucket.org/blais/beancount/issues/417/allow-negative-prices



Javier:



Could negative commodity prices be allowed?  Some financial assets/contracts, 
like swaps, may have a negative entry price.



‌



For instance, allow negative prices for the following asset-class



‌



```

2020-01-01 commodity SWAP-T10

  asset-class: "swap"



; Should not throw any warning

2020-01-01 * "Enter swap"

    Assets:Broker:SWAP-T10     1 SWAP-T10 {-1234.56 USD, 

2020-01-01} @ -1234.56 USD

    Assets:Broker:USD          1234.56 USD

```



‌




-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/20200126100902.21317.43437%40celery-worker-111.ash1.bb-inf.net.

Reply via email to