README.md in yahoo-finance-1.1.0 vs README.md in yahoo-finance-1.2.0
- old
+ new
@@ -28,10 +28,24 @@
Passing `raw: false` will return numerical values
```ruby
yahoo_client = YahooFinance::Client.new
data = yahoo_client.quotes(["BVSP", "NATU3.SA", "USDJPY=X"], [:ask, :bid, :last_trade_date], { raw: false } )
-data[0].ask # This is now a float
+data[0].ask # This is now a BigDecimal
+```
+
+Passing `na_as_nil: true` will convert "N/A" responses to `nil`
+
+```ruby
+yahoo_client = YahooFinance::Client.new
+
+data = yahoo_client.quotes(["BVSP"], [:ask] )
+data[0].ask
+> "N/A"
+
+data = yahoo_client.quotes(["BVSP"], [:ask], { na_as_nil: true } )
+data[0].ask
+> nil
```
The full list of fields follows:
```ruby