Comments (5)
{
"success": true,
"failure_reason": "UNKNOWN_FAILURE_REASON",
"order_id": "vvvv-4ef9-9587-fc71dee4f912",
"success_response": {
"order_id": "vvvd2a-4ef9-9587-fc71dee4f912",
"product_id": "LTC-USD",
"side": "BUY",
"client_order_id": "clientOrderId"
},
"order_configuration": {
"sor_limit_ioc": {
"base_size": "1",
"limit_price": "82.9"
}
}
}
from coinbase-advanced-py.
Also how can I sell (market or limit) 1 LTC for instance? Could not find that in documentation :(
from coinbase-advanced-py.
order = client.market_order_sell(client_order_id="clientOrderId",product_id='LTC-USD',base_size='0.01')
print(dumps(order, indent=2))
{
"success": true,
"failure_reason": "UNKNOWN_FAILURE_REASON",
"order_id": "vd2a-4ef9-9587-fc71dev",
"success_response": {
"order_id": "vvvd2a-4ef9-9587-fc7v12",
"product_id": "LTC-USD",
"side": "SELL",
"client_order_id": "clientOrderId"
},
"order_configuration": {
"market_market_ioc": {
"base_size": "0.01"
}
}
}
from coinbase-advanced-py.
Thank you for reporting! If this is an SDK specific issue, we will look into it and get back to you soon. If this is an API related request, report it in our Advanced API Discord instead (use this invite link if it's your first time accessing the Discord).
from coinbase-advanced-py.
Figured it out!
- client_order_id needs to be a unique string or nothing happens
- engine spits out "success": true,
"failure_reason": "UNKNOWN_FAILURE_REASON",
if it accepts order and/or executes order. Really confusing!
from coinbase-advanced-py.
Related Issues (15)
- Unreviewed commit on master! HOT 3
- Test Issue HOT 1
- Test Issue 2 HOT 1
- Frequent 401 Unauthorized Client Errors HOT 16
- Missing MyPy compatible type annotations HOT 6
- Potential issue with shipped requirements.txt HOT 1
- Advanced Trade Sandbox HOT 3
- Documentation Issue HOT 4
- Package available on conda-forge HOT 5
- How to specify granularity to Kline/Candlestick Streams? HOT 9
- test issue HOT 1
- paper trading HOT 2
- using get_accounts method, I cannot see USDC or EUR wallets HOT 1
- Is max_floor still supported? 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 coinbase-advanced-py.