Comments (10)
Here are the endpoints:
`
https://bittrex.com/api/v2.0/key/balance/getbalances
https://bittrex.com/api/v2.0/key/balance/getbalance?currencyname=BTC
https://bittrex.com/api/v2.0/key/balance/getpendingwithdrawals?currencyname=BTC
https://bittrex.com/api/v2.0/key/balance/getwithdrawalhistory?currencyname=BTC
https://bittrex.com/api/v2.0/key/balance/getpendingdeposits?currency=BTC
https://bittrex.com/api/v2.0/key/balance/getdeposithistory?currency=BTC
https://bittrex.com/api/v2.0/key/balance/getdepositaddress?currency=BTC
https://bittrex.com/api/v2.0/key/balance/generatedepositaddress?currency=BTC
https://bittrex.com/api/v2.0/key/balance/withdrawcurrency?currency=BTC&quantity=1&address=xxxxx
https://bittrex.com/api/v2.0/key/market/tradesell?marketname=BTC-LTC&ordertype=XXXX&quantity=1&rate=.00000012&timeInEffect=IOC&conditiontype=xxx&target=xxxx
https://bittrex.com/api/v2.0/key/market/tradebuy?marketname=BTC-LTC&ordertype=XXXX&quantity=1&rate=.00000012&timeInEffect=IOC&conditiontype=xxx&target=xxxx
https://bittrex.com/api/v2.0/key/market/cancel?orderid=xxxx
https://bittrex.com/api/v2.0/key/market/getopenorders?marketname=BTC-LTC
https://bittrex.com/api/v2.0/key/market/getorderhistory?marketname=BTC-LTC
https://bittrex.com/api/v2.0/key/orders/getorder?orderid=xxx
https://bittrex.com/api/v2.0/key/orders/getopenorders
https://bittrex.com/api/v2.0/key/orders/getorderhistory
https://bittrex.com/api/v2.0/pub/Markets/GetMarketSummaries
https://bittrex.com/api/v2.0/pub/Currencies/GetCurrencies
https://bittrex.com/api/v2.0/pub/Currencies/GetWalletHealth
https://bittrex.com/api/v2.0/pub/Currency/GetBalanceDistribution
https://bittrex.com/api/v2.0/pub/Markets/GetMarketSummaries
https://bittrex.com/api/v2.0/pub/Currencies/GetCurrencies
https://bittrex.com/api/v2.0/pub/Currencies/GetWalletHealth
https://bittrex.com/api/v2.0/pub/Currency/GetBalanceDistribution
https://bittrex.com/api/v2.0/pub/Market/GetMarketSummary
https://bittrex.com/api/v2.0/pub/Market/GetMarketOrderBook
https://bittrex.com/api/v2.0/pub/Market/GetMarketHistory
https://bittrex.com/api/v2.0/pub/Markets/GetMarkets
https://bittrex.com/api/v2.0/pub/Markets/GetMarketSummaries
https://bittrex.com/api/v2.0/pub/Currencies/GetCurrencies
https://bittrex.com/api/v2.0/pub/Currencies/GetWalletHealth
https://bittrex.com/api/v2.0/pub/Currency/GetBalanceDistribution
Some order info
OrderType
LIMIT,
MARKET,
TimeInEffect
GOOD_TIL_CANCELLED,
IMMEDIATE_OR_CANCEL,
FILL_OR_KILL
ConditionType
NONE,
GREATER_THAN,
LESS_THAN,
STOP_LOSS_FIXED,
STOP_LOSS_PERCENTAGE
Here is a proper buy uri.
conditionType and target are required,I just set target to 0 for a none conditional and it works fine.
You would use TradeSell for a sell.`
from python-bittrex.
I have started work on support for API 2.0. What is done so far has been pushed to a branch.
The plumbing is mostly complete, just updating the existing methods to work with the new mechanism and adding the new endpoints for 2.0
from python-bittrex.
I prefer to wait until the 2.0 API is out of beta. At that time we will upgrade everything necessary.
from python-bittrex.
Is the 2.0 api documented by Bittrex anywhere? I can't seem to find it. This is the closest I can find: https://www.reddit.com/r/BitcoinMarkets/comments/6k75ue/unable_to_get_historical_bittrex_data/ 🤣
from python-bittrex.
I sent an email to bittrex and I think we will have a very long "beta".
the current web is using the new api I manage to debug the requests.
from python-bittrex.
I am trying to use buylimit api but getting error {"success":false,"message":"APISIGN_NOT_PROVIDED","result":null}. There is no documentation which provides details on this APISIGN_NOT_PROVIDED.
from python-bittrex.
From above, I see the following URL.
I do not understand of this market buy order.
I changed the order time from LIMIT to MARKET.
However, what is the rate? Market buy should buy at the best available rate. Why I need to set the rate? I tested without the rate. but it does not work.
"The server returned the status 400 with message "Bad Request" in response to the request to URL"
Here is a proper buy uri.
from python-bittrex.
Hi! How does this operation sign? where the signature? I try : URI=https://bittrex.com/api/v2.0/market/TradeBuy?apikey=xxxxxxx&nonce=1533282845&marketName=USDT-BTC&orderType=LIMIT&quantity=1&rate=1000&timeInEffect=GOOD_TIL_CANCELLED&conditionType=NONE&target=0 but this does not work. Help please!
from python-bittrex.
O!!! Its works!!! I stupid dude. Working uri: URI=https://bittrex.com/api/v2.0/key/market/TradeBuy?apikey=zzxxx&nonce=1533284167&marketName=USDT-BTC&orderType=LIMIT&quantity=0.0007&rate=999&timeInEffect=GOOD_TIL_CANCELLED&conditionType=GREATER_THAN&target=999777
Yeaaaaa!!!!!!!!!! Thanks for all!!!
from python-bittrex.
$nonce=time();
$uri='https://bittrex.com/api/v2.0/key/market/TradeBuy?apikey='.$apikey.'&nonce='.$nonce.'&marketName=USDT-BTC&orderType=LIMIT&quantity=0.0007&rate=999&timeInEffect=GOOD_TIL_CANCELLED&conditionType=GREATER_THAN&target=999777';
$sign=hash_hmac('sha512',$uri,$apisecret);
$ch = curl_init($uri);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('apisign:'.$sign));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$res = curl_exec($ch);
$obj = json_decode($res);
$success=$obj->{'success'};
$message=$obj->{'message'};
$result=$obj->{'result'};
$order_id=$result->{'uuid'};
from python-bittrex.
Related Issues (20)
- need help generating api key using the secret and key HOT 2
- INVALID_PERMISSION making 'get_open_orders' request on API_V2_0
- TypeError: buy_limit() missing 2 required positional arguments: 'quantity' and 'rate' HOT 1
- Update please examples on front page
- {'success': False, 'message': 'CURRENCY_NOT_PROVIDED', 'result': None} HOT 2
- Authenticated calls occasionally return "NO_API_RESPONSE" HOT 6
- get_full_order_history
- I am unable to get the order history
- How to... connect? HOT 1
- FILL_OR_KILL HOT 2
- New endpoint: /GetCurrencyInfo
- {'success': False, 'message': 'INVALID_MARKET', 'result': None} on method buy_limit() HOT 1
- get_withdrawal_history() does not return any withdraw history
- Error APIKEY_INVALID with python 3.7.2
- API_V1_1 and API_V2_0 should be v1.1 and v2.0? HOT 1
- API V3 BETA HOT 1
- get_candles returns Nonetype for many coins HOT 5
- Withdraw Function Not Working HOT 1
- Test case for USD-LTC pair
- Does support for API_V_3.0 will be available in this client? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-bittrex.