Coder Social home page Coder Social logo

rubykube / peatio-trading-ui Goto Github PK

View Code? Open in Web Editor NEW
43.0 17.0 88.0 58.5 MB

Peatio trading UI extracted as separate Rails 5 application.

Home Page: https://www.peatio.tech

License: MIT License

Ruby 16.47% JavaScript 5.59% CoffeeScript 44.65% HTML 16.19% CSS 16.40% Shell 0.08% Dockerfile 0.63%
cryptocurrency-exchanges cryptocurrency blockchain peatio trading

peatio-trading-ui's Introduction

Peatio Trading UI

Installation steps

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's People

Contributors

calj avatar k1t4er avatar kite-bot avatar shal avatar yivo avatar ysv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

peatio-trading-ui's Issues

no order_bids and order_asks action

ActionController::RoutingError (No route matches [POST] "/markets/1/order_bids"):

ActionController::RoutingError (No route matches [POST] "/markets/1/order_asks"):

Key not found

Please check attached image and let me know what is wrong.

capture

Trading UI stuck on loading

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)

URLs that need to reference PLATFORM_ROOT_URL

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.

Tests for trading UI

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

The Expire time of session

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?

page not refresh after bid/ask order created.

peatio, peatio-trading-ui version: 1.6.0
ubuntu 16.

once I placed an ask/bid order, the div on the "top right area" is not reload, and I have to manually press F5 , then I saw the order I created.

the attachement is the area that should auto-refresh.
screenshot from 2018-04-09 15-15-01

Candlestick is not showing properly

Open market view :

image

Click on LINE:

image

And then click back on CANDLESTICK:

image

The green/red candlestick/candlesticks are not showing for the all timeline. Just for the selected time range.

How to setup trading ui

Hi have successfully setup peatio admin panel but i am unable to setup trading ui.I have some doubts.

  1. Where to clone all trading ui files .Will it be within peatio folder or it be any location.
  2. There is no mapping option in nginx.config for trading ui.
  3. I have copied nginx.conf fro ci/nginx.conf but after this i am not getting any webpage .

Can you help me to setup trading ui.

Thanks

PLEASE HELP ME. I CAN RUN THIS APPL

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".

Changing market list dropdown menu to horizontal

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.

Little Help

when running the peatio-trading ui, i got this page as if the styles were missing, that is the css. was it my nginx because i had difficult time configuring ssl for nginx. please help
azaz

Websockets not working

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

Dropdown Fund in trading UI show all

i am using 1-8-stable. Certain coin, like XRP is not visible in currencies. which meant it not setup. In fund page profile also doesnt show XRP.
But when in trading ui, it show all including the coins that have status invisible.

screen shot 2018-05-22 at 2 20 42 am

Is this normal behaviour default in trading-ui?

Trade Issue

I have upgraded solution to ver 1.7 and running on Ubuntu.

I have balance in BTCUSD but while placing order i am getting some issues.Please check attached image for more details.

capture

Charts building issue

This issue can be found in exchange of UAH/* and if you have option "Candlestick" active.
selection_048

Next issue can be recreated if the chart are empty at the first place like below:
selection_053
Make any transaction and you will get forever loading
selection_052

TypeError in Markets#show

Just tried to install the latest peatio from this repository. Every time, I am getting same error. tried a lot to fix but so solution. anyone there to tell about this issue?

Thanks in advance.

Implicit Conversion Error When Accessing Markets

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) %>

Wrong binding of Pusher event

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.