Sha256: cd30c75470165ae4e4f1871ccf08b80b8ca0b264ba2b16a73041b1ac06eda29c

Contents?: true

Size: 323 Bytes

Versions: 9

Compression:

Stored size: 323 Bytes

Contents

$:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])

require 'pry'
require "quandl/client"

include Quandl::Client

Quandl::Client.use 'http://quandl.com/api/'
Quandl::Client.token = ENV['QUANDL_USER_TOKEN']

# create dataset
d = Dataset.find('NSE/OIL')

data = d.data.trim_start( 3.weeks.ago ).limit(10)

binding.pry

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
quandl_client-2.4.0 examples/trims.rb
quandl_client-2.3.2 examples/trims.rb
quandl_client-2.3.1 examples/trims.rb
quandl_client-2.3.0 examples/trims.rb
quandl_client-2.2.2 examples/trims.rb
quandl_client-2.2.1 examples/trims.rb
quandl_client-2.2.0 examples/trims.rb
quandl_client-2.1.4 examples/trims.rb
quandl_client-2.1.3 examples/trims.rb