Liking cljdoc? Tell your friends :D

clojure-poloniex.api.trading


*trading-api*clj

source

buyclj

(buy & {:as args__2628__auto__})

Places a limit buy order in a given market. Required POST parameters are "currencyPair", "rate", and "amount". If successful, the method will return the order number.

Places a limit buy order in a given market. Required POST parameters are "currencyPair", "rate", and "amount". If successful, the method will return the order number.
sourceraw docstring

cancel-orderclj

(cancel-order & {:as args__2628__auto__})

Cancels an order you have placed in a given market. Required POST parameter is "orderNumber".

Cancels an order you have placed in a given market. Required POST parameter is "orderNumber".
sourceraw docstring

define-trading-poloniex-methodcljmacro

(define-trading-poloniex-method command default-http-method & rest)
source

generate-new-addressclj

(generate-new-address & {:as args__2628__auto__})

Generates a new deposit address for the currency specified by the "currency" POST parameter. You need to supply :creds with :key and :secret

Generates a new deposit address for the currency
specified by the "currency" POST parameter.
You need to supply :creds with :key and :secret
sourceraw docstring

get-margin-positionclj

(get-margin-position & {:as args__2628__auto__})

Returns information about your margin position in a given market, specified by the "currencyPair" POST parameter. You may set "currencyPair" to "all" if you wish to fetch all of your margin positions at once. If you have no margin position in the specified market, "type" will be set to "none". "liquidationPrice" is an estimate, and does not necessarily represent the price at which an actual forced liquidation will occur. If you have no liquidation price, the value will be -1. You need to supply :creds with :key and :secret"

Returns information about your margin position in a given market,
specified by the "currencyPair" POST parameter.
You may set "currencyPair" to "all"
if you wish to fetch all of your margin positions at once.
If you have no margin position in the specified market,
"type" will be set to "none". "liquidationPrice" is an estimate,
and does not necessarily represent the price
at which an actual forced liquidation will occur.
If you have no liquidation price, the value will be -1.
You need to supply :creds with :key and :secret"
sourceraw docstring

return-active-loansclj

(return-active-loans & {:as args__2628__auto__})

Returns your active loans for each currency. You need to supply :creds with :key and :secret"

Returns your active loans for each currency.
You need to supply :creds with :key and :secret"
sourceraw docstring

return-available-account-balancesclj

(return-available-account-balances & {:as args__2628__auto__})

Returns your balances sorted by account. You may optionally specify the "account" POST parameter if you wish to fetch only the balances of one account. Please note that balances in your margin account may not be accessible if you have any open margin positions or orders. You need to supply :creds with :key and :secret"

Returns your balances sorted by account.
You may optionally specify the "account" POST parameter
if you wish to fetch only the balances of one account.
Please note that balances in your margin account may not be accessible
if you have any open margin positions or orders.
You need to supply :creds with :key and :secret"
sourceraw docstring

return-balancesclj

(return-balances & {:as args__2628__auto__})

Returns all of your available balances You need to supply :creds with :key and :secret

Returns all of your available balances
You need to supply :creds with :key and :secret
sourceraw docstring

return-complete-balancesclj

(return-complete-balances & {:as args__2628__auto__})

Returns all of your balances, including available balance, balance on orders, and the estimated BTC value of your balance. By default, this call is limited to your exchange account; set the "account" POST parameter to "all" to include your margin and lending accounts. You need to supply :creds with :key and :secret

Returns all of your balances, including available balance, balance on orders,
and the estimated BTC value of your balance.
By default, this call is limited to your exchange account;
set the "account" POST parameter to "all" to include
your margin and lending accounts.
You need to supply :creds with :key and :secret
sourceraw docstring

return-deposits-withdrawalsclj

(return-deposits-withdrawals & {:as args__2628__auto__})

Returns your deposit and withdrawal history within a range, specified by the "start" and "end" POST parameters, both of which should be given as UNIX timestamps. You need to supply :creds with :key and :secret"

