Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bpringe committed Sep 5, 2018
1 parent 45e9ac8 commit df5ccbc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/coinbase-pro-clj.core.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
</code></pre></div></div></div><div class="public anchor" id="var-get-historic-rates"><h3>get-historic-rates</h3><div class="usage"><code>(get-historic-rates client product-id)</code><code>(get-historic-rates client product-id opts)</code></div><div class="doc"><div class="markdown"><p><a href="https://docs.pro.coinbase.com/#get-historic-rates">API docs</a></p>
<pre><code class="clojure">(get-historic-rates client "BTC-USD")
(get-historic-rates client "BTC-USD" {:start "2018-06-01"
:end "2018-06-30"
:granularity 86400})
:end "2018-06-30"
:granularity 86400})
</code></pre></div></div></div><div class="public anchor" id="var-get-order"><h3>get-order</h3><div class="usage"><code>(get-order client order-id)</code></div><div class="doc"><div class="markdown"><p><a href="https://docs.pro.coinbase.com/#get-an-order">API docs</a></p>
<pre><code class="clojure">(get-order client "7d0f7d8e-dd34-4d9c-a846-06f431c381ba")
</code></pre></div></div></div><div class="public anchor" id="var-get-order-book"><h3>get-order-book</h3><div class="usage"><code>(get-order-book client product-id)</code><code>(get-order-book client product-id level)</code></div><div class="doc"><div class="markdown"><p><a href="https://docs.pro.coinbase.com/#get-product-order-book">API docs</a></p>
Expand Down
4 changes: 2 additions & 2 deletions src/coinbase_pro_clj/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ to store these values locally outside of your code.**"
```clojure
(get-historic-rates client \"BTC-USD\")
(get-historic-rates client \"BTC-USD\" {:start \"2018-06-01\"
:end \"2018-06-30\"
:granularity 86400})
:end \"2018-06-30\"
:granularity 86400})
```"
([client product-id]
(get-historic-rates client product-id {}))
Expand Down

0 comments on commit df5ccbc

Please sign in to comment.