Comments (9)
And what is _hexadem ? thanks you
from wechartweb3.
Ehi, you can have any pair that exists for that token, but I don't really get what you are asking with the first question, can you rephrase it ?
_hexadem is a code inside the dex smart contracts that ( if I understood well by the code ) is used just for creating the unique pair addresses, i can think it like a dex 'sign' for it's pairs address.
from wechartweb3.
sometimes it gives error Error: Invalid JSON RPC response: "" as shown, do you know why?
from wechartweb3.
And open, high, low, value always equal , only close different ?
from wechartweb3.
JSON RPC response
is an issue given from your provider, you should detect the line where it raise the error and add a try catch
, i missed some of them, if you find where it gives the error please make a pull also in the repo.
The open, high, low, value always equal for some tokens probably becouse during 1 minute only 1 transaction is made so the minute candle is not update except for the close
field. the close
field is always updated during the next transaction that is made with that token also if the transaction is made hours later.
If you see all the prices retrived for a single pair you should see that the close
is always equal to the next price open
, but for now i saw that there are still some issues in updating the close
field, i'm working on that when i have time
from wechartweb3.
And token basic some tokens do not exist for example Ethereum Token (0x2170ed0880ac9a755fd29b2688956bd959f933f8), and as shown in the picture Tether USD appears many records I think it only has 1 record, total_supply and pairs_count will be updated when changed?
from wechartweb3.
Some tokens don't exists probably becouse the address is a non standard erc20, this cause an error when retriving the informations like decimals
, supply
etc ...
0x2170ed0880ac9a755fd29b2688956bd959f933f8
this seems to be an address and not a token, am i wrong ?
In the token basic records the pairs_count
are updated yes, the total_supply
instead is never updated.
from wechartweb3.
thanks for your explanation, can you help me how to calculate volume/1 block?
from wechartweb3.
Or calculate trading volume of a tx ?
from wechartweb3.
Related Issues (20)
- Error: connection not open on send() HOT 7
- Error: data out-of-bounds when scraping transaction hash that contains ERC-721 TokenID HOT 2
- Bug get price token is DOGE HOT 3
- Help me queue !! HOT 4
- Need some help HOT 1
- Token Histories collection HOT 1
- Nothing in DB, err updating main price? HOT 1
- Error when Running it HOT 3
- Main Thread continues to run when slave dies HOT 3
- historytransactions tokenIn&tokenOut recorded same contract address issue HOT 1
- MongoDB High CPU Usage HOT 6
- How to add Cake to main token? HOT 7
- Limit the number of requests in a batch call (<500) HOT 4
- Some transactions cant be recorded HOT 1
- Ethereum support HOT 1
- TypeError: Cannot read property 'ws_provider' of undefined HOT 8
- any idea about this error ?
- HELP HOT 1
- what is server voting url HOT 2
- Price Scrapper for specific pair HOT 19
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 wechartweb3.