tucsky / significanttrades Goto Github PK
View Code? Open in Web Editor NEWThis project forked from beastlybeast/significanttrades
better than 1 min chart
Home Page: https://aggr.trade
License: GNU General Public License v3.0
This project forked from beastlybeast/significanttrades
better than 1 min chart
Home Page: https://aggr.trade
License: GNU General Public License v3.0
Hi!
Hope you are doing great!
I really enjoy using your tool nice and clean!
I was wondering if possible to add option to just view the liquidations that would be a awesome feature imo.
Thanks for sharing!
I just crawled the source code 1minute, but couldnt find them...
and... why do the sounds not play on iphone?!
best regards
Hi
From a brief look I noticed the data is being proxied. Why is there even a server part, why not have the client interact directly with the websockets, reduces lag & load?
Cheers
Wouter
Why is
huobi 6784 sats 3.8168141 56K
showing animated-background?
Console:
JSON.stringify(JSON.parse(localStorage.getItem('settings')).thresholds)
"[{\"amount\":0.5,\"buyColor\":\"rgba(76,175,80,.33)\",\"sellColor\":\"rgba(229,115,115,.33)\"},{\"amount\":2.5,\"buyColor\":\"rgb(91,130,48)\",\"sellColor\":\"rgb(224,91,82)\"},{\"amount\":5,\"gif\":\"cash\",\"buyColor\":\"rgb(156,204,101)\",\"sellColor\":\"rgb(244,67,54)\"},{\"amount\":10,\"gif\":\"explosion\",\"buyColor\":\"rgb(255,160,0)\",\"sellColor\":\"rgb(233,30,99)\"}]"
If you want a exchange to be added into this tracker, this is the thread.
Answer here with the name of the plateform and why you think it coult be relevant here.
I previously added bithumb and it has been found very unstable in term of price action and technicaly speaking. So you might want to take two things needs into account.
It was mentioned in issue #42 that the grouping was disabled for OKex trades for some reason? Now that we have V3 of the API can we enable it? Because as it stands, none of the OKex trades are being grouped.
For example, the following trades with the same timestamp are not being grouped, and wouldn't pass a 1,500 threshold even though the sell is larger than 1,500.
{"trade_id":"3110651246903329","side":"sell","price":"311.55","qty":"1215","timestamp":"2019-07-04T00:39:31.311Z"},{"trade_id":"3110651246903327","side":"sell","price":"311.561","qty":"40","timestamp":"2019-07-04T00:39:31.311Z"},{"trade_id":"3110651246903325","side":"sell","price":"311.588","qty":"252","timestamp":"2019-07-04T00:39:31.311Z"},{"trade_id":"3110651246903323","side":"sell","price":"311.602","qty":"380","timestamp":"2019-07-04T00:39:31.311Z"},
Please add functionality to "remember" on client side, what the user entered in the field "Pair" and do not replace that value for "Pair" with value out of URL.
For example, i use two URLs for "BTCUSD"
1.) https://btcusdbinance.aggr.trade/
2.) https://btcusdbitfinex.aggr.trade/
For both of them, i want to have the value "BTCUSD" in field "Pair"!!!!
Hi guys, do u know why when ByBit significant trades happen I don't get the logo, but if I chose letters I get the name?
THANKS in advance x ur help.
Screenshot below:
https://imgur.com/a/AoRfUBC
Great app, btw! It would be nice to be able to switch back and forth between the old vertical view and the new fullscreen one. Fullscreen is just way too big to quickly glance at it on a large monitor. I usually leave it open in a tab on chrome and switch to it when it starts getting noisy, but it is a bit jarring to look at at this point. Bonus Thought: Perhaps, there could be an option to keep the list on the left half or quarter of the screen and the right side gets filled with the chart?
Please add more sound settings. I don't want the new sounds when SMA is crossed.
You're doing a great job. Thank you.
After applying the Safari 12 update on Mac OS High Sierra (10.13.6), Audio didn't work anymore. I'm using the published demo, but I guess the issue isn't restricted to that demo.
I debugged the JavaScript and found out that the WebKitAudioContext is now in suspended mode initially. One can restore the behavior of previous Safari versions by setting the 'Auto-Play' value of the demo website to 'Allow All Auto-Play' on the 'Websites' Tab in the Safari Preferences.
I noticed that the value for the twitch website was already 'Allow All Auto-Play', although I never explicitly set that. Maybe a web application can set that value. Twitch streams are initially muted now and you can/have to tap/click a button to unmute the stream. Doing that might have changed the settings value.
Today, i got tricked by this (#29) problem again...
I was very confused, why the cash-image was not showing up even though i had correctly set up my threshold-values. -> It was, because the exchange had its own multiplier (x0.66) :-(
I just thought, i musconfigured the threshold-values, or the app had a bug...but... it was only that the app had some threshold-multiplier for a specific exchange pre-configured (x0.66).
To avoid this "confusion" in the future and because of these reasons:
1.) It is pretty hard to set/use the threshold-regulator with the MOUSE for a specific exchange to exactly "x1.00" if it was set to x0.66 before :-(
2.) It is generally a pretty personal-specific setting and therefore should always start by "x1.00"
3.) For new app-users, it is definitely not obvious right from the start, that each exchange has its own "randomly-taken" x-multiplier. I think, this could heavily cause confusion :-(
i would recommend to set all exchanges to "x1.00" by default, and then, let the user decide, if he wants to adjust it for specific exchanges :-)
THANKS
The server seems be down since several hours for the demo link
I think it would be awesome to have OKex liquidations showing up similar to Bitmex.
Unfortunately, it doesn't look like there is a socket for liquidations on OKex, just a http: endpoint which contains the data:
Eg. Filled liquidations:
https://www.okex.com/api/futures/v3/instruments/ETH-USD-190927/liquidation?status=1&from=0&limit=50
Unfilled liquidations:
https://www.okex.com/api/futures/v3/instruments/ETH-USD-190927/liquidation?status=0&from=0&limit=50
When the box is unchecked it still makes noise for trades above 10% of significant trades, Box reticks it's self.
I'd like to set higher thresholds for BitMEX :)
Hi!
All my instances stopped working today, seems that the culprit is Okex.
SyntaxError: Unexpected token M in JSON at position 0
at JSON.parse ()
at Okex.format (/home/user/SignificantTrades/server/src/exchanges/okex.js:567:23)
at WebSocket.api.on.event (/home/user/SignificantTrades/server/src/exchanges/okex.js:530:56)
at emitOne (events.js:116:13)
at WebSocket.emit (events.js:211:7)
at Receiver.receiverOnMessage (/home/user/SignificantTrades/server/node_modules/ws/lib/websocket.js:741:20)
at emitOne (events.js:116:13)
at Receiver.emit (events.js:211:7)
at Receiver.dataMessage (/home/user/SignificantTrades/server/node_modules/ws/lib/receiver.js:405:14)
at Receiver.getData (/home/user/SignificantTrades/server/node_modules/ws/lib/receiver.js:346:17)
I am a "bit" of a noob so a little help would be appreciated.
Thanks!
Hello,
While using the app in Google Chrome:
When I switch on the liquidations, the sound function stops working.
For exchanges except bitmex, orders are not showing up.
When trying to get OKex futures, the volumes are showing as Bitcoin/Ether amounts, and the volume values of the trades aren't matching with the live trade stream from OKex. Each contract on OKex is worth 100$ for BTC and 10$ for all the other contracts. Maybe we need to load this data, or have a setting to override the quote/base currency as I think its presuming those currencies wrong at the moment.
PS awesome tool, using it all the time.
Server seems to be down right now, just a heads up.
Frontend server seems down. CORS Proxy still seems to be functioning fine.
HIHI. Thats tool is really usefull, but can I suggest you add more history(maybe 1h or 4h) lookback?
Also, is there can be added trade per minutes counter as graphs bar?(visually mostly the same as buy/sell rn) but without emas.
Thanks!
Actually, until now i did not figure out when exactly the "special" "BTCUSD 1M BUY/SELL"-Sound is played by the app when using other pairs like "TRXM19".
Normally, i would expect, the sounds are coupled to the threshold values:
But it seems, that the "special 1M" sound (that is played in "BTCUSD") is generally only played at the amount of 1M TRX/XRP/whatever. Is it hardcoded for 1M in general?
Example:
If i would have a configuration like this, I never hear the "special 1M" sound that i would like to hear at 500K :-(
So it should be played at the threshold-value of the third-dot (at the amount of "500K").
Seeing the current relation between buy and sell is really interesting. That shows the relation between ppl wanting to instantly buy/sell. (since evey buy needs a sell, the amount of all executed buy/sell orders is always equal).
So it would be interesting to see how much the current buy volume moved the market. Its a big difference if you have 6M Buys and that moved the market by 10 $ or 100. (basically shows if there is lots of passive sell pressure in the books, or no resistance).
Should be calculated "easily" since you already aggregate the executionvolumes, you can also aggregate the moves per execution.
Not sure where to add it in the UI thou. but from what i can tell you got some pretty good skills in that regard ;)
Firstly, very impressive work. I think the significant trades audio implementation is incredible - particularly when you look at commercial products in financial markets which do something similar (only much, much worse).
I've set up two different instances so I can watch other cryptos and I'm trying to work out a way to have different audio.
I've read up a little bit about the tunajs library but was wondering if I could have some further pointers?
I've tried different sound effects (wahwah, tremolo) but everything sounds pretty much the same and I've tried something called 'cabinet' and passing through an impulse wav but then it just stops working.
e.g.
this.output = new tuna.Cabinet({ makeupGain: 1, //0 to 20 impulsePath: "Impulse.wav", //path to your speaker impulse bypass: 0 });
instead of
this.output = new tuna.PingPongDelay({
wetLevel: 0.5, //0 to 1
feedback: 0.01, //0 to 1
delayTimeLeft: 175, //1 to 10000 (milliseconds)
delayTimeRight: 100 //1 to 10000 (milliseconds)
});
Any tips?
If not, any chance of having different sound options implemented in another version so that one can run significant trades for multiple products?
Hi, mate!
I'm still using outdated fork from your server branch.
How are you think about to add Kafka support (for export)?
Kafka simply accepts json on the input and supports async data upload.
It will be useful when you need centralized close-to-realtime data source with short-term json storage (databases like ES or Influx will not be so useful here)
I am very inexperienced to running this kind of stuff and was curious what could be causing these, i have updated them via. "npm audit fix" but am now unable to get a connection through my localhost page.
Hi,
i have a suggestion:
Could you implement an option to persist the collected data?
Like persisting in a mysql database?
thanks in advance.
Best regards,
Patrick Willi
I suggest you to follow these rules https://github.com/rwaldron/idiomatic.js/
@Tucsky, first I wanted to tell you well done! Your branch is a good code!
However, there is a bit of remark:
How do you like that second one?
I just saw, that you planned a (UI/UX) update, new version?!?!
Please leave the significanttrades (https://tucsky.github.io/SignificantTrades/# , v1.4.0 12 aug) software as it is, its just absolutely perfect with the current version right now!!!!!!
Please do not visually update it, pleeeeeeeeeease!!!!!!!!!!!
If you do some performance optimizations, then okay, but please let the UX/UI/Sound/Effects/...... as it is!!
BIG THANKS :D
For example, TRX:
For Binance outputs:
"binance" --> Looks OK
"฿ 431 sats" --> Looks OK
"฿ 0.6999354" --> Looks Bad, better would be "162K" (for better comparability to bitmex outputs)
For Bitmex outputs:
"bitmex" --> Looks OK
"$ 438 sats" --> Looks Bad, better would be "฿ 438 sats"
"$ 58K" --> Looks Bad, because it is not "$" but TRX, so better would be to just display "58K"
better would be:
Hi,
Thanks for your great project.
Is this code shows closed positions as well or does it only shows new opened positions. For example someone short 1mil at 9200 and closed it at 9180. Is it going to show both?
Hi Tucsky, When I download your app the first thing I do is change it so it doesn't display the graph. Do you think you could add the option to do this to make it easier for me and others?
Really appreciate the work youve done on this!
I'do like the possibility to change the pair and even if you already look it in BTC/USD. For exemple be able to have two windows with BTC/USD and ETH/USD (or ETH/BTC also) please.
Console is filled with:
build.js?v=2.3.3:6 TypeError: Cannot read property 'update' of undefined
at n.<anonymous> (build.js?v=2.3.3:30)
at Array.forEach (<anonymous>)
at n.updateData (build.js?v=2.3.3:30)
at n.c (build.js?v=2.3.3:30)
at build.js?v=2.3.3:30
at Array.forEach (<anonymous>)
at t.fireEvent (build.js?v=2.3.3:30)
at build.js?v=2.3.3:30
at Array.forEach (<anonymous>)
at t.Chart.redraw (build.js?v=2.3.3:30)
which looks relevant. Happens on Chrome, Edge and as far as I remember also on Firefox.
Sorry to bother. I am not very familiar with this, but I am getting the following errors when I try to install. This looks pretty amazing, so would like to give it a try. Any help is greatly appreciated and thanks for creating.
Resolving deltas: 100% (2421/2421), done.
(base) Brads-MBP:SignificantTrades bradnickel$ npm install
npm WARN saveError ENOENT: no such file or directory, open '/Users/bradnickel/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/Users/bradnickel/package.json'
npm WARN [email protected] requires a peer of bufferutil@^3.0.3 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of erlpack@discordapp/erlpack but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of node-opus@^0.2.7 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of opusscript@^0.0.6 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of sodium@^2.0.3 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of libsodium-wrappers@^0.7.3 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of uws@^9.14.0 but none is installed. You must install peer dependencies yourself.
npm WARN bradnickel No description
npm WARN bradnickel No repository field.
npm WARN bradnickel No README data
npm WARN bradnickel No license field.
it would be really cool if we could set a slightly different tone for each window of Significant trades we have open. I'm wondering if this could be implemented by slightly modifying the base frequency/tone given to sfx.js . Then, we could use a slider in the app to allow the value to be changed by the user from 1.0-2.0 or something, which would multiple by the base value. That way, users could have different sounds for different exchanges or pairs as they wish. I don't have a lot of experience with the sound library you're using, maybe you can suggest where is a good place to implement this and I can give it a go? thanks.
Could you pls add an EMA as well?
Would be nice to change color scheme to beige or white background.
Also any way to choose different gif animations sets ? the cartoons/movies ones are not fun.
I have very stupid question about liqudations. Where on the chart or on trades list are they supposed to show up ? Cause i have them enabled and i havent seen single one. I know they cant show if no liqudations happen, just curios if there is some seperate window where they are shown. Tnx
Right now, i have to set all pairs i want so see manually after restarting webbrowser, that takes always some time :-(
It would be nice, to either save settings on
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.