set markets from url (ex aggr.trade/btcusd)
proposal
aggr.trade/btcusd v3.aggr.trade/btcusd+ethusd
should automatically create OR use existing workspace listening to given symbols
-
Rules for matching (what exchanges and case of stablecoins quote currency names) We could use user preferences to know which exchanges should be included in the matching, that would require to take that part of the settings out of the workspace to the main indexedDB database Making search preferences (ex: no distinction of stablecoin currency) or exchanges preferences (ex: disabled exchange) common across all workspaces
-
Base workspace to use Use default workspace if no workspaceId is specified (aggr.trade/btcusd) Allow user to set default workspace from the settings Allow user to use workspace as a base aggr.trade/a1b2/btcusd+ethusd
Would love to have this, how can I help?
Another option could be to provide a url parameter ?workspace=<url to .json> which will get auto loaded would allow for custom workspaces to be easily distributed. We can provide a share functionality which can store .json files on the aggr server for an hour or 1 time link request retrieval
@lmvdz the feature is ready sir
right now It is using the last used filters (from the search window) for filtering what market should match when you type "btcusd" in the url (so for example if you have historical markets ticked in the settings and type etcusd in the url it won't work, as I don't have the data for that pair 🤔 )
Hmm so how do I use it?
https//v3.aggr.trade/btcusdt ?
I am developing a game and being able to define the workspace.json as a query parameter would be amazing.
For example, I need to be able to define the workspace for the user, which will consist of a chart + trades for 3 different tickers
Not sure it's working friend, my charts are undefined


Okay it's working again, not sure what happened 👍
ahh what happened there ?? was this connectivity issue on your end or... the old site remained unchanged, weird that you don't have the chart loading there
Hmm so how do I use it? https//v3.aggr.trade/btcusdt ?
Yes, https://charts.aggr.trade/btcusd, https://charts.aggr.trade/btcusd,ethusd, https://charts.aggr.trade/shibusd+dogeusd etc
For example, I need to be able to define the workspace for the user, which will consist of a chart + trades for 3 different tickers
Right now it just set on all panes on the workspace, choosing which pair goes where just from the url would be too messy, imo
Defining the workspace.json as a query parameter, assuming you were thinking of an url sounds impractical af, if you have the file, just drop it on. I like the idea of sharing a workspace tho, just like tradingview
This is my case:

When a person comes to my site I want to show them v3.aggr.trade, but as you can see I have 3 games running, so if I could append a workspace query parameter https://v3.aggr.trade?workspace=<url.json> which would load a layout like this:

If it's not practical that's okay, I am sure people will still be able to setup the aggr chart the way they want!
I could even have toggles on the games themselves to switch to different pairs, which could be a win-win
A possible unwanted side-effect would be having the url be https://v3.aggr.trade/btcusdt and I have custom chart setup which has a bunch of different pairs like this:
It would completely ruin that workspace, because the charts each have their separate exchanges/spot/perp etc
And if custom workspace.json works in the url I could even serve this layout ^ for each asset. Which would be epic
I can host the .json on my site and aggr would just pull that .json from the url ;)
ahh what happened there ?? was this connectivity issue on your end or... the old site remained unchanged, weird that you don't have the chart loading there
No idea what happened there...
#227 Something like this is what I was thinking of
Is it also possible to set a timeframe using the url? Like "https://charts.aggr.trade/ethusdt_1s" or "https://charts.aggr.trade/ethusdt_1tick"?
@lmvdz Tagging here, maybe you know this?
Is it also possible to set a timeframe using the url? Like "https://charts.aggr.trade/ethusdt_1s" or "https://charts.aggr.trade/ethusdt_1tick"?
@lmvdz Tagging here, maybe you know this?
Not sure, don't think it's currently possible to do so in Tucsky's repo