Comments (6)
Same issue here. All dependencies are installed.
Edit: placing 'contracts' folder from this respository alongside the etherdelta folder seems to fix this. Though I'm still having issues, tickers return blank.
from py-etherdelta.
lucascvassalli, that worked thanks. I'm not having an error with tickers, but it always give me a "Deferred" error such as: <Deferred at 0x70b8eb0>.
Think the Etherdelta API might be down.
from py-etherdelta.
@vikramarun @lucascvassalli JSON ABI dependency is fixed
Try reinstalling
pip uninstall etherdelta
pip install etherdelta
or
pip3 install git+git://github.com/miguelmota/py-etherdelta.git
EtherDelta recently changed their websocket endpoint which may of been breaking things.
After reinstalling, try something simple like
import etherdelta
client = etherdelta.Client()
token_addr = '0x0d8775f648430679a709e98d2b0cb6250d2887ef'
orders = client.get_buy_orderbook(token_addr)
and let me know if you still have problems
Thanks for reporting!
from py-etherdelta.
Awesome, that partly works now. Thanks for the stuff you've been doing on the project.
I get an output but its a deferred object from twisted... for example the code you sent gives me the following:
<Deferred at 0x863c070 current result: ........
of the type twisted.internet.defer.Deferred.
Any ideas? Figure it might just be a problem with the socket still
from py-etherdelta.
@vikramarun I switched deferreds for generators so you shouldn't see that now
Try updating and see if it works
pip3 install git+git://github.com/miguelmota/py-etherdelta.git
Sorry for my lack of python knowledge 😅
from py-etherdelta.
@vikramarun please open issue if you continue to have problems
from py-etherdelta.
Related Issues (14)
- Documentation? HOT 6
- Unable to use ForkDeltaClient
- I don't see myTrades api
- Getting error when installing etherdelta module HOT 1
- packages incompatible HOT 1
- Stop Print Output
- Import Errors, Incompatibilities HOT 1
- <<< Did not place order because available volume too low. >>> HOT 2
- Requirements HOT 1
- Feature Request ForkDelta HOT 2
- DeprecationWarning because of the rename from ethereum-utils to eth-utils HOT 2
- Convert Scientific Notation to Int Precision Problem HOT 2
- Feature Request (Deposit and Withdraw) 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 py-etherdelta.