Skip to content
Browse files

Initial commit

  • Loading branch information...
0 parents commit faa878de6458357eacc78dced93f3cf23d3534f7 @sferik committed Jun 16, 2011
1 .autotest
@@ -0,0 +1 @@
+require 'autotest/bundler'
0 .gemtest
No changes.
41 .gitignore
@@ -0,0 +1,41 @@
+!.gitignore
+*.gem
+*.rbc
+*.sw[a-p]
+*.tmproj
+*.tmproject
+*.un~
+*~
+.DS_Store
+.Spotlight-V100
+.Trashes
+._*
+.bundle
+.config
+.directory
+.elc
+.redcar
+.yardoc
+/.emacs.desktop
+/.emacs.desktop.lock
+Desktop.ini
+Gemfile.lock
+Icon?
+InstalledFiles
+Session.vim
+Thumbs.db
+\#*\#
+_yardoc
+auto-save-list
+coverage
+doc/
+lib/bundler/man
+pkg
+pkg/*
+rdoc
+spec/reports
+test/tmp
+test/version_tmp
+tmp
+tmtags
+tramp
3 .rspec
@@ -0,0 +1,3 @@
+--color
+--format=nested
+--backtrace
7 .travis.yml
@@ -0,0 +1,7 @@
+rvm:
+ - 1.8.7
+ - 1.9.1
+ - 1.9.2
+ - jruby
+ - ree
+ - ruby-head
3 .yardopts
@@ -0,0 +1,3 @@
+--markup markdown
+-
+LICENSE.md
7 Gemfile
@@ -0,0 +1,7 @@
+source 'http://rubygems.org'
+
+platforms :jruby do
+ gem 'jruby-openssl', '~> 0.7'
+end
+
+gemspec
20 LICENSE.md
@@ -0,0 +1,20 @@
+Copyright (c) 2011 Erik Michaels-Ober
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
130 README.md
@@ -0,0 +1,130 @@
+# Ruby wrapper for the Mt. Gox Trade API
+
+Mt. Gox allows you to trade US Dollars (USD) for Bitcoins (BTC) or Bitcoins for
+US Dollars.
+
+Installation
+------------
+ gem install tradehill
+
+Alias
+-----
+After installing the gem, you can get the current price for 1 BTC in USD by
+typing `btc` in your bash shell simply by setting the following alias:
+
+ alias btc='ruby -r rubygems -r tradehill -e "puts TradeHill.ticker.last"'
+
+Documentation
+-------------
+[http://rdoc.info/gems/tradehill](http://rdoc.info/gems/tradehill)
+
+Donate
+------
+If you find this library useful, please consider sending a donation to the
+author, which you can do using the following script:
+
+ require 'rubygems'
+ require 'tradehill'
+
+ # Certain methods require authentication
+ TradeHill.configure do |config|
+ config.name = YOUR_MTGOX_USERNAME
+ config.pass = YOUR_MTGOX_PASSWORD
+ end
+
+ TradeHill.send 1.0, "1KxSo9bGBfPVFEtWNLpnUK1bfLNNT4q31L"
+
+Continuous Integration
+----------------------
+[![Build Status](http://travis-ci.org/sferik/tradehill.png)](http://travis-ci.org/sferik/tradehill)
+
+Usage Examples
+--------------
+ require 'rubygems'
+ require 'tradehill'
+
+ # Fetch the latest price for 1 BTC in USD
+ puts TradeHill.ticker.last
+
+ # Fetch open asks
+ puts TradeHill.asks
+
+ # Fetch open bids
+ puts TradeHill.bids
+
+ # Fetch the last 48 hours worth of trades (takes a minute)
+ puts TradeHill.trades
+
+ # Certain methods require authentication
+ TradeHill.configure do |config| [TODO]
+ config.name = YOUR_MTGOX_USERNAME
+ config.pass = YOUR_MTGOX_PASSWORD
+ end
+
+ # Get your current balance
+ puts TradeHill.balance [TODO]
+
+ # Place an order to buy 1 BTC for 20 USD (returns a list of your open orders)
+ puts TradeHill.buy 1.0, 20.0 [TODO]
+
+ # Place an order to sell 1 BTC for 20 USD (returns a list of your open orders)
+ puts TradeHill.sell 1.0, 20.0 [TODO]
+
+ # Cancel order #1234567890
+ puts TradeHill.cancel 1234567890 [TODO]
+
+ # Send 1 BTC to the author of this gem
+ puts TradeHill.send 1.0, "1KxSo9bGBfPVFEtWNLpnUK1bfLNNT4q31L" [TODO]
+
+Contributing
+------------
+In the spirit of [free
+software](http://www.fsf.org/licensing/essays/free-sw.html), **everyone** is
+encouraged to help improve this project.
+
+Here are some ways *you* can contribute:
+
+* by using alpha, beta, and prerelease versions
+* by reporting bugs
+* by suggesting new features
+* by writing or editing documentation
+* by writing specifications
+* by writing code (**no patch is too small**: fix typos, add comments, clean up
+ inconsistent whitespace)
+* by refactoring code
+* by closing [issues](https://github.com/sferik/tradehill/issues)
+* by reviewing patches
+* by financially (please send bitcoin donations to
+ 1KxSo9bGBfPVFEtWNLpnUK1bfLNNT4q31L)
+
+Submitting an Issue
+-------------------
+We use the [GitHub issue tracker](https://github.com/sferik/tradehill/issues) to
+track bugs and features. Before submitting a bug report or feature request,
+check to make sure it hasn't already been submitted. You can indicate support
+for an existing issuse by voting it up. When submitting a bug report, please
+include a [Gist](https://gist.github.com/) that includes a stack trace and any
+details that may be necessary to reproduce the bug, including your gem version,
+Ruby version, and operating system. Ideally, a bug report should include a pull
+request with failing specs.
+
+Submitting a Pull Request
+-------------------------
+1. Fork the project.
+2. Create a topic branch.
+3. Implement your feature or bug fix.
+4. Add documentation for your feature or bug fix.
+5. Run <tt>bundle exec rake doc:yard</tt>. If your changes are not 100%
+ documented, go back to step 4.
+6. Add specs for your feature or bug fix.
+7. Run <tt>bundle exec rake spec</tt>. If your changes are not 100% covered, go
+ back to step 6.
+8. Commit and push your changes.
+9. Submit a pull request. Please do not include changes to the gemspec,
+ version, or history file. (If you want to create your own version for some
+ reason, please do so in a separate commit.)
+
+Copyright
+---------
+Copyright (c) 2011 Erik Michaels-Ober.
+See [LICENSE](https://github.com/sferik/tradehill/blob/master/LICENSE.md) for details.
18 Rakefile
@@ -0,0 +1,18 @@
+#!/usr/bin/env rake
+
+require 'bundler'
+Bundler::GemHelper.install_tasks
+
+require 'rspec/core/rake_task'
+RSpec::Core::RakeTask.new(:spec)
+
+task :default => :spec
+task :test => :spec
+
+require 'yard'
+namespace :doc do
+ YARD::Rake::YardocTask.new do |task|
+ task.files = ['LICENSE.md', 'lib/**/*.rb']
+ task.options = ['--markup', 'markdown']
+ end
+end
3 lib/foo.rb
@@ -0,0 +1,3 @@
+Thread.new{puts "HELLO"}
+Thread.new{puts "GOODBYE"}
+sleep 2
20 lib/tradehill.rb
@@ -0,0 +1,20 @@
+require 'TradeHill/client'
+
+module TradeHill
+ # Alias for TradeHill::Client.new
+ #
+ # @return [TradeHill::Client]
+ def self.new
+ TradeHill::Client.new
+ end
+
+ # Delegate to TradeHill::Client
+ def self.method_missing(method, *args, &block)
+ return super unless new.respond_to?(method)
+ new.send(method, *args, &block)
+ end
+
+ def self.respond_to?(method, include_private=false)
+ new.respond_to?(method, include_private) || super(method, include_private)
+ end
+end
46 lib/tradehill/client.rb
@@ -0,0 +1,46 @@
+require 'tradehill/connection'
+require 'tradehill/request'
+
+module TradeHill
+ class Client
+ include TradeHill::Connection
+ include TradeHill::Request
+
+ # Fetch open asks
+ #
+ # @return [Array<Numeric>]
+ # @example
+ # TradeHill.asks
+ def asks
+ get('/API/USD/Orderbook')['asks'].each do |o|
+ o[0] = o[0].to_f
+ o[1] = o[1].to_f
+ end
+ end
+
+ # Fetch open bids
+ #
+ # @return [Array<Numeric>]
+ # @example
+ # TradeHill.bids
+ def bids
+ get('/API/USD/Orderbook')['bids'].each do |o|
+ o[0] = o[0].to_f
+ o[1] = o[1].to_f
+ end
+ end
+
+ # Fetch recent trades
+ #
+ # @return [Array<Hashie::Rash>]
+ # @example
+ # TradeHill.trades
+ def trades
+ get('/API/USD/Trades').each do |t|
+ t['date'] = Time.at(t['date'].to_i)
+ t['price'] = t['price'].to_f
+ t['amount'] = t['amount'].to_f
+ end
+ end
+ end
+end
22 lib/tradehill/connection.rb
@@ -0,0 +1,22 @@
+require 'faraday_middleware'
+
+module TradeHill
+ module Connection
+ private
+
+ def connection(options={})
+ options = {
+ :ssl => {:verify => false},
+ :url => 'https://api.tradehill.com',
+ }.merge(options)
+
+ Faraday.new(options) do |connection|
+ connection.use Faraday::Request::UrlEncoded
+ connection.use Faraday::Response::RaiseError
+ connection.use Faraday::Response::Rashify
+ connection.use Faraday::Response::ParseJson
+ connection.adapter(Faraday.default_adapter)
+ end
+ end
+ end
+end
16 lib/tradehill/request.rb
@@ -0,0 +1,16 @@
+module TradeHill
+ module Request
+ def get(path, options={})
+ request(:get, path, options)
+ end
+
+ private
+
+ def request(method, path, options)
+ response = connection.send(method) do |request|
+ request.url(path, options)
+ end
+ response.body
+ end
+ end
+end
3 lib/tradehill/version.rb
@@ -0,0 +1,3 @@
+module TradeHill
+ VERSION = "0.0.1"
+end
1 spec/fixtures/orderbook.json
@@ -0,0 +1 @@
+{"bids": [["16.40000000", "10.18000000"], ["14.60000000", "1.00000000"], ["6.05000000", "10.00000000"], ["16.00000000", "84.20000000"], ["15.00000000", "40.00000000"], ["0.01000000", "100000.00000000"], ["17.50000000", "10.00000000"], ["15.90000000", "15.60000000"], ["18.10000000", "10.00000000"], ["13.00000000", "0.10000000"], ["10.00000000", "0.19000000"], ["17.00000000", "0.21200000"], ["16.25000000", "0.15000000"], ["10.00000000", "29.00000000"], ["17.00000000", "9.00000000"], ["18.00000000", "3.00000000"], ["12.00000000", "29.00000000"], ["15.00000000", "9.00000000"], ["17.00000000", "20.00000000"], ["18.90000000", "19.00000000"], ["18.85000000", "2.00000000"], ["18.95000000", "2.00000000"], ["16.80000000", "20.00000000"], ["16.00000000", "20.00000000"], ["18.01000000", "5.00000000"], ["18.00000000", "9.89000000"], ["18.90000000", "2.00000000"], ["12.00000000", "20.00000000"], ["13.20000000", "2.00000000"], ["15.00000000", "8.00000000"], ["14.60000000", "1.30000000"], ["15.00000000", "3.95000000"], ["15.00000000", "10.00000000"], ["17.00000000", "25.00000000"], ["18.25000000", "125.00000000"], ["8.90000000", "1.00000000"], ["18.20000000", "13.00000000"], ["9.94000000", "30.00000000"], ["10.05000000", "10.00000000"], ["12.00000000", "24.90000000"], ["7.13500000", "1.00000000"], ["2.00000000", "800.00000000"], ["18.51000000", "2.66200000"], ["7.00000000", "8.50000000"], ["12.00000000", "0.40000000"], ["18.70000000", "0.09000000"], ["15.12000000", "15.00000000"], ["15.00000000", "5.00000000"], ["18.10000000", "10.00000000"], ["16.05000000", "10.00000000"], ["15.03000000", "5.43050000"], ["17.50000000", "13.00000000"], ["11.12000000", "2.00000000"], ["15.00000000", "10.00000000"], ["17.50000000", "20.00000000"], ["15.00000000", "4.00000000"], ["17.01000000", "0.11000000"], ["11.00000000", "30.00000000"], ["6.50000000", "0.20000000"], ["12.05000000", "10.00000000"], ["10.00000000", "9.80000000"], ["7.10000000", "1.45000000"], ["15.05000000", "3.50000000"], ["8.00000000", "2.40000000"], ["15.00000000", "0.40000000"], ["18.20000000", "20.00000000"], ["18.00000000", "3.00000000"], ["14.00000000", "2.00000000"], ["18.00000000", "5.52000000"], ["17.01000000", "3.00000000"], ["12.00000000", "35.00000000"], ["17.00000000", "23.00000000"], ["18.50000000", "75.00000000"]], "asks": [["20.00000000", "37.17100000"], ["19.60000000", "1.00000000"], ["30.00000000", "8.00000000"], ["33.00000000", "0.20000000"], ["27.00000000", "3.00000000"], ["19.99000000", "1.02000000"], ["26.00000000", "7.50000000"], ["19.50000000", "50.00000000"], ["29.92000000", "1.00000000"], ["29.80000000", "1.00000000"], ["22.49000000", "4.00000000"], ["21.10000000", "1.00000000"], ["19.75000000", "50.00000000"], ["21.00000000", "2.00000000"], ["19.30000000", "17.12618356"], ["20.99000000", "6.36000000"], ["19.87000000", "30.71228300"], ["29.98000000", "20.00000000"], ["30.00000000", "0.10000000"], ["22.50000000", "2.00000000"], ["21.77000000", "1.00000000"], ["30.00000000", "8.00000000"], ["26.00000000", "1.00000000"], ["25.00000000", "2.00000000"], ["26.38000000", "0.10000000"], ["21.00000000", "1.00000000"], ["50.00000000", "10.00000000"], ["19.69000000", "8.56500000"], ["19.49000000", "1.50000000"], ["20.00000000", "50.00000000"], ["30.00000000", "1.37000000"], ["34.00000000", "8.00000000"], ["23.00000000", "0.39000000"], ["25.00000000", "1.00000000"], ["29.00000000", "1.00000000"], ["50.00000000", "0.40000000"], ["23.00000000", "5.00000000"], ["20.00000000", "10.00000000"], ["22.00000000", "1.00000000"], ["20.45000000", "0.55000000"], ["25.00000000", "1.00000000"], ["23.00000000", "0.15000000"], ["19.95000000", "0.25000000"], ["21.98000000", "50.00000000"], ["19.98000000", "50.00000000"], ["19.25000000", "49.85000000"], ["27.70000000", "25.00000000"], ["21.00000000", "12.00000000"], ["25.00000000", "9.00000000"], ["19.45000000", "1.98000000"], ["34.43000000", "1.00000000"], ["34.77000000", "1.00000000"], ["21.50000000", "0.18000000"], ["22.49000000", "2.00000000"], ["27.00000000", "2.00000000"], ["21.00000000", "0.15000000"], ["20.05000000", "5.00000000"], ["35.00000000", "0.10000000"], ["38.00000000", "0.10000000"], ["20.00000000", "1.00000000"], ["29.50000000", "10.00000000"], ["21.50000000", "0.16700000"], ["20.00000000", "3.00000000"], ["20.30000000", "1.00000000"], ["24.00000000", "1.00000000"], ["25.00000000", "12.00000000"], ["19.50000000", "0.25000000"], ["29.98000000", "5.00000000"], ["33.00000000", "10.00000000"], ["20.12000000", "1.04400000"], ["20.00000000", "1.00000000"], ["30.00000000", "10.00000000"], ["23.00000000", "3.00000000"], ["19.79990000", "2.00000000"], ["20.31000000", "20.00000000"], ["30.00000000", "1.01000000"], ["30.00000000", "2.00000000"], ["28.99000000", "4.00000000"], ["50.00000000", "0.40000000"], ["38.00000000", "50.00000000"], ["42.00000000", "25.00000000"], ["24.97000000", "9.93000000"], ["40.00000000", "0.25000000"], ["35.00000000", "50.00000000"], ["40.00000000", "60.00000000"], ["30.00000000", "20.00000000"], ["28.00000000", "1.00000000"], ["32.00000000", "0.20000000"], ["47.00000000", "30.00000000"], ["30.00000000", "1.00000000"], ["28.00000000", "4.00000000"], ["30.00000000", "4.00000000"], ["35.00000000", "5.00000000"], ["21.00000000", "200.00000000"], ["25.00000000", "2.00000000"], ["19.99000000", "1.00000000"], ["20.00000000", "1.00000000"], ["23.00000000", "2.00000000"], ["25.00000000", "25.00000000"], ["30.00000000", "40.00000000"], ["25.00000000", "0.20000000"], ["19.49000000", "6.56279704"], ["32.00000000", "10.00000000"], ["200.00000000", "19.30000000"], ["20.50000000", "15.00000000"], ["30.00000000", "27.96000000"], ["24.49880000", "8.64000000"], ["29.68000000", "1.00000000"], ["32.00000000", "0.10000000"], ["50.00000000", "0.25000000"], ["33.00000000", "5.99000000"], ["24.98000000", "50.00000000"], ["20.00000000", "2.00000000"], ["21.00000000", "20.00000000"], ["19.24999900", "100.00000000"], ["23.90000000", "3.00000000"], ["24.00000000", "3.00000000"], ["19.70000000", "54.37000000"], ["19.99000000", "15.00000000"], ["35.00000000", "25.00000000"], ["25.00000000", "5.00000000"], ["25.00000000", "1.00000000"], ["50.00000000", "5.00000000"], ["20.13000000", "1.00000000"], ["31.00000000", "0.10000000"], ["20.12000000", "1.00000000"], ["19.75000000", "1.00000000"], ["21.00000000", "25.00000000"], ["25.00000000", "7.45730000"], ["20.50000000", "50.00000000"], ["37.00000000", "100.00000000"], ["29.89000000", "1.00000000"], ["30.00000000", "500.00000000"], ["30.00000000", "1.00000000"]]}
1 spec/fixtures/trades.json
@@ -0,0 +1 @@
+[{"date": "1307994982", "tid": "2597", "price": "19.01000000", "amount": "0.75000000"}, {"date": "1307994982", "tid": "2599", "price": "19.00000000", "amount": "0.39000000"}, {"date": "1307995893", "tid": "2601", "price": "19.00000000", "amount": "1.00000000"}, {"date": "1307997025", "tid": "2603", "price": "18.00000000", "amount": "0.21000000"}, {"date": "1307997025", "tid": "2605", "price": "18.00000000", "amount": "31.33520000"}, {"date": "1307997025", "tid": "2607", "price": "18.00000000", "amount": "10.00000000"}, {"date": "1307997025", "tid": "2609", "price": "18.00000000", "amount": "3.00000000"}, {"date": "1307997025", "tid": "2611", "price": "17.00000000", "amount": "0.16500000"}, {"date": "1307997025", "tid": "2613", "price": "17.00000000", "amount": "6.00000000"}, {"date": "1307998506", "tid": "2615", "price": "18.00000000", "amount": "1.00000000"}, {"date": "1307999433", "tid": "2617", "price": "18.49900000", "amount": "0.26500000"}, {"date": "1308000878", "tid": "2619", "price": "17.40000000", "amount": "2.00000000"}, {"date": "1308000878", "tid": "2621", "price": "17.70000000", "amount": "2.00000000"}, {"date": "1308000878", "tid": "2623", "price": "17.82000000", "amount": "1.00000000"}, {"date": "1308001139", "tid": "2625", "price": "17.40000000", "amount": "1.00000000"}, {"date": "1308001393", "tid": "2627", "price": "17.00000000", "amount": "3.00000000"}, {"date": "1308001664", "tid": "2629", "price": "17.00000000", "amount": "2.86000000"}, {"date": "1308001737", "tid": "2631", "price": "18.00000000", "amount": "0.11000000"}, {"date": "1308001737", "tid": "2633", "price": "17.00000000", "amount": "1.89000000"}, {"date": "1308001845", "tid": "2635", "price": "17.00000000", "amount": "0.25000000"}, {"date": "1308002049", "tid": "2637", "price": "17.00000000", "amount": "0.50000000"}, {"date": "1308003646", "tid": "2639", "price": "17.50000000", "amount": "1.00000000"}, {"date": "1308004226", "tid": "2641", "price": "17.50000000", "amount": "0.50000000"}, {"date": "1308004555", "tid": "2643", "price": "18.49900000", "amount": "3.09000000"}, {"date": "1308004582", "tid": "2645", "price": "18.49900000", "amount": "10.29480000"}, {"date": "1308004582", "tid": "2647", "price": "18.50000000", "amount": "6.70520000"}, {"date": "1308004595", "tid": "2649", "price": "18.50000000", "amount": "1.00000000"}, {"date": "1308004680", "tid": "2651", "price": "17.10000000", "amount": "0.10000000"}, {"date": "1308004902", "tid": "2653", "price": "18.50000000", "amount": "8.05000000"}, {"date": "1308004938", "tid": "2655", "price": "18.50000000", "amount": "10.00000000"}, {"date": "1308005000", "tid": "2657", "price": "18.50000000", "amount": "20.00000000"}, {"date": "1308005000", "tid": "2659", "price": "18.50000000", "amount": "2.00000000"}, {"date": "1308005005", "tid": "2661", "price": "18.50000000", "amount": "0.60000000"}, {"date": "1308005726", "tid": "2663", "price": "17.75010000", "amount": "20.00000000"}, {"date": "1308005750", "tid": "2665", "price": "17.75010000", "amount": "20.00000000"}, {"date": "1308006099", "tid": "2667", "price": "20.00000000", "amount": "1.00520000"}, {"date": "1308006099", "tid": "2669", "price": "18.50000000", "amount": "9.35000000"}, {"date": "1308006099", "tid": "2671", "price": "18.60000000", "amount": "1.00000000"}, {"date": "1308006099", "tid": "2673", "price": "19.00000000", "amount": "1.00000000"}, {"date": "1308006099", "tid": "2675", "price": "19.00000000", "amount": "0.60000000"}, {"date": "1308006099", "tid": "2677", "price": "20.00000000", "amount": "1.00000000"}, {"date": "1308006099", "tid": "2679", "price": "19.00000000", "amount": "0.75000000"}, {"date": "1308006099", "tid": "2681", "price": "20.00000000", "amount": "5.00000000"}, {"date": "1308006099", "tid": "2683", "price": "18.50000000", "amount": "0.29480000"}, {"date": "1308006904", "tid": "2685", "price": "17.75010000", "amount": "49.00000000"}, {"date": "1308006904", "tid": "2687", "price": "17.76000000", "amount": "1.00000000"}, {"date": "1308007072", "tid": "2689", "price": "17.75000000", "amount": "0.14000000"}, {"date": "1308007081", "tid": "2691", "price": "17.75010000", "amount": "1.02000000"}, {"date": "1308007496", "tid": "2695", "price": "19.99990000", "amount": "0.12250000"}, {"date": "1308008420", "tid": "2697", "price": "20.00000000", "amount": "24.72250000"}, {"date": "1308008420", "tid": "2699", "price": "19.99990000", "amount": "0.27750000"}, {"date": "1308008420", "tid": "2701", "price": "18.80000000", "amount": "25.00000000"}, {"date": "1308008455", "tid": "2703", "price": "20.00000000", "amount": "24.27230000"}, {"date": "1308008455", "tid": "2705", "price": "20.10000000", "amount": "1.16470000"}, {"date": "1308008455", "tid": "2707", "price": "20.10000000", "amount": "24.56300000"}, {"date": "1308008526", "tid": "2709", "price": "20.10000000", "amount": "0.20000000"}, {"date": "1308009882", "tid": "2711", "price": "19.50000000", "amount": "4.00000000"}, {"date": "1308011018", "tid": "2713", "price": "18.02000000", "amount": "1.00000000"}, {"date": "1308011525", "tid": "2715", "price": "19.50000000", "amount": "1.20000000"}, {"date": "1308011662", "tid": "2717", "price": "19.50000000", "amount": "19.80000000"}, {"date": "1308015538", "tid": "2723", "price": "19.50000000", "amount": "1.00000000"}, {"date": "1308015543", "tid": "2725", "price": "19.50000000", "amount": "1.00000000"}, {"date": "1308015548", "tid": "2727", "price": "19.50000000", "amount": "1.00000000"}, {"date": "1308015555", "tid": "2729", "price": "19.50000000", "amount": "1.00000000"}, {"date": "1308015565", "tid": "2731", "price": "19.50000000", "amount": "10.00000000"}, {"date": "1308015596", "tid": "2733", "price": "19.50000000", "amount": "10.00000000"}, {"date": "1308015604", "tid": "2735", "price": "19.50000000", "amount": "10.00000000"}, {"date": "1308015612", "tid": "2737", "price": "19.50000000", "amount": "10.00000000"}, {"date": "1308015624", "tid": "2739", "price": "19.50000000", "amount": "5.00000000"}, {"date": "1308015634", "tid": "2741", "price": "19.50000000", "amount": "1.00000000"}, {"date": "1308015639", "tid": "2743", "price": "19.50000000", "amount": "1.00000000"}, {"date": "1308016028", "tid": "2745", "price": "19.50000000", "amount": "10.00000000"}, {"date": "1308016161", "tid": "2747", "price": "19.25010000", "amount": "0.26000000"}, {"date": "1308016205", "tid": "2749", "price": "19.50000000", "amount": "8.59000000"}, {"date": "1308016527", "tid": "2751", "price": "19.96500000", "amount": "0.80000000"}, {"date": "1308018083", "tid": "2753", "price": "19.30010000", "amount": "20.00000000"}, {"date": "1308018162", "tid": "2755", "price": "19.30010000", "amount": "20.00000000"}, {"date": "1308018246", "tid": "2757", "price": "19.30010000", "amount": "14.31000000"}, {"date": "1308018305", "tid": "2759", "price": "19.30010000", "amount": "20.00000000"}, {"date": "1308018591", "tid": "2761", "price": "19.30010000", "amount": "25.00000000"}, {"date": "1308018610", "tid": "2763", "price": "19.30010000", "amount": "25.00000000"}, {"date": "1308019550", "tid": "2765", "price": "19.80000000", "amount": "1.66630020"}, {"date": "1308020233", "tid": "2767", "price": "19.80000000", "amount": "2.51000000"}, {"date": "1308020616", "tid": "2769", "price": "19.80000000", "amount": "5.00000000"}, {"date": "1308021018", "tid": "2771", "price": "19.80000000", "amount": "8.62369980"}, {"date": "1308021358", "tid": "2773", "price": "20.00000000", "amount": "1.67000000"}, {"date": "1308021358", "tid": "2775", "price": "19.96500000", "amount": "0.33000000"}, {"date": "1308021378", "tid": "2777", "price": "20.00000000", "amount": "1.00000000"}, {"date": "1308021378", "tid": "2779", "price": "20.00000000", "amount": "25.00000000"}, {"date": "1308021378", "tid": "2781", "price": "20.00000000", "amount": "25.00000000"}, {"date": "1308021378", "tid": "2783", "price": "20.00000000", "amount": "41.39000000"}, {"date": "1308021378", "tid": "2785", "price": "20.00000000", "amount": "25.00000000"}, {"date": "1308021378", "tid": "2787", "price": "20.00000000", "amount": "48.33000000"}, {"date": "1308021659", "tid": "2789", "price": "20.10000000", "amount": "10.50530000"}, {"date": "1308021682", "tid": "2791", "price": "20.10000000", "amount": "0.11000000"}, {"date": "1308021684", "tid": "2793", "price": "20.10000000", "amount": "10.00000000"}, {"date": "1308021776", "tid": "2795", "price": "20.10000000", "amount": "10.00000000"}, {"date": "1308021991", "tid": "2797", "price": "20.00010000", "amount": "5.00000000"}, {"date": "1308022027", "tid": "2799", "price": "20.00010000", "amount": "0.35000000"}, {"date": "1308022033", "tid": "2801", "price": "20.00010000", "amount": "1.00000000"}, {"date": "1308022066", "tid": "2803", "price": "20.00010000", "amount": "20.00000000"}, {"date": "1308022120", "tid": "2805", "price": "20.00010000", "amount": "23.65000000"}, {"date": "1308023706", "tid": "2807", "price": "19.40200000", "amount": "2.00000000"}, {"date": "1308024938", "tid": "2809", "price": "19.40200000", "amount": "2.30000000"}, {"date": "1308025383", "tid": "2811", "price": "20.00000000", "amount": "0.50000000"}, {"date": "1308026072", "tid": "2813", "price": "20.00000000", "amount": "1.78900000"}, {"date": "1308026072", "tid": "2815", "price": "20.00000000", "amount": "0.50000000"}, {"date": "1308026153", "tid": "2817", "price": "20.00000000", "amount": "0.50000000"}, {"date": "1308026360", "tid": "2819", "price": "20.00000000", "amount": "0.10000000"}, {"date": "1308026361", "tid": "2821", "price": "20.00000000", "amount": "0.90000000"}, {"date": "1308026824", "tid": "2823", "price": "20.00000000", "amount": "2.00000000"}, {"date": "1308029401", "tid": "2825", "price": "19.40210000", "amount": "0.06100000"}, {"date": "1308029401", "tid": "2827", "price": "19.40000000", "amount": "2.49900000"}, {"date": "1308030213", "tid": "2829", "price": "19.40000000", "amount": "10.40000000"}, {"date": "1308030245", "tid": "2831", "price": "19.99000000", "amount": "10.00000000"}, {"date": "1308030957", "tid": "2837", "price": "19.40000000", "amount": "10.00000000"}, {"date": "1308030964", "tid": "2839", "price": "19.40000000", "amount": "10.00000000"}, {"date": "1308030970", "tid": "2841", "price": "19.40000000", "amount": "10.00000000"}, {"date": "1308030980", "tid": "2843", "price": "19.40000000", "amount": "10.00000000"}, {"date": "1308030999", "tid": "2845", "price": "19.40000000", "amount": "10.00000000"}, {"date": "1308031008", "tid": "2847", "price": "19.40000000", "amount": "10.00000000"}, {"date": "1308031028", "tid": "2851", "price": "19.02000000", "amount": "0.41500000"}, {"date": "1308031028", "tid": "2853", "price": "19.40000000", "amount": "7.10100000"}, {"date": "1308031028", "tid": "2855", "price": "19.00000000", "amount": "2.48400000"}, {"date": "1308031318", "tid": "2857", "price": "19.99000000", "amount": "1.00000000"}, {"date": "1308031782", "tid": "2859", "price": "19.99000000", "amount": "1.00000000"}, {"date": "1308032263", "tid": "2861", "price": "19.97000000", "amount": "1.00000000"}, {"date": "1308032544", "tid": "2863", "price": "19.97000000", "amount": "2.00000000"}, {"date": "1308036391", "tid": "2865", "price": "19.00500000", "amount": "0.15260000"}, {"date": "1308039541", "tid": "2867", "price": "19.00500000", "amount": "0.10000000"}, {"date": "1308039950", "tid": "2869", "price": "19.01000000", "amount": "0.11000000"}, {"date": "1308040208", "tid": "2871", "price": "19.01000000", "amount": "1.00000000"}, {"date": "1308042135", "tid": "2873", "price": "19.50000000", "amount": "1.80000000"}, {"date": "1308044856", "tid": "2875", "price": "19.50000000", "amount": "0.07500000"}, {"date": "1308045877", "tid": "2877", "price": "19.59000000", "amount": "1.08500000"}, {"date": "1308046315", "tid": "2879", "price": "19.97000000", "amount": "6.00000000"}, {"date": "1308046559", "tid": "2881", "price": "19.97000000", "amount": "2.95000000"}, {"date": "1308046559", "tid": "2883", "price": "20.00000000", "amount": "9.05000000"}, {"date": "1308046559", "tid": "2885", "price": "19.99000000", "amount": "38.00000000"}, {"date": "1308046580", "tid": "2887", "price": "20.00000000", "amount": "10.64000000"}, {"date": "1308046580", "tid": "2889", "price": "20.00000000", "amount": "8.00000000"}, {"date": "1308046580", "tid": "2891", "price": "20.00000000", "amount": "0.36000000"}, {"date": "1308046605", "tid": "2893", "price": "20.00000000", "amount": "0.40000000"}, {"date": "1308051128", "tid": "2895", "price": "19.09000000", "amount": "0.10000000"}, {"date": "1308051255", "tid": "2897", "price": "19.97000000", "amount": "3.00000000"}, {"date": "1308051558", "tid": "2899", "price": "19.97000000", "amount": "12.00000000"}, {"date": "1308051558", "tid": "2901", "price": "20.00000000", "amount": "8.00000000"}, {"date": "1308051738", "tid": "2903", "price": "19.09000000", "amount": "1.08000000"}, {"date": "1308051738", "tid": "2905", "price": "19.08000000", "amount": "18.92000000"}, {"date": "1308051899", "tid": "2907", "price": "19.08000000", "amount": "1.08000000"}, {"date": "1308051900", "tid": "2909", "price": "19.06000000", "amount": "7.00000000"}, {"date": "1308051900", "tid": "2911", "price": "19.04000000", "amount": "15.00000000"}, {"date": "1308051900", "tid": "2913", "price": "19.00500000", "amount": "4.92000000"}, {"date": "1308053000", "tid": "2915", "price": "19.92000000", "amount": "1.00000000"}, {"date": "1308053457", "tid": "2917", "price": "19.10000000", "amount": "1.00000000"}, {"date": "1308054691", "tid": "2919", "price": "19.13000000", "amount": "5.00000000"}, {"date": "1308055575", "tid": "2921", "price": "19.89000000", "amount": "0.18000000"}, {"date": "1308055575", "tid": "2923", "price": "19.90000000", "amount": "0.82000000"}, {"date": "1308056023", "tid": "2925", "price": "19.90000000", "amount": "1.00000000"}, {"date": "1308056043", "tid": "2927", "price": "19.16000000", "amount": "1.00000000"}, {"date": "1308056058", "tid": "2929", "price": "19.90000000", "amount": "1.00000000"}, {"date": "1308060108", "tid": "2933", "price": "19.18000000", "amount": "0.22000000"}, {"date": "1308060108", "tid": "2935", "price": "19.17000000", "amount": "0.28000000"}, {"date": "1308060754", "tid": "2937", "price": "19.00500000", "amount": "6.73000000"}, {"date": "1308060754", "tid": "2939", "price": "19.10000000", "amount": "0.30000000"}, {"date": "1308060754", "tid": "2941", "price": "19.17000000", "amount": "12.72000000"}, {"date": "1308060754", "tid": "2943", "price": "19.13000000", "amount": "10.00000000"}, {"date": "1308060754", "tid": "2945", "price": "19.15000000", "amount": "0.25000000"}, {"date": "1308061289", "tid": "2947", "price": "19.00500000", "amount": "1.09740000"}, {"date": "1308061289", "tid": "2949", "price": "18.42000000", "amount": "3.38660000"}, {"date": "1308061289", "tid": "2951", "price": "19.00000000", "amount": "45.51600000"}, {"date": "1308064958", "tid": "2957", "price": "19.00000000", "amount": "1.00000000"}, {"date": "1308065506", "tid": "2959", "price": "19.00000000", "amount": "0.53000000"}, {"date": "1308066291", "tid": "2963", "price": "19.00000000", "amount": "0.47000000"}, {"date": "1308066291", "tid": "2965", "price": "18.92000000", "amount": "1.73000000"}, {"date": "1308066291", "tid": "2967", "price": "19.00000000", "amount": "1.00000000"}, {"date": "1308066492", "tid": "2973", "price": "18.92000000", "amount": "0.27000000"}, {"date": "1308066492", "tid": "2975", "price": "18.90000000", "amount": "0.73000000"}, {"date": "1308067133", "tid": "2977", "price": "19.10000000", "amount": "0.30000000"}, {"date": "1308068881", "tid": "2979", "price": "19.00000000", "amount": "25.30000000"}, {"date": "1308068881", "tid": "2981", "price": "19.00000000", "amount": "24.70000000"}, {"date": "1308068940", "tid": "2983", "price": "19.00000000", "amount": "2.30000000"}, {"date": "1308069396", "tid": "2985", "price": "18.91000000", "amount": "0.50000000"}, {"date": "1308070012", "tid": "2987", "price": "19.00000000", "amount": "5.00000000"}, {"date": "1308070665", "tid": "2989", "price": "18.91000000", "amount": "1.45000000"}, {"date": "1308071747", "tid": "2991", "price": "18.91000000", "amount": "1.00000000"}, {"date": "1308071861", "tid": "2993", "price": "18.91000000", "amount": "2.05000000"}, {"date": "1308071861", "tid": "2995", "price": "18.90000000", "amount": "0.27000000"}, {"date": "1308072102", "tid": "2997", "price": "18.90000000", "amount": "0.29100000"}, {"date": "1308072250", "tid": "2999", "price": "18.90000000", "amount": "5.00000000"}, {"date": "1308072696", "tid": "3001", "price": "18.72000000", "amount": "0.10000000"}, {"date": "1308073696", "tid": "3003", "price": "18.72000000", "amount": "1.00000000"}, {"date": "1308073767", "tid": "3005", "price": "18.72000000", "amount": "4.90000000"}, {"date": "1308073859", "tid": "3007", "price": "18.50000000", "amount": "0.30000000"}, {"date": "1308073859", "tid": "3009", "price": "18.50000000", "amount": "1.00000000"}, {"date": "1308073859", "tid": "3011", "price": "18.50000000", "amount": "1.00000000"}, {"date": "1308073859", "tid": "3013", "price": "18.59000000", "amount": "1.01000000"}, {"date": "1308073859", "tid": "3015", "price": "18.50000000", "amount": "7.69000000"}, {"date": "1308073899", "tid": "3017", "price": "18.42000000", "amount": "1.69000000"}, {"date": "1308073899", "tid": "3019", "price": "18.50000000", "amount": "2.31000000"}, {"date": "1308074622", "tid": "3021", "price": "18.90000000", "amount": "1.00000000"}, {"date": "1308074961", "tid": "3023", "price": "18.42000000", "amount": "6.92340000"}, {"date": "1308074961", "tid": "3025", "price": "18.40000000", "amount": "10.50000000"}, {"date": "1308074998", "tid": "3027", "price": "18.40000000", "amount": "7.57660000"}, {"date": "1308075368", "tid": "3029", "price": "18.90000000", "amount": "0.60000000"}, {"date": "1308076174", "tid": "3031", "price": "18.90000000", "amount": "0.50000000"}, {"date": "1308076601", "tid": "3033", "price": "18.90000000", "amount": "1.04400000"}, {"date": "1308076970", "tid": "3035", "price": "18.40000000", "amount": "0.22340000"}, {"date": "1308077156", "tid": "3037", "price": "18.89900000", "amount": "5.00000000"}, {"date": "1308077416", "tid": "3039", "price": "18.20010000", "amount": "0.72200000"}, {"date": "1308077416", "tid": "3041", "price": "18.05000000", "amount": "5.22800000"}, {"date": "1308077416", "tid": "3043", "price": "18.20000000", "amount": "0.50000000"}, {"date": "1308077632", "tid": "3045", "price": "18.05100000", "amount": "1.00000000"}, {"date": "1308078222", "tid": "3047", "price": "18.70000000", "amount": "1.04000000"}, {"date": "1308078222", "tid": "3049", "price": "18.75000000", "amount": "0.50000000"}, {"date": "1308078245", "tid": "3051", "price": "18.75000000", "amount": "1.46000000"}, {"date": "1308078808", "tid": "3061", "price": "18.06000000", "amount": "3.35000000"}, {"date": "1308079018", "tid": "3067", "price": "18.07000000", "amount": "0.06000000"}, {"date": "1308079032", "tid": "3069", "price": "18.88000000", "amount": "1.90000000"}, {"date": "1308079076", "tid": "3071", "price": "18.06000000", "amount": "0.02000000"}, {"date": "1308079076", "tid": "3073", "price": "18.49000000", "amount": "0.98000000"}, {"date": "1308080835", "tid": "3075", "price": "18.20000000", "amount": "19.50000000"}, {"date": "1308080835", "tid": "3077", "price": "18.10000000", "amount": "2.00000000"}, {"date": "1308080970", "tid": "3079", "price": "18.10000000", "amount": "0.15000000"}, {"date": "1308081095", "tid": "3081", "price": "18.05000000", "amount": "0.10000000"}, {"date": "1308081314", "tid": "3083", "price": "18.00000000", "amount": "0.07000000"}, {"date": "1308081314", "tid": "3085", "price": "18.00000000", "amount": "10.00000000"}, {"date": "1308081314", "tid": "3087", "price": "18.00000000", "amount": "12.00000000"}, {"date": "1308081314", "tid": "3089", "price": "18.00000000", "amount": "7.25800000"}, {"date": "1308081314", "tid": "3091", "price": "18.05000000", "amount": "0.67200000"}, {"date": "1308081415", "tid": "3093", "price": "18.25000000", "amount": "25.65000000"}, {"date": "1308081415", "tid": "3095", "price": "18.10000000", "amount": "3.35000000"}, {"date": "1308081440", "tid": "3097", "price": "18.25000000", "amount": "0.25000000"}, {"date": "1308081644", "tid": "3099", "price": "18.00000000", "amount": "1.00000000"}, {"date": "1308081891", "tid": "3105", "price": "17.50000000", "amount": "7.25800000"}, {"date": "1308081891", "tid": "3107", "price": "18.00000000", "amount": "2.74200000"}, {"date": "1308082167", "tid": "3115", "price": "17.50100000", "amount": "2.32000000"}, {"date": "1308082392", "tid": "3119", "price": "18.00000000", "amount": "1.00000000"}, {"date": "1308082632", "tid": "3121", "price": "18.05000000", "amount": "25.00000000"}, {"date": "1308082926", "tid": "3123", "price": "17.59900000", "amount": "1.00000000"}, {"date": "1308083062", "tid": "3125", "price": "18.00000000", "amount": "1.00000000"}, {"date": "1308083098", "tid": "3127", "price": "18.00000000", "amount": "10.00000000"}, {"date": "1308083116", "tid": "3129", "price": "18.00000000", "amount": "9.00000000"}, {"date": "1308085011", "tid": "3135", "price": "18.20000000", "amount": "1.00000000"}, {"date": "1308085682", "tid": "3139", "price": "18.24000000", "amount": "2.00000000"}, {"date": "1308085700", "tid": "3141", "price": "18.24000000", "amount": "3.00000000"}, {"date": "1308085721", "tid": "3143", "price": "18.25000000", "amount": "2.87000000"}, {"date": "1308085752", "tid": "3145", "price": "18.25000000", "amount": "2.80000000"}, {"date": "1308085776", "tid": "3147", "price": "18.25000000", "amount": "2.80000000"}, {"date": "1308085979", "tid": "3149", "price": "18.25000000", "amount": "1.02500000"}, {"date": "1308086001", "tid": "3151", "price": "18.25000000", "amount": "1.00000000"}, {"date": "1308086142", "tid": "3153", "price": "18.25000000", "amount": "13.60500000"}, {"date": "1308086142", "tid": "3155", "price": "18.25000000", "amount": "2.80000000"}, {"date": "1308086407", "tid": "3157", "price": "18.25000000", "amount": "5.40000000"}, {"date": "1308086444", "tid": "3159", "price": "18.25000000", "amount": "2.00000000"}, {"date": "1308086497", "tid": "3161", "price": "18.25000000", "amount": "2.60000000"}, {"date": "1308086607", "tid": "3163", "price": "18.89979900", "amount": "0.48000000"}, {"date": "1308086714", "tid": "3165", "price": "18.25010000", "amount": "0.10000000"}, {"date": "1308087177", "tid": "3167", "price": "18.74999900", "amount": "0.10000000"}, {"date": "1308088125", "tid": "3169", "price": "18.20000000", "amount": "15.00000000"}, {"date": "1308088126", "tid": "3171", "price": "18.06000000", "amount": "6.35000000"}, {"date": "1308088126", "tid": "3173", "price": "17.50000000", "amount": "15.53000000"}, {"date": "1308088126", "tid": "3175", "price": "18.25000000", "amount": "1.40000000"}, {"date": "1308088126", "tid": "3177", "price": "18.05000000", "amount": "8.31000000"}, {"date": "1308088126", "tid": "3179", "price": "17.59000000", "amount": "1.01000000"}, {"date": "1308088126", "tid": "3181", "price": "17.50000000", "amount": "1.00000000"}, {"date": "1308088126", "tid": "3183", "price": "18.25010000", "amount": "1.40000000"}, {"date": "1308088168", "tid": "3185", "price": "17.50000000", "amount": "1.31000000"}, {"date": "1308088168", "tid": "3187", "price": "17.50000000", "amount": "4.47000000"}, {"date": "1308088941", "tid": "3189", "price": "18.50000000", "amount": "1.00000000"}, {"date": "1308090550", "tid": "3193", "price": "18.50000000", "amount": "1.00000000"}, {"date": "1308090568", "tid": "3195", "price": "18.50000000", "amount": "1.00000000"}, {"date": "1308090602", "tid": "3197", "price": "18.50000000", "amount": "1.00000000"}, {"date": "1308090622", "tid": "3199", "price": "18.50000000", "amount": "1.00000000"}, {"date": "1308090643", "tid": "3201", "price": "18.50000000", "amount": "1.00000000"}, {"date": "1308092621", "tid": "3203", "price": "18.50000000", "amount": "1.00000000"}, {"date": "1308092634", "tid": "3205", "price": "18.50000000", "amount": "1.00000000"}, {"date": "1308092751", "tid": "3207", "price": "18.50000000", "amount": "1.00000000"}, {"date": "1308092766", "tid": "3209", "price": "18.50000000", "amount": "1.00000000"}, {"date": "1308093183", "tid": "3213", "price": "17.50000000", "amount": "0.20000000"}, {"date": "1308093429", "tid": "3215", "price": "18.74990000", "amount": "0.10000000"}, {"date": "1308093495", "tid": "3217", "price": "18.74990000", "amount": "0.10000000"}, {"date": "1308094055", "tid": "3219", "price": "17.50000000", "amount": "1.23200000"}, {"date": "1308094055", "tid": "3221", "price": "17.50000000", "amount": "0.86800000"}, {"date": "1308094160", "tid": "3223", "price": "18.74990000", "amount": "0.10000000"}, {"date": "1308094172", "tid": "3225", "price": "18.74990000", "amount": "0.10000000"}, {"date": "1308094313", "tid": "3227", "price": "18.74990000", "amount": "0.10000000"}, {"date": "1308094329", "tid": "3229", "price": "18.74990000", "amount": "0.10000000"}, {"date": "1308094339", "tid": "3231", "price": "18.74990000", "amount": "0.10000000"}, {"date": "1308094350", "tid": "3233", "price": "18.74990000", "amount": "0.02200000"}, {"date": "1308094350", "tid": "3235", "price": "18.75000000", "amount": "0.07800000"}, {"date": "1308094363", "tid": "3237", "price": "18.75000000", "amount": "0.10000000"}, {"date": "1308094374", "tid": "3239", "price": "18.75000000", "amount": "0.10000000"}, {"date": "1308094385", "tid": "3241", "price": "18.75000000", "amount": "0.10000000"}, {"date": "1308094401", "tid": "3243", "price": "18.75000000", "amount": "0.10000000"}, {"date": "1308094412", "tid": "3245", "price": "18.75000000", "amount": "0.10000000"}, {"date": "1308094422", "tid": "3247", "price": "18.75000000", "amount": "0.10000000"}, {"date": "1308094423", "tid": "3249", "price": "17.50000000", "amount": "0.10000000"}, {"date": "1308094433", "tid": "3251", "price": "18.75000000", "amount": "0.10000000"}, {"date": "1308094447", "tid": "3253", "price": "18.75000000", "amount": "0.10000000"}, {"date": "1308094586", "tid": "3255", "price": "18.75000000", "amount": "1.00000000"}, {"date": "1308094598", "tid": "3257", "price": "18.75000000", "amount": "1.00000000"}, {"date": "1308095026", "tid": "3259", "price": "18.75000000", "amount": "1.00000000"}, {"date": "1308095043", "tid": "3261", "price": "18.75000000", "amount": "1.00000000"}, {"date": "1308095153", "tid": "3265", "price": "18.75000000", "amount": "0.10000000"}, {"date": "1308095551", "tid": "3267", "price": "18.75000000", "amount": "1.00000000"}, {"date": "1308095592", "tid": "3269", "price": "18.75000000", "amount": "10.00000000"}, {"date": "1308095606", "tid": "3271", "price": "18.90000000", "amount": "0.97800000"}, {"date": "1308095606", "tid": "3273", "price": "18.75000000", "amount": "9.02200000"}, {"date": "1308095953", "tid": "3275", "price": "18.90000000", "amount": "0.10000000"}, {"date": "1308096045", "tid": "3277", "price": "18.90000000", "amount": "1.00000000"}, {"date": "1308096132", "tid": "3279", "price": "18.90000000", "amount": "0.10000000"}, {"date": "1308096195", "tid": "3281", "price": "18.90000000", "amount": "0.10000000"}, {"date": "1308096207", "tid": "3283", "price": "18.90000000", "amount": "0.10000000"}, {"date": "1308096248", "tid": "3285", "price": "18.90000000", "amount": "0.10000000"}, {"date": "1308096390", "tid": "3287", "price": "18.90000000", "amount": "0.10000000"}, {"date": "1308096394", "tid": "3289", "price": "18.90000000", "amount": "0.10000000"}, {"date": "1308096480", "tid": "3291", "price": "18.90000000", "amount": "0.10000000"}, {"date": "1308096555", "tid": "3293", "price": "18.90000000", "amount": "0.10000000"}, {"date": "1308096598", "tid": "3295", "price": "18.90000000", "amount": "0.10000000"}, {"date": "1308096614", "tid": "3297", "price": "18.90000000", "amount": "0.10000000"}, {"date": "1308096630", "tid": "3299", "price": "18.90000000", "amount": "0.10000000"}, {"date": "1308096678", "tid": "3301", "price": "18.90000000", "amount": "0.20000000"}, {"date": "1308096691", "tid": "3303", "price": "18.90000000", "amount": "0.20000000"}, {"date": "1308096708", "tid": "3305", "price": "18.90000000", "amount": "0.20000000"}, {"date": "1308096722", "tid": "3307", "price": "18.90000000", "amount": "0.20000000"}, {"date": "1308096847", "tid": "3309", "price": "18.90000000", "amount": "0.20000000"}, {"date": "1308096860", "tid": "3311", "price": "18.90000000", "amount": "0.20000000"}, {"date": "1308096874", "tid": "3313", "price": "18.90000000", "amount": "0.20000000"}, {"date": "1308096887", "tid": "3315", "price": "18.90000000", "amount": "0.20000000"}, {"date": "1308096929", "tid": "3317", "price": "18.90000000", "amount": "9.00000000"}, {"date": "1308096993", "tid": "3319", "price": "18.90000000", "amount": "0.10000000"}, {"date": "1308097004", "tid": "3321", "price": "18.90000000", "amount": "10.00000000"}, {"date": "1308097032", "tid": "3323", "price": "18.90000000", "amount": "0.10000000"}, {"date": "1308098210", "tid": "3325", "price": "18.90000000", "amount": "0.52200000"}, {"date": "1308098210", "tid": "3327", "price": "19.00000000", "amount": "8.47800000"}, {"date": "1308098210", "tid": "3329", "price": "18.99990000", "amount": "1.00000000"}, {"date": "1308098224", "tid": "3331", "price": "19.00000000", "amount": "4.50000000"}, {"date": "1308098224", "tid": "3333", "price": "19.00000000", "amount": "5.50000000"}, {"date": "1308098240", "tid": "3335", "price": "19.00000000", "amount": "10.00000000"}, {"date": "1308098267", "tid": "3337", "price": "19.00000000", "amount": "10.00000000"}, {"date": "1308099279", "tid": "3339", "price": "19.00000000", "amount": "7.60000000"}, {"date": "1308099279", "tid": "3341", "price": "19.00000000", "amount": "17.40000000"}, {"date": "1308099582", "tid": "3343", "price": "19.00000000", "amount": "0.50000000"}, {"date": "1308099582", "tid": "3345", "price": "19.00000000", "amount": "0.50000000"}, {"date": "1308099944", "tid": "3347", "price": "19.00000000", "amount": "1.00000000"}, {"date": "1308100368", "tid": "3349", "price": "19.00000000", "amount": "0.47700000"}, {"date": "1308101081", "tid": "3351", "price": "15.03000000", "amount": "3.56950000"}, {"date": "1308101081", "tid": "3353", "price": "17.51000000", "amount": "2.00000000"}, {"date": "1308101081", "tid": "3355", "price": "16.47000000", "amount": "0.21000000"}, {"date": "1308101081", "tid": "3357", "price": "18.90000000", "amount": "2.00000000"}, {"date": "1308101081", "tid": "3359", "price": "18.39999000", "amount": "1.02000000"}, {"date": "1308101081", "tid": "3361", "price": "17.50000000", "amount": "7.03200000"}, {"date": "1308101081", "tid": "3363", "price": "15.43200000", "amount": "4.00000000"}, {"date": "1308101081", "tid": "3365", "price": "17.00000000", "amount": "1.00000000"}, {"date": "1308101081", "tid": "3367", "price": "16.00000000", "amount": "0.20000000"}, {"date": "1308101081", "tid": "3369", "price": "17.50010000", "amount": "0.76850000"}, {"date": "1308101081", "tid": "3371", "price": "16.00000000", "amount": "4.25000000"}, {"date": "1308101081", "tid": "3373", "price": "17.30000000", "amount": "1.25000000"}, {"date": "1308101486", "tid": "3375", "price": "19.50000000", "amount": "18.05500000"}, {"date": "1308101486", "tid": "3377", "price": "19.00000000", "amount": "31.94500000"}, {"date": "1308101583", "tid": "3379", "price": "19.00000000", "amount": "0.33000000"}, {"date": "1308101866", "tid": "3381", "price": "19.00000000", "amount": "0.76850000"}, {"date": "1308102252", "tid": "3383", "price": "19.00000000", "amount": "25.00000000"}, {"date": "1308102274", "tid": "3385", "price": "19.25000000", "amount": "0.37000000"}, {"date": "1308103136", "tid": "3387", "price": "19.00000000", "amount": "5.78000000"}, {"date": "1308103465", "tid": "3393", "price": "19.00000000", "amount": "1.00000000"}, {"date": "1308103733", "tid": "3395", "price": "19.20000000", "amount": "15.00000000"}, {"date": "1308103751", "tid": "3397", "price": "19.00000000", "amount": "5.00000000"}, {"date": "1308104744", "tid": "3399", "price": "19.05000000", "amount": "20.00000000"}, {"date": "1308105365", "tid": "3401", "price": "19.00000000", "amount": "0.17000000"}, {"date": "1308105636", "tid": "3403", "price": "19.00000000", "amount": "11.00000000"}, {"date": "1308106294", "tid": "3405", "price": "19.00000000", "amount": "0.95150000"}, {"date": "1308110735", "tid": "3407", "price": "18.70000000", "amount": "1.00000000"}, {"date": "1308111206", "tid": "3409", "price": "18.75000000", "amount": "0.10000000"}, {"date": "1308111354", "tid": "3411", "price": "18.75000000", "amount": "0.10000000"}, {"date": "1308111411", "tid": "3413", "price": "18.75000000", "amount": "0.09000000"}, {"date": "1308111598", "tid": "3415", "price": "18.99000000", "amount": "0.10000000"}, {"date": "1308111685", "tid": "3417", "price": "18.99000000", "amount": "0.10000000"}, {"date": "1308111754", "tid": "3419", "price": "18.99000000", "amount": "0.20000000"}, {"date": "1308111807", "tid": "3421", "price": "18.99000000", "amount": "1.14850000"}, {"date": "1308112056", "tid": "3423", "price": "18.70000000", "amount": "5.05000000"}, {"date": "1308112057", "tid": "3425", "price": "19.00000000", "amount": "0.10000000"}, {"date": "1308112770", "tid": "3427", "price": "19.00000000", "amount": "0.10000000"}, {"date": "1308113315", "tid": "3429", "price": "19.00000000", "amount": "0.48200000"}, {"date": "1308113408", "tid": "3431", "price": "18.70000000", "amount": "0.10000000"}, {"date": "1308113619", "tid": "3433", "price": "19.00000000", "amount": "0.10000000"}, {"date": "1308113686", "tid": "3435", "price": "19.00000000", "amount": "1.90000000"}, {"date": "1308113730", "tid": "3437", "price": "19.00000000", "amount": "0.10000000"}, {"date": "1308113857", "tid": "3439", "price": "19.00000000", "amount": "0.10000000"}, {"date": "1308114194", "tid": "3441", "price": "19.00000000", "amount": "0.10000000"}, {"date": "1308114264", "tid": "3443", "price": "19.00000000", "amount": "0.10000000"}, {"date": "1308114371", "tid": "3445", "price": "19.00000000", "amount": "0.10000000"}, {"date": "1308114812", "tid": "3447", "price": "19.00000000", "amount": "0.45000000"}, {"date": "1308115175", "tid": "3449", "price": "19.00000000", "amount": "0.10000000"}, {"date": "1308115308", "tid": "3451", "price": "19.00000000", "amount": "0.10000000"}, {"date": "1308115510", "tid": "3453", "price": "19.00000000", "amount": "4.06200000"}, {"date": "1308115510", "tid": "3455", "price": "19.00000000", "amount": "1.16800000"}, {"date": "1308115674", "tid": "3457", "price": "19.00000000", "amount": "1.04679000"}, {"date": "1308117018", "tid": "3459", "price": "19.00000000", "amount": "0.90000000"}, {"date": "1308117849", "tid": "3461", "price": "19.00000000", "amount": "0.10000000"}, {"date": "1308117971", "tid": "3463", "price": "19.00000000", "amount": "0.19000000"}, {"date": "1308118074", "tid": "3465", "price": "19.00000000", "amount": "0.10000000"}, {"date": "1308118197", "tid": "3467", "price": "19.00000000", "amount": "0.10000000"}, {"date": "1308118268", "tid": "3469", "price": "19.00000000", "amount": "0.20000000"}, {"date": "1308118291", "tid": "3471", "price": "19.00000000", "amount": "2.00000000"}, {"date": "1308118327", "tid": "3473", "price": "19.00000000", "amount": "0.10000000"}, {"date": "1308118406", "tid": "3475", "price": "19.00000000", "amount": "0.10000000"}, {"date": "1308118479", "tid": "3477", "price": "19.00000000", "amount": "0.10000000"}, {"date": "1308118521", "tid": "3479", "price": "19.00000000", "amount": "0.10000000"}, {"date": "1308118537", "tid": "3481", "price": "19.00000000", "amount": "0.20000000"}, {"date": "1308118613", "tid": "3483", "price": "19.00000000", "amount": "2.00000000"}, {"date": "1308118664", "tid": "3485", "price": "19.00000000", "amount": "1.00000000"}, {"date": "1308119022", "tid": "3487", "price": "19.00000000", "amount": "0.20000000"}, {"date": "1308119135", "tid": "3489", "price": "19.00000000", "amount": "0.20000000"}, {"date": "1308119321", "tid": "3491", "price": "18.70000000", "amount": "0.38000000"}, {"date": "1308119343", "tid": "3493", "price": "19.00000000", "amount": "5.00000000"}, {"date": "1308119407", "tid": "3495", "price": "19.00000000", "amount": "0.20000000"}, {"date": "1308119758", "tid": "3497", "price": "19.00000000", "amount": "0.20000000"}, {"date": "1308119841", "tid": "3499", "price": "19.00000000", "amount": "0.20000000"}, {"date": "1308119986", "tid": "3501", "price": "19.00000000", "amount": "0.20000000"}, {"date": "1308120094", "tid": "3503", "price": "19.00000000", "amount": "0.20000000"}, {"date": "1308120306", "tid": "3505", "price": "19.00000000", "amount": "0.20000000"}, {"date": "1308120400", "tid": "3507", "price": "19.00000000", "amount": "0.20000000"}, {"date": "1308122314", "tid": "3511", "price": "18.70000000", "amount": "0.40000000"}, {"date": "1308122684", "tid": "3513", "price": "19.00000000", "amount": "0.20000000"}, {"date": "1308122810", "tid": "3515", "price": "19.00000000", "amount": "0.20000000"}, {"date": "1308123734", "tid": "3517", "price": "19.00000000", "amount": "0.20000000"}, {"date": "1308123886", "tid": "3519", "price": "19.00000000", "amount": "0.20000000"}, {"date": "1308124296", "tid": "3521", "price": "19.00000000", "amount": "0.20000000"}, {"date": "1308124301", "tid": "3523", "price": "19.00000000", "amount": "0.20000000"}, {"date": "1308125690", "tid": "3525", "price": "19.00000000", "amount": "29.70121000"}, {"date": "1308125690", "tid": "3527", "price": "19.00000000", "amount": "11.29879000"}, {"date": "1308126573", "tid": "3529", "price": "18.70000000", "amount": "1.00000000"}, {"date": "1308126596", "tid": "3531", "price": "18.70000000", "amount": "1.37000000"}, {"date": "1308127246", "tid": "3533", "price": "19.00000000", "amount": "2.30000000"}, {"date": "1308127378", "tid": "3535", "price": "19.00000000", "amount": "15.71000000"}, {"date": "1308127575", "tid": "3537", "price": "19.00000000", "amount": "3.08000000"}, {"date": "1308130501", "tid": "3539", "price": "18.70000000", "amount": "0.78000000"}, {"date": "1308130851", "tid": "3541", "price": "19.00000000", "amount": "9.10753600"}, {"date": "1308130887", "tid": "3543", "price": "19.00000000", "amount": "8.23385200"}, {"date": "1308130925", "tid": "3545", "price": "19.00000000", "amount": "0.26982200"}, {"date": "1308130964", "tid": "3547", "price": "19.05000000", "amount": "5.00000000"}, {"date": "1308131002", "tid": "3549", "price": "19.20000000", "amount": "6.93718600"}, {"date": "1308131040", "tid": "3551", "price": "19.20000000", "amount": "6.28817900"}, {"date": "1308131064", "tid": "3553", "price": "19.20000000", "amount": "5.67632100"}, {"date": "1308131096", "tid": "3555", "price": "19.20000000", "amount": "5.12529000"}, {"date": "1308131239", "tid": "3557", "price": "19.20000000", "amount": "0.97302400"}, {"date": "1308131278", "tid": "3559", "price": "19.20000000", "amount": "4.53404100"}, {"date": "1308131316", "tid": "3561", "price": "19.20000000", "amount": "4.09253300"}, {"date": "1308131477", "tid": "3563", "price": "19.20000000", "amount": "3.69588000"}, {"date": "1308131513", "tid": "3565", "price": "19.20000000", "amount": "2.67754600"}, {"date": "1308131513", "tid": "3567", "price": "19.20000000", "amount": "0.65826000"}, {"date": "1308131552", "tid": "3569", "price": "19.20000000", "amount": "3.01081400"}, {"date": "1308131585", "tid": "3571", "price": "19.20000000", "amount": "1.33092600"}, {"date": "1308131615", "tid": "3573", "price": "19.50000000", "amount": "2.58789600"}, {"date": "1308131654", "tid": "3575", "price": "19.50000000", "amount": "2.33182100"}, {"date": "1308133776", "tid": "3577", "price": "19.00000000", "amount": "0.10000000"}, {"date": "1308134649", "tid": "3579", "price": "19.50000000", "amount": "10.00000000"}, {"date": "1308134683", "tid": "3581", "price": "19.50000000", "amount": "7.00000000"}, {"date": "1308135075", "tid": "3583", "price": "18.90000000", "amount": "0.73000000"}, {"date": "1308135662", "tid": "3585", "price": "19.50000000", "amount": "5.09900000"}, {"date": "1308136150", "tid": "3587", "price": "19.50000000", "amount": "4.92628300"}, {"date": "1308136151", "tid": "3589", "price": "19.77000000", "amount": "0.07371700"}, {"date": "1308136253", "tid": "3591", "price": "19.79000000", "amount": "1.00000000"}, {"date": "1308136253", "tid": "3593", "price": "19.78000000", "amount": "25.00000000"}, {"date": "1308136253", "tid": "3595", "price": "19.77000000", "amount": "0.92628300"}, {"date": "1308136253", "tid": "3597", "price": "19.87000000", "amount": "1.07371700"}, {"date": "1308136253", "tid": "3599", "price": "19.86000000", "amount": "22.00000000"}, {"date": "1308136334", "tid": "3601", "price": "18.90000000", "amount": "1.27000000"}, {"date": "1308136334", "tid": "3603", "price": "18.85000000", "amount": "4.90000000"}, {"date": "1308137157", "tid": "3605", "price": "19.87000000", "amount": "1.00000000"}, {"date": "1308137419", "tid": "3607", "price": "18.90000000", "amount": "0.52000000"}, {"date": "1308138290", "tid": "3609", "price": "19.87000000", "amount": "1.78600000"}, {"date": "1308138294", "tid": "3611", "price": "19.87000000", "amount": "7.21400000"}, {"date": "1308138761", "tid": "3613", "price": "19.80000000", "amount": "7.00000000"}, {"date": "1308147260", "tid": "3617", "price": "19.80000000", "amount": "5.00000000"}, {"date": "1308147746", "tid": "3619", "price": "19.00000000", "amount": "0.26000000"}, {"date": "1308147746", "tid": "3621", "price": "18.85000000", "amount": "0.26000000"}, {"date": "1308147746", "tid": "3623", "price": "18.90000000", "amount": "1.48000000"}, {"date": "1308148437", "tid": "3625", "price": "18.70000000", "amount": "3.85000000"}, {"date": "1308148437", "tid": "3627", "price": "18.85000000", "amount": "1.15000000"}, {"date": "1308149300", "tid": "3631", "price": "19.70000000", "amount": "20.00000000"}, {"date": "1308149345", "tid": "3633", "price": "19.70000000", "amount": "5.00000000"}, {"date": "1308149732", "tid": "3635", "price": "19.70000000", "amount": "1.00000000"}, {"date": "1308149960", "tid": "3637", "price": "18.11500000", "amount": "1.23000000"}, {"date": "1308149960", "tid": "3639", "price": "18.70000000", "amount": "23.07000000"}, {"date": "1308149960", "tid": "3641", "price": "18.21000000", "amount": "1.00000000"}, {"date": "1308149960", "tid": "3643", "price": "18.00100000", "amount": "0.80000000"}, {"date": "1308149960", "tid": "3645", "price": "18.80000000", "amount": "5.00000000"}, {"date": "1308149960", "tid": "3647", "price": "18.50000000", "amount": "5.20000000"}, {"date": "1308149960", "tid": "3649", "price": "17.50000000", "amount": "13.70000000"}, {"date": "1308150190", "tid": "3651", "price": "19.64000000", "amount": "10.00000000"}, {"date": "1308150635", "tid": "3653", "price": "17.00000000", "amount": "13.40000000"}, {"date": "1308150635", "tid": "3655", "price": "17.00000000", "amount": "1.00000000"}, {"date": "1308150635", "tid": "3657", "price": "17.12000000", "amount": "15.00000000"}, {"date": "1308150635", "tid": "3659", "price": "17.40000000", "amount": "14.30000000"}, {"date": "1308150635", "tid": "3661", "price": "17.50000000", "amount": "6.30000000"}, {"date": "1308151059", "tid": "3663", "price": "17.00000000", "amount": "16.60000000"}, {"date": "1308151059", "tid": "3665", "price": "16.80000000", "amount": "17.70000000"}, {"date": "1308151059", "tid": "3667", "price": "17.00000000", "amount": "1.00000000"}, {"date": "1308151059", "tid": "3669", "price": "16.90000000", "amount": "14.70000000"}, {"date": "1308151192", "tid": "3671", "price": "16.40000000", "amount": "15.20000000"}, {"date": "1308151192", "tid": "3673", "price": "18.25000000", "amount": "5.00000000"}, {"date": "1308151192", "tid": "3675", "price": "17.01000000", "amount": "3.00000000"}, {"date": "1308151192", "tid": "3677", "price": "16.00000000", "amount": "7.25000000"}, {"date": "1308151192", "tid": "3679", "price": "16.00000000", "amount": "7.25000000"}, {"date": "1308151193", "tid": "3681", "price": "16.80000000", "amount": "2.30000000"}, {"date": "1308151193", "tid": "3683", "price": "16.05000000", "amount": "10.00000000"}, {"date": "1308151263", "tid": "3685", "price": "19.50000000", "amount": "3.74460000"}, {"date": "1308151263", "tid": "3687", "price": "19.50000000", "amount": "1.25540000"}, {"date": "1308152372", "tid": "3689", "price": "19.00000000", "amount": "1.00000000"}, {"date": "1308153253", "tid": "3691", "price": "17.50000000", "amount": "3.00000000"}, {"date": "1308153456", "tid": "3693", "price": "18.60000000", "amount": "0.20000000"}, {"date": "1308153463", "tid": "3695", "price": "18.60000000", "amount": "0.10000000"}, {"date": "1308153463", "tid": "3697", "price": "18.70000000", "amount": "0.10000000"}, {"date": "1308153470", "tid": "3699", "price": "18.70000000", "amount": "0.12000000"}, {"date": "1308153537", "tid": "3705", "price": "18.74200000", "amount": "0.08000000"}, {"date": "1308153537", "tid": "3707", "price": "18.74200000", "amount": "0.20000000"}, {"date": "1308153712", "tid": "3715", "price": "18.74200000", "amount": "1.50000000"}, {"date": "1308153801", "tid": "3717", "price": "18.74200000", "amount": "5.00000000"}, {"date": "1308154344", "tid": "3719", "price": "18.74200000", "amount": "0.20000000"}, {"date": "1308156360", "tid": "3723", "price": "18.50000000", "amount": "3.00000000"}, {"date": "1308157682", "tid": "3725", "price": "18.74200000", "amount": "0.27000000"}, {"date": "1308157890", "tid": "3727", "price": "19.00000000", "amount": "6.05000000"}, {"date": "1308158569", "tid": "3729", "price": "18.99900000", "amount": "1.00000000"}, {"date": "1308159576", "tid": "3735", "price": "18.70000000", "amount": "2.00000000"}, {"date": "1308159618", "tid": "3737", "price": "18.70000000", "amount": "0.80000000"}, {"date": "1308161296", "tid": "3739", "price": "18.70000000", "amount": "9.20000000"}, {"date": "1308162233", "tid": "3741", "price": "18.90000000", "amount": "1.00000000"}, {"date": "1308162872", "tid": "3743", "price": "19.00000000", "amount": "1.00000000"}, {"date": "1308163111", "tid": "3745", "price": "18.70000000", "amount": "1.00000000"}, {"date": "1308164977", "tid": "3749", "price": "18.70000000", "amount": "1.00000000"}, {"date": "1308165552", "tid": "3751", "price": "18.90000000", "amount": "0.12000000"}, {"date": "1308165602", "tid": "3753", "price": "19.00000000", "amount": "2.88000000"}, {"date": "1308165721", "tid": "3755", "price": "19.00000000", "amount": "2.00000000"}, {"date": "1308165988", "tid": "3757", "price": "19.00000000", "amount": "2.07000000"}, {"date": "1308165988", "tid": "3759", "price": "19.00000000", "amount": "0.93000000"}, {"date": "1308167503", "tid": "3761", "price": "19.00000000", "amount": "1.00000000"}, {"date": "1308168194", "tid": "3763", "price": "19.00000000", "amount": "5.20000000"}, {"date": "1308168349", "tid": "3765", "price": "18.60000000", "amount": "1.00000000"}, {"date": "1308168349", "tid": "3767", "price": "18.50000000", "amount": "4.20000000"}, {"date": "1308168661", "tid": "3769", "price": "19.00000000", "amount": "3.87000000"}, {"date": "1308168865", "tid": "3771", "price": "19.50000000", "amount": "43.90000000"}, {"date": "1308168865", "tid": "3773", "price": "19.50000000", "amount": "3.00000000"}, {"date": "1308168865", "tid": "3775", "price": "19.40000000", "amount": "2.10000000"}, {"date": "1308168865", "tid": "3777", "price": "19.40000000", "amount": "1.00000000"}, {"date": "1308169466", "tid": "3779", "price": "19.50000000", "amount": "1.13000000"}, {"date": "1308170158", "tid": "3781", "price": "18.50000000", "amount": "20.80000000"}, {"date": "1308170158", "tid": "3783", "price": "18.53000000", "amount": "1.00000000"}, {"date": "1308170158", "tid": "3785", "price": "18.52000000", "amount": "20.00000000"}, {"date": "1308170158", "tid": "3787", "price": "18.40000000", "amount": "8.20000000"}, {"date": "1308170176", "tid": "3789", "price": "17.00010000", "amount": "1.20000000"}, {"date": "1308170177", "tid": "3791", "price": "17.80000000", "amount": "25.00000000"}, {"date": "1308170177", "tid": "3793", "price": "17.50000000", "amount": "10.00000000"}, {"date": "1308170177", "tid": "3795", "price": "18.00000000", "amount": "2.00000000"}, {"date": "1308170177", "tid": "3797", "price": "18.40000000", "amount": "11.80000000"}, {"date": "1308170195", "tid": "3799", "price": "17.00000000", "amount": "12.00000000"}, {"date": "1308170195", "tid": "3801", "price": "17.00010000", "amount": "0.22500000"}, {"date": "1308170195", "tid": "3803", "price": "17.00000000", "amount": "0.18600000"}, {"date": "1308170195", "tid": "3805", "price": "17.00000000", "amount": "26.43900000"}, {"date": "1308170195", "tid": "3807", "price": "17.00000000", "amount": "11.15000000"}, {"date": "1308170209", "tid": "3809", "price": "17.00000000", "amount": "50.00000000"}, {"date": "1308170817", "tid": "3811", "price": "19.50000000", "amount": "4.97000000"}, {"date": "1308170817", "tid": "3813", "price": "19.50000000", "amount": "12.00000000"}, {"date": "1308170817", "tid": "3815", "price": "19.60000000", "amount": "1.00000000"}, {"date": "1308170817", "tid": "3817", "price": "19.70000000", "amount": "6.03000000"}, {"date": "1308170817", "tid": "3819", "price": "19.30000000", "amount": "1.00000000"}, {"date": "1308170818", "tid": "3821", "price": "19.50000000", "amount": "25.00000000"}, {"date": "1308171301", "tid": "3823", "price": "19.67000000", "amount": "0.06000000"}, {"date": "1308171975", "tid": "3825", "price": "18.00000000", "amount": "23.00000000"}, {"date": "1308172114", "tid": "3827", "price": "19.68000000", "amount": "3.56920000"}, {"date": "1308172114", "tid": "3829", "price": "19.67000000", "amount": "1.48500000"}, {"date": "1308172428", "tid": "3831", "price": "19.67000000", "amount": "0.06000000"}, {"date": "1308172575", "tid": "3833", "price": "19.66000000", "amount": "0.06000000"}, {"date": "1308174004", "tid": "3835", "price": "18.10000000", "amount": "0.44000000"}, {"date": "1308174272", "tid": "3837", "price": "18.10000000", "amount": "1.56000000"}, {"date": "1308174272", "tid": "3839", "price": "18.00000000", "amount": "6.69000000"}, {"date": "1308175702", "tid": "3847", "price": "19.30000000", "amount": "2.00000000"}, {"date": "1308175702", "tid": "3849", "price": "19.40000000", "amount": "1.00000000"}, {"date": "1308176014", "tid": "3851", "price": "19.10000000", "amount": "0.32900000"}, {"date": "1308177712", "tid": "3857", "price": "19.35000000", "amount": "2.00000000"}, {"date": "1308177712", "tid": "3859", "price": "19.45000000", "amount": "1.00000000"}, {"date": "1308177712", "tid": "3861", "price": "19.40000000", "amount": "17.42000000"}, {"date": "1308177712", "tid": "3863", "price": "19.50000000", "amount": "9.98000000"}, {"date": "1308177712", "tid": "3865", "price": "19.50000000", "amount": "19.60000000"}, {"date": "1308177937", "tid": "3867", "price": "19.60000000", "amount": "2.69400000"}, {"date": "1308177937", "tid": "3869", "price": "19.50000000", "amount": "0.18600000"}, {"date": "1308177937", "tid": "3871", "price": "19.50000000", "amount": "0.02000000"}, {"date": "1308179449", "tid": "3873", "price": "19.37499600", "amount": "3.00000000"}, {"date": "1308179595", "tid": "3875", "price": "19.10000000", "amount": "0.32900000"}, {"date": "1308179595", "tid": "3877", "price": "19.10000000", "amount": "0.67100000"}, {"date": "1308179902", "tid": "3879", "price": "19.37499600", "amount": "0.51330000"}, {"date": "1308180800", "tid": "3881", "price": "19.10000000", "amount": "1.67100000"}, {"date": "1308180800", "tid": "3883", "price": "18.50000000", "amount": "3.00000000"}, {"date": "1308180800", "tid": "3885", "price": "18.50000000", "amount": "0.75000000"}, {"date": "1308180800", "tid": "3887", "price": "18.20000000", "amount": "16.55900000"}, {"date": "1308180800", "tid": "3889", "price": "19.03001000", "amount": "1.02000000"}, {"date": "1308180800", "tid": "3891", "price": "19.20000000", "amount": "2.00000000"}, {"date": "1308182463", "tid": "3895", "price": "18.81000000", "amount": "1.10000000"}, {"date": "1308182711", "tid": "3897", "price": "18.81000000", "amount": "0.50000000"}, {"date": "1308182827", "tid": "3899", "price": "19.50000000", "amount": "1.00000000"}, {"date": "1308182881", "tid": "3901", "price": "19.50000000", "amount": "0.25000000"}, {"date": "1308185173", "tid": "3903", "price": "19.60000000", "amount": "2.30600000"}, {"date": "1308185173", "tid": "3905", "price": "19.70000000", "amount": "13.90400000"}, {"date": "1308185173", "tid": "3907", "price": "19.70000000", "amount": "17.97000000"}, {"date": "1308185173", "tid": "3909", "price": "19.50000000", "amount": "0.82000000"}, {"date": "1308185173", "tid": "3911", "price": "19.50000000", "amount": "15.00000000"}, {"date": "1308185175", "tid": "3913", "price": "19.49000000", "amount": "0.75400000"}, {"date": "1308185175", "tid": "3915", "price": "19.48990000", "amount": "0.99600000"}, {"date": "1308185243", "tid": "3917", "price": "19.45000000", "amount": "0.65000000"}, {"date": "1308185469", "tid": "3919", "price": "18.81000001", "amount": "1.00000000"}, {"date": "1308185489", "tid": "3921", "price": "18.81000000", "amount": "0.30000000"}, {"date": "1308185525", "tid": "3923", "price": "19.45000000", "amount": "0.28000000"}, {"date": "1308187422", "tid": "3927", "price": "19.44999999", "amount": "1.00000000"}, {"date": "1308188064", "tid": "3929", "price": "19.20000000", "amount": "10.00000000"}, {"date": "1308188350", "tid": "3931", "price": "19.15000000", "amount": "3.00000000"}, {"date": "1308189348", "tid": "3933", "price": "19.15000000", "amount": "0.28000000"}, {"date": "1308190405", "tid": "3935", "price": "19.15000000", "amount": "0.72000000"}, {"date": "1308190405", "tid": "3937", "price": "19.10000000", "amount": "7.28000000"}, {"date": "1308190877", "tid": "3939", "price": "19.20000000", "amount": "5.00000000"}, {"date": "1308191660", "tid": "3941", "price": "19.10000000", "amount": "2.00000000"}, {"date": "1308192920", "tid": "3943", "price": "19.10000000", "amount": "4.00000000"}, {"date": "1308192977", "tid": "3945", "price": "19.10000000", "amount": "4.00000000"}, {"date": "1308193030", "tid": "3947", "price": "19.10000000", "amount": "3.00000000"}, {"date": "1308193353", "tid": "3949", "price": "18.82000001", "amount": "5.00000000"}, {"date": "1308193426", "tid": "3951", "price": "18.90000000", "amount": "0.10000000"}, {"date": "1308193812", "tid": "3953", "price": "18.90000000", "amount": "3.00000000"}, {"date": "1308193999", "tid": "3955", "price": "18.90000000", "amount": "5.00000000"}, {"date": "1308194039", "tid": "3957", "price": "18.90000000", "amount": "2.50000000"}, {"date": "1308194121", "tid": "3959", "price": "18.82000000", "amount": "6.00000000"}, {"date": "1308194121", "tid": "3961", "price": "18.82000000", "amount": "2.00000000"}, {"date": "1308194150", "tid": "3963", "price": "18.81000000", "amount": "0.43500000"}, {"date": "1308194150", "tid": "3965", "price": "18.82000000", "amount": "4.56500000"}, {"date": "1308194187", "tid": "3967", "price": "18.81000000", "amount": "6.00000000"}, {"date": "1308194591", "tid": "3969", "price": "19.00000000", "amount": "0.10000000"}, {"date": "1308195387", "tid": "3971", "price": "19.09000000", "amount": "4.00000000"}, {"date": "1308195476", "tid": "3973", "price": "19.09000000", "amount": "4.40000000"}, {"date": "1308195520", "tid": "3975", "price": "19.09000000", "amount": "1.60000000"}, {"date": "1308195561", "tid": "3977", "price": "19.20000000", "amount": "3.80000000"}, {"date": "1308195600", "tid": "3979", "price": "19.20000000", "amount": "3.40000000"}, {"date": "1308195620", "tid": "3981", "price": "19.10000000", "amount": "10.00000000"}, {"date": "1308195929", "tid": "3983", "price": "19.10000000", "amount": "16.00000000"}, {"date": "1308196075", "tid": "3985", "price": "19.10000000", "amount": "6.00000000"}, {"date": "1308196265", "tid": "3987", "price": "19.10000000", "amount": "8.00000000"}, {"date": "1308196802", "tid": "3989", "price": "19.10000000", "amount": "7.00000000"}, {"date": "1308196887", "tid": "3991", "price": "19.10000000", "amount": "3.00000000"}, {"date": "1308196887", "tid": "3993", "price": "19.50000000", "amount": "2.20000000"}, {"date": "1308196887", "tid": "3995", "price": "19.20000000", "amount": "2.80000000"}, {"date": "1308197173", "tid": "3997", "price": "19.00000000", "amount": "1.00000000"}, {"date": "1308197382", "tid": "3999", "price": "19.00000000", "amount": "19.00000000"}, {"date": "1308197383", "tid": "4001", "price": "18.82000000", "amount": "10.00000000"}, {"date": "1308197383", "tid": "4003", "price": "18.81000000", "amount": "18.76500000"}, {"date": "1308197383", "tid": "4005", "price": "18.80000000", "amount": "40.00000000"}, {"date": "1308197383", "tid": "4007", "price": "18.76000000", "amount": "2.00000000"}, {"date": "1308197383", "tid": "4009", "price": "18.74000000", "amount": "3.00000000"}, {"date": "1308197383", "tid": "4011", "price": "18.70000000", "amount": "10.00000000"}, {"date": "1308197383", "tid": "4013", "price": "18.70000000", "amount": "5.00000000"}, {"date": "1308197383", "tid": "4015", "price": "18.69000000", "amount": "2.00000000"}, {"date": "1308197383", "tid": "4017", "price": "18.67000000", "amount": "5.00000000"}, {"date": "1308197383", "tid": "4019", "price": "18.62000000", "amount": "4.00000000"}, {"date": "1308197383", "tid": "4021", "price": "18.57000000", "amount": "3.00000000"}, {"date": "1308197383", "tid": "4023", "price": "18.55000000", "amount": "3.00000000"}, {"date": "1308197383", "tid": "4025", "price": "18.50000000", "amount": "4.00000000"}, {"date": "1308197383", "tid": "4027", "price": "18.45000000", "amount": "5.00000000"}, {"date": "1308197383", "tid": "4029", "price": "18.38000000", "amount": "4.00000000"}, {"date": "1308197383", "tid": "4031", "price": "18.25000000", "amount": "3.00000000"}, {"date": "1308197383", "tid": "4033", "price": "18.21000000", "amount": "3.00000000"}, {"date": "1308197383", "tid": "4035", "price": "18.00000000", "amount": "6.23500000"}, {"date": "1308197422", "tid": "4037", "price": "19.10000000", "amount": "1.00000000"}, {"date": "1308198043", "tid": "4039", "price": "19.35000000", "amount": "15.30000000"}, {"date": "1308198199", "tid": "4041", "price": "18.01000000", "amount": "10.00000000"}, {"date": "1308198199", "tid": "4043", "price": "18.10000000", "amount": "10.00000000"}, {"date": "1308198199", "tid": "4045", "price": "18.00000000", "amount": "5.00000000"}, {"date": "1308198318", "tid": "4047", "price": "19.35000000", "amount": "3.00000000"}, {"date": "1308198361", "tid": "4049", "price": "19.35000000", "amount": "2.70000000"}, {"date": "1308198666", "tid": "4051", "price": "19.30000000", "amount": "8.00000000"}, {"date": "1308198682", "tid": "4053", "price": "19.35000000", "amount": "4.00000000"}, {"date": "1308198682", "tid": "4055", "price": "19.30000000", "amount": "2.00000000"}, {"date": "1308198717", "tid": "4057", "price": "19.35000000", "amount": "5.00000000"}, {"date": "1308198718", "tid": "4059", "price": "19.50000000", "amount": "5.00000000"}, {"date": "1308200576", "tid": "4061", "price": "18.11000002", "amount": "0.11000000"}, {"date": "1308202241", "tid": "4063", "price": "19.48000000", "amount": "0.15216707"}, {"date": "1308202798", "tid": "4065", "price": "19.48000000", "amount": "4.80000000"}, {"date": "1308204238", "tid": "4067", "price": "19.48000000", "amount": "0.04783293"}, {"date": "1308204238", "tid": "4069", "price": "19.50000000", "amount": "0.79000000"}, {"date": "1308204238", "tid": "4071", "price": "19.50000000", "amount": "53.80000000"}, {"date": "1308204238", "tid": "4073", "price": "19.50000000", "amount": "95.36216707"}, {"date": "1308205639", "tid": "4075", "price": "19.50000000", "amount": "0.10000000"}, {"date": "1308205801", "tid": "4077", "price": "19.40000000", "amount": "0.50000000"}, {"date": "1308205801", "tid": "4079", "price": "19.40000000", "amount": "1.00000000"}, {"date": "1308205871", "tid": "4081", "price": "19.00000000", "amount": "1.50000000"}, {"date": "1308207304", "tid": "4083", "price": "19.50000000", "amount": "0.20000000"}, {"date": "1308207314", "tid": "4085", "price": "19.50000000", "amount": "0.20000000"}, {"date": "1308207554", "tid": "4087", "price": "19.50000000", "amount": "0.20000000"}, {"date": "1308207566", "tid": "4089", "price": "19.50000000", "amount": "0.20000000"}, {"date": "1308208013", "tid": "4093", "price": "19.50000000", "amount": "3.73783293"}, {"date": "1308208043", "tid": "4095", "price": "19.50000000", "amount": "3.00000000"}, {"date": "1308209266", "tid": "4097", "price": "19.50000000", "amount": "20.00000000"}, {"date": "1308209343", "tid": "4099", "price": "19.50000000", "amount": "3.26216707"}, {"date": "1308209459", "tid": "4101", "price": "19.00000000", "amount": "1.00000000"}, {"date": "1308209471", "tid": "4103", "price": "19.49000000", "amount": "0.20000000"}, {"date": "1308209635", "tid": "4107", "price": "19.49000000", "amount": "0.20000000"}, {"date": "1308209643", "tid": "4109", "price": "19.49000000", "amount": "0.20000000"}, {"date": "1308209687", "tid": "4111", "price": "19.49000000", "amount": "1.00000000"}, {"date": "1308211724", "tid": "4113", "price": "19.45000000", "amount": "1.80000000"}, {"date": "1308212455", "tid": "4115", "price": "19.40000000", "amount": "1.32000000"}, {"date": "1308218504", "tid": "4117", "price": "19.05000002", "amount": "2.08718124"}, {"date": "1308218504", "tid": "4119", "price": "19.05000000", "amount": "1.33040000"}, {"date": "1308218504", "tid": "4121", "price": "19.00000000", "amount": "22.58241876"}, {"date": "1308228834", "tid": "4123", "price": "19.45000000", "amount": "0.03000000"}, {"date": "1308231736", "tid": "4125", "price": "19.25000002", "amount": "10.00000000"}, {"date": "1308232788", "tid": "4127", "price": "19.45000000", "amount": "0.13000000"}, {"date": "1308232829", "tid": "4129", "price": "19.49000000", "amount": "8.57503589"}, {"date": "1308233491", "tid": "4131", "price": "19.28000002", "amount": "0.25321644"}, {"date": "1308233491", "tid": "4133", "price": "19.28000000", "amount": "21.82000000"}, {"date": "1308233491", "tid": "4135", "price": "19.27000000", "amount": "10.00000000"}, {"date": "1308233491", "tid": "4137", "price": "19.25000000", "amount": "0.80000000"}, {"date": "1308233830", "tid": "4139", "price": "19.25000000", "amount": "6.10000000"}, {"date": "1308233866", "tid": "4141", "price": "19.25000000", "amount": "0.08000000"}, {"date": "1308233922", "tid": "4143", "price": "19.25000000", "amount": "6.27000000"}, {"date": "1308233923", "tid": "4145", "price": "19.25000000", "amount": "5.00000000"}, {"date": "1308233947", "tid": "4147", "price": "19.25000000", "amount": "1.00000000"}, {"date": "1308233948", "tid": "4149", "price": "19.21000000", "amount": "1.00000000"}, {"date": "1308233948", "tid": "4151", "price": "19.20000000", "amount": "2.00000000"}, {"date": "1308233948", "tid": "4153", "price": "19.10000000", "amount": "2.00000000"}, {"date": "1308233948", "tid": "4155", "price": "19.01000000", "amount": "1.85000000"}, {"date": "1308233948", "tid": "4157", "price": "19.00000000", "amount": "43.15000000"}, {"date": "1308233953", "tid": "4159", "price": "19.00000000", "amount": "3.22000000"}, {"date": "1308234099", "tid": "4161", "price": "19.25000000", "amount": "1.00000000"}, {"date": "1308234099", "tid": "4163", "price": "19.00000000", "amount": "10.00000000"}, {"date": "1308234138", "tid": "4165", "price": "19.00000000", "amount": "5.00000000"}, {"date": "1308234980", "tid": "4167", "price": "19.00000000", "amount": "1.00000000"}, {"date": "1308235158", "tid": "4169", "price": "19.00000000", "amount": "12.54758124"}, {"date": "1308235158", "tid": "4171", "price": "19.00000000", "amount": "22.45241876"}, {"date": "1308235727", "tid": "4173", "price": "19.00000000", "amount": "1.29000000"}, {"date": "1308235727", "tid": "4175", "price": "19.01000000", "amount": "0.13000000"}, {"date": "1308238479", "tid": "4181", "price": "19.02000000", "amount": "50.00000000"}, {"date": "1308238802", "tid": "4183", "price": "19.25000000", "amount": "20.00000000"}, {"date": "1308238826", "tid": "4185", "price": "19.02000000", "amount": "30.00000000"}, {"date": "1308238826", "tid": "4187", "price": "19.00000000", "amount": "4.34758124"}, {"date": "1308238826", "tid": "4189", "price": "19.00000000", "amount": "0.71000000"}, {"date": "1308238826", "tid": "4191", "price": "19.00000000", "amount": "4.94241876"}, {"date": "1308238875", "tid": "4193", "price": "19.00000000", "amount": "9.00000000"}, {"date": "1308239039", "tid": "4195", "price": "19.25000000", "amount": "15.00000000"}, {"date": "1308239270", "tid": "4197", "price": "19.00000000", "amount": "4.05758124"}, {"date": "1308239270", "tid": "4199", "price": "19.00000000", "amount": "20.00000000"}, {"date": "1308239356", "tid": "4201", "price": "19.00000000", "amount": "13.00000000"}, {"date": "1308239504", "tid": "4203", "price": "19.00000000", "amount": "12.94241876"}, {"date": "1308240711", "tid": "4205", "price": "19.25000000", "amount": "0.09560000"}, {"date": "1308241207", "tid": "4207", "price": "19.00000000", "amount": "15.00000000"}, {"date": "1308241346", "tid": "4209", "price": "19.00000000", "amount": "21.00000000"}, {"date": "1308241660", "tid": "4211", "price": "19.00000000", "amount": "14.00000000"}, {"date": "1308242535", "tid": "4213", "price": "19.00000000", "amount": "9.75000000"}, {"date": "1308242535", "tid": "4215", "price": "18.95000000", "amount": "38.25000000"}, {"date": "1308243633", "tid": "4217", "price": "19.25000000", "amount": "0.14400000"}, {"date": "1308245659", "tid": "4219", "price": "18.95000000", "amount": "0.11400000"}, {"date": "1308245819", "tid": "4221", "price": "19.25000000", "amount": "0.11100000"}, {"date": "1308247944", "tid": "4225", "price": "19.30000000", "amount": "9.25000000"}, {"date": "1308247974", "tid": "4227", "price": "19.25000000", "amount": "1.65000000"}, {"date": "1308248139", "tid": "4229", "price": "18.95000000", "amount": "5.00000000"}, {"date": "1308248486", "tid": "4237", "price": "18.95000000", "amount": "0.10000000"}, {"date": "1308248779", "tid": "4239", "price": "19.25000000", "amount": "50.00000000"}, {"date": "1308249069", "tid": "4241", "price": "19.25000000", "amount": "0.20000000"}, {"date": "1308250625", "tid": "4243", "price": "19.25000000", "amount": "1.37618356"}, {"date": "1308250625", "tid": "4245", "price": "19.30000000", "amount": "7.87381644"}, {"date": "1308250625", "tid": "4247", "price": "19.30000000", "amount": "15.75000000"}, {"date": "1308250625", "tid": "4249", "price": "19.25000000", "amount": "25.00000000"}, {"date": "1308251274", "tid": "4251", "price": "19.25000000", "amount": "0.15000000"}]
23 spec/helper.rb
@@ -0,0 +1,23 @@
+$:.unshift File.expand_path('..', __FILE__)
+$:.unshift File.expand_path('../../lib', __FILE__)
+require 'simplecov'
+SimpleCov.start
+require 'tradehill'
+require 'rspec'
+require 'webmock/rspec'
+
+def a_get(path)
+ a_request(:get, 'https://api.tradehill.com' + path)
+end
+
+def stub_get(path)
+ stub_request(:get, 'https://api.tradehill.com' + path)
+end
+
+def fixture_path
+ File.expand_path('../fixtures', __FILE__)
+end
+
+def fixture(file)
+ File.new(fixture_path + '/' + file)
+end
49 spec/tradehill/client_spec.rb
@@ -0,0 +1,49 @@
+require 'helper'
+
+describe TradeHill::Client do
+ before do
+ @client = TradeHill::Client.new
+ end
+
+ describe '#asks' do
+ before do
+ stub_get('/API/USD/Orderbook').
+ to_return(:status => 200, :body => fixture('orderbook.json'))
+ end
+
+ it "should fetch open asks" do
+ asks = @client.asks
+ a_get('/API/USD/Orderbook').should have_been_made
+ asks.last.should == [30.0, 1.0]
+ end
+ end
+
+ describe '#bids' do
+ before do
+ stub_get('/API/USD/Orderbook').
+ to_return(:status => 200, :body => fixture('orderbook.json'))
+ end
+
+ it "should fetch open bids" do
+ bids = @client.bids
+ a_get('/API/USD/Orderbook').should have_been_made
+ bids.last.should == [18.5, 75.0]
+ end
+ end
+
+ describe '#trades' do
+ before do
+ stub_get('/API/USD/Trades').
+ to_return(:status => 200, :body => fixture('trades.json'))
+ end
+
+ it "should fetch trades" do
+ trades = @client.trades
+ a_get('/API/USD/Trades').should have_been_made
+ trades.last.date.should == Time.utc(2011, 6, 16, 19, 07, 54)
+ trades.last.price.should == 19.25
+ trades.last.amount.should == 0.15
+ trades.last.tid.should == "4251"
+ end
+ end
+end
9 spec/tradehill_spec.rb
@@ -0,0 +1,9 @@
+require 'helper'
+
+describe TradeHill do
+ describe ".new" do
+ it "should return a TradeHill::Client" do
+ TradeHill.new.should be_a TradeHill::Client
+ end
+ end
+end
31 tradehill.gemspec
@@ -0,0 +1,31 @@
+# -*- encoding: utf-8 -*-
+require File.expand_path('../lib/tradehill/version', __FILE__)
+
+Gem::Specification.new do |gem|
+ gem.name = 'tradehill'
+ gem.version = TradeHill::VERSION
+ gem.author = "Erik Michaels-Ober"
+ gem.email = 'sferik@gmail.com'
+ gem.homepage = 'https://github.com/sferik/tradehill'
+ gem.summary = %q{Ruby wrapper for the TradeHill API}
+ gem.description = %q{Ruby wrapper for the TradeHill API. TradeHill allows you to trade US Dollars (USD) for Bitcoins (BTC) or Bitcoins for US Dollars.}
+
+ gem.files = `git ls-files`.split("\n")
+ gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ gem.executables = `git ls-files -- bin/*`.split("\n").map{|f| File.basename(f)}
+ gem.require_paths = ['lib']
+
+ gem.add_development_dependency 'ZenTest', '~> 4.5'
+ gem.add_development_dependency 'maruku', '~> 0.6'
+ gem.add_development_dependency 'rake', '~> 0.9'
+ gem.add_development_dependency 'rspec', '~> 2.6'
+ gem.add_development_dependency 'simplecov', '~> 0.4'
+ gem.add_development_dependency 'webmock', '~> 1.6'
+ gem.add_development_dependency 'yard', '~> 0.7'
+
+ gem.add_runtime_dependency 'faraday', '~> 0.6.1'
+ gem.add_runtime_dependency 'faraday_middleware', '~> 0.6.3'
+ gem.add_runtime_dependency 'hashie', '~> 1.0.0'
+ gem.add_runtime_dependency 'multi_json', '~> 1.0.3'
+ gem.add_runtime_dependency 'rash', '~> 0.3.0'
+end

0 comments on commit faa878d

Please sign in to comment.
Something went wrong with that request. Please try again.