-
Notifications
You must be signed in to change notification settings - Fork 625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make data set/append helpers #9
Comments
An extended sample that uses ccxt as a candle source would be a nifty real-life async demonstration of this: Each range-stretch could trigger a REST API request to fill that missing gap. |
Yep, I get the idea. I'm not sure about including a third party API, but a simple callback will certainly do the job. |
If someone is still looking for a solution i got it working by adding an @mouseup event on a div that wraps the vue component like so.
the event fires off this method
which then checks if more data needs to be fetched
and finally get the data somehow and unshift it to the chart data array
|
Nice! Hopefully, DataCube will make this process easier. Currently WIP. |
Hi @C451 |
How to use DataCube? |
Hello @hoangvanlong5342 idk when exactly, but when it's done, it will be a bloody powerful tool. See the progress: https://github.com/C451/trading-vue-js/blob/master/src/helpers/datacube.js |
Hi @C451 |
Timing is the hardest part. Now the data helper is unstable/experimental, the API may change. When you see at least half of the checkmarks filled, you can expect some docs: https://github.com/C451/trading-vue-js/projects/1 |
Hi @C451 |
Really good. I'm waiting for this function |
@learntolearn99 I think you can do it easily |
https://github.com/C451/trading-vue-js/blob/master/test/tests/DataHelper.vue An example of connection to an exchange. (Unstable, there may be errors) |
DataCube handles the basic operations, close. |
…c-6.5.3 Bump elliptic from 6.5.2 to 6.5.3
Big subject, imo. Exposing append & prepend methods would be super useful !
https://github.com/C451/trading-vue-js/blob/8df612c90dac0bde521e08a17afd03f87c13c819/src/components/Chart.vue#L223
Partial rendering of the candles & indicators etc...
Originally posted by @Tucsky in #7 (comment)
The text was updated successfully, but these errors were encountered: