Please, read Peatio 1.5 release notes for getting all details about how Trading UI works.
You can use #449 as search term in the release notes to find required paragraph.
Peatio trading UI extracted as separate Rails 5 application.
Home Page: https://www.peatio.tech
License: MIT License
Please, read Peatio 1.5 release notes for getting all details about how Trading UI works.
You can use #449 as search term in the release notes to find required paragraph.
ActionController::RoutingError (No route matches [POST] "/markets/1/order_bids"):
ActionController::RoutingError (No route matches [POST] "/markets/1/order_asks"):
After Ranger implementation "My completed orders" is not sensitive to completed orders made by authorized user.
Information about Ranger: https://github.com/rubykube/peatio/blob/master/docs/api/websocket_api.md
Part of trading-ui code that might need changes: https://github.com/rubykube/peatio-trading-ui/blob/1-9-stable/app/assets/javascripts/component_data/member.js.coffee
3application-c8f8a3dbdfcfb6382bc5ffc22fc3baf8b790f4b9b65924ca4db38e1f01383c5a.js:19 Uncaught TypeError: Cannot read property 'symbol' of undefined
at n.updateTotalAssets (application-c8f8a3dbdfcfb6382bc5ffc22fc3baf8b790f4b9b65924ca4db38e1f01383c5a.js:19)
at n. (application-c8f8a3dbdfcfb6382bc5ffc22fc3baf8b790f4b9b65924ca4db38e1f01383c5a.js:19)
at HTMLDocument.dispatch (application-c8f8a3dbdfcfb6382bc5ffc22fc3baf8b790f4b9b65924ca4db38e1f01383c5a.js:3)
at HTMLDocument.g.handle (application-c8f8a3dbdfcfb6382bc5ffc22fc3baf8b790f4b9b65924ca4db38e1f01383c5a.js:3)
at Object.trigger (application-c8f8a3dbdfcfb6382bc5ffc22fc3baf8b790f4b9b65924ca4db38e1f01383c5a.js:3)
at HTMLDocument. (application-c8f8a3dbdfcfb6382bc5ffc22fc3baf8b790f4b9b65924ca4db38e1f01383c5a.js:3)
at Function.each (application-c8f8a3dbdfcfb6382bc5ffc22fc3baf8b790f4b9b65924ca4db38e1f01383c5a.js:1)
at ft.fn.init.each (application-c8f8a3dbdfcfb6382bc5ffc22fc3baf8b790f4b9b65924ca4db38e1f01383c5a.js:1)
at ft.fn.init.m.fn.each (application-c8f8a3dbdfcfb6382bc5ffc22fc3baf8b790f4b9b65924ca4db38e1f01383c5a.js:4)
at ft.fn.init.trigger (application-c8f8a3dbdfcfb6382bc5ffc22fc3baf8b790f4b9b65924ca4db38e1f01383c5a.js:3)
3application-c8f8a3dbdfcfb6382bc5ffc22fc3baf8b790f4b9b65924ca4db38e1f01383c5a.js:19 Uncaught TypeError: Cannot read property 'symbol' of undefined
at n.updateTotalAssets (application-c8f8a3dbdfcfb6382bc5ffc22fc3baf8b790f4b9b65924ca4db38e1f01383c5a.js:19)
at n. (application-c8f8a3dbdfcfb6382bc5ffc22fc3baf8b790f4b9b65924ca4db38e1f01383c5a.js:19)
at HTMLDocument.dispatch (application-c8f8a3dbdfcfb6382bc5ffc22fc3baf8b790f4b9b65924ca4db38e1f01383c5a.js:3)
at HTMLDocument.g.handle (application-c8f8a3dbdfcfb6382bc5ffc22fc3baf8b790f4b9b65924ca4db38e1f01383c5a.js:3)
at Object.trigger (application-c8f8a3dbdfcfb6382bc5ffc22fc3baf8b790f4b9b65924ca4db38e1f01383c5a.js:3)
at HTMLDocument. (application-c8f8a3dbdfcfb6382bc5ffc22fc3baf8b790f4b9b65924ca4db38e1f01383c5a.js:3)
at Function.each (application-c8f8a3dbdfcfb6382bc5ffc22fc3baf8b790f4b9b65924ca4db38e1f01383c5a.js:1)
at ft.fn.init.each (application-c8f8a3dbdfcfb6382bc5ffc22fc3baf8b790f4b9b65924ca4db38e1f01383c5a.js:1)
at ft.fn.init.m.fn.each (application-c8f8a3dbdfcfb6382bc5ffc22fc3baf8b790f4b9b65924ca4db38e1f01383c5a.js:4)
at ft.fn.init.trigger (application-c8f8a3dbdfcfb6382bc5ffc22fc3baf8b790f4b9b65924ca4db38e1f01383c5a.js:3)
I found that when I ran peatio-trading-ui locally (on port 3001) that I had to make changes to ensure that all resources (from peatio) were available.
The following is the list of things I needed to prepend the PLATFORM_ROOT_URL to..
/markets/
/languages/
/pusher/auth
/api/v2/k_with_pending_trades.json
I'm not 100% sure if they should all be changed, so please investigate and change those that should be.
Hi
I saw in previous Peatio code tests for buy orders, sell orders, cancelling orders and so on.
I don't see these here. Is there a reason ? Or a plan to add tests later on?
Thank you
Open some market with a Candlestick graphics (http://peatio.trade/trading/uahusd with timeline 1w).
Change to the Line graphics and take a look at the place where the Candlestick was.
The expire time of session on trading ui is significantly different from front end (which is 4 hours).
Is there a way to set it to be equal to front end expire session time?
Hi have successfully setup peatio admin panel but i am unable to setup trading ui.I have some doubts.
Can you help me to setup trading ui.
Thanks
Hello,
Can you guys add Tradingview Chart ? It looks more better and usefull.
Thanks.
I can't use the "bundle exec rails server" to run the app.
it always shows: WARNING: Use strings for Figaro configuration. false was converted to "false".
Hi,
I tried to change market list dropdown menu to horizontal, but it doesnt work. When i click "BTC" button the BTC market doesnt show up. I need help for it. Can you guys assist me, please?
Thanks.
The WebSocket is not working on the trading UI.
Im using the latest version 1.8 and no changes in the code.
In the config file domain has been changed.
WebSocket is connecting but the page has to be refreshed to see the updated orders
Log out and go to the http://peatio.trade/trading/uahbch to see it.
src_root = Pathname.new('/opt/peatio/config')
->
src_root = Pathname.new('/opt/peatio-trading-ui/config')
I receive this error whenever I try to access the /trading/*
42: <% @data.fetch(:markets).each do |market| %>
43: <tr class="markets-toggle" id="market-list-<%= market.fetch(:id) %>" data-quote-unit="<%= market.fetch(:bid_unit) %>" data-base-unit="<%= market.fetch(:ask_unit) %>" data-market="<%= market[:id] %>">
44: <td class="col-xs-4 name">
45: <%= link_to market.fetch(:name), '/trading/' + market.fetch(:id) %>
46: </td>
47: <td class="col-xs-15 price">
48: <%= market.fetch(:ticker).fetch(:last) %>
app/assets/javascripts/component_data/member.js.coffee
file. Wrong bind?
channel.bind 'account', (data) =>
gon.accounts[data.currency.code] = data
@trigger 'account::update', gon.accounts
Probably, it should be
channel.bind 'accounts', (data) =>
gon.accounts[data.currency.code] = data
@trigger 'account::update', gon.accounts
Do we have an API equivalent for this call ?
The color of bid/ask order should change om a brief period of time.
Creating new order on the same side with the same price will stack in one line, upon that action the order should change color to the green fro a brief second. Same with the opposite sides when bid/ask orders are met, with the red color.
The example can be found here:
https://streamable.com/q430n
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.