Returns your deposit and withdrawal history within a range,
specified by the "start" and "end" POST parameters,
both of which should be given as UNIX timestamps.
You need to supply :creds with :key and :secret"
sourceraw docstring

return-fee-infoclj

(return-fee-info & {:as args__2628__auto__})

If you are enrolled in the maker-taker fee schedule, returns your current trading fees and trailing 30-day volume in BTC. This information is updated once every 24 hours. You need to supply :creds with :key and :secret"

If you are enrolled in the maker-taker fee schedule,
returns your current trading fees and trailing 30-day volume in BTC.
This information is updated once every 24 hours.
You need to supply :creds with :key and :secret"
sourceraw docstring

return-margin-account-summaryclj

(return-margin-account-summary & {:as args__2628__auto__})

Returns a summary of your entire margin account. This is the same information you will find in the Margin Account section of the Margin Trading page, under the Markets list. You need to supply :creds with :key and :secret"

Returns a summary of your entire margin account.
This is the same information you will find
in the Margin Account section of the Margin Trading page,
under the Markets list.
You need to supply :creds with :key and :secret"
sourceraw docstring

return-open-loan-offersclj

(return-open-loan-offers & {:as args__2628__auto__})

Returns your open loan offers for each currency. You need to supply :creds with :key and :secret"

Returns your open loan offers for each currency.
You need to supply :creds with :key and :secret"
sourceraw docstring

return-open-ordersclj

(return-open-orders & {:as args__2628__auto__})

Returns your open orders for a given market, specified by the "currencyPair" POST parameter, e.g. "BTC_XCP". Set "currencyPair" to "all" to return open orders for all markets. You need to supply :creds with :key and :secret"

Returns your open orders for a given market,
specified by the "currencyPair" POST parameter, e.g. "BTC_XCP".
Set "currencyPair" to "all" to return open orders for all markets.
You need to supply :creds with :key and :secret"
sourceraw docstring

return-order-tradesclj

(return-order-trades & {:as args__2628__auto__})

Returns all trades involving a given order, specified by the "orderNumber" POST parameter. If no trades for the order have occurred or you specify an order that does not belong to you, you will receive an error. You need to supply :creds with :key and :secret"

Returns all trades involving a given order,
specified by the "orderNumber" POST parameter.
If no trades for the order have occurred or you specify an order
that does not belong to you, you will receive an error.
You need to supply :creds with :key and :secret"
sourceraw docstring

return-tradable-balancesclj

(return-tradable-balances & {:as args__2628__auto__})

Returns your current tradable balances for each currency in each market for which margin trading is enabled. Please note that these balances may vary continually with market conditions. You need to supply :creds with :key and :secret"

Returns your current tradable balances for each currency
in each market for which margin trading is enabled.
Please note that these balances may vary continually with market conditions.
You need to supply :creds with :key and :secret"
sourceraw docstring

return-trade-historyclj

(return-trade-history & {:as args__2628__auto__})

Returns your trade history for a given market, specified by the "currencyPair" POST parameter. You may specify "all" as the currencyPair to receive your trade history for all markets. You may optionally specify a range via "start" and/or "end" POST parameters, given in UNIX timestamp format; if you do not specify a range, it will be limited to one day. You need to supply :creds with :key and :secret"

Returns your trade history for a given market,
specified by the "currencyPair" POST parameter.
You may specify "all" as the currencyPair
to receive your trade history for all markets.
You may optionally specify a range via "start" and/or "end" POST parameters,
given in UNIX timestamp format; if you do not specify a range,
it will be limited to one day.
You need to supply :creds with :key and :secret"
sourceraw docstring

sellclj

(sell & {:as args__2628__auto__})

Places a sell order in a given market. Required POST parameters are "currencyPair", "rate", and "amount". If successful, the method will return the order number.

Places a sell order in a given market. Required POST parameters are "currencyPair", "rate", and "amount". If successful, the method will return the order number.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close