Open extra topbar

Coin current rate

If you are new here, please see some information on how to ask for support. Thank you!

Coin current rate

dashed-slug.net Forums Exchange extension support Coin current rate

This topic contains 14 replies, has 2 voices, and was last updated by  San 1 year, 4 months ago.

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #3429

    San
    Participant

    Hi Alex,

    Is it possible to mention editable current rate of coin for buying and selling instead of 0

    Thanks

    #3431

    alexg
    Keymaster

    Hi San,

    To be clear, do you mean that the default rate in the buy and sell boxes should be the current market rate?

    Yes, this makes sense and can be done.

    Thanks for the suggestion

    kind regards

    #3436

    San
    Participant

    Hi Alex,

    Yes sir, don’t you think that makes sense?

    Instead of typing say 0.00000100 btc for DOGE as buying or selling rate there should be pre-mentioned current rate say buy rate 0.00000040 btc and selling 0.00000038 btc. and maker and taker fee on the buying or selling amount, i.e. if buying/selling 100k doge

     

    #3449

    alexg
    Keymaster

    This is now implemented in 0.1.2-beta. Thanks.

    #3450

    San
    Participant

    Alex i don’t see any change. Do i have to do anything else other than updating plugin?

    #3454

    San
    Participant

    Hi Alex,

    There is an error

    ReferenceError: Unable to process binding “value: function (){return exchangeRate }”
    Message: Can’t find variable: exchangeRate on file knockout-latest.min.js

    Thanks

    #3462

    alexg
    Keymaster

    Hello San,

    Both of the problems you report are because your browser is using a cached version of the frontend JavaScript code, despite the anti-caching measures built into WordPress. I have a fix for this, and will roll it out on the next release.

    Thank you for reporting.

    kind regards

    #3469

    San
    Participant

    Hi Alex,

    No worries, i will try to delete cache and refresh pages to see changes.

    Thanks

    #3472

    alexg
    Keymaster

    San,

    Looking at this again, I have already done all that is necessary for browser caching to be circumvented.

    The plugin should be pulling the minified version of the code that includes a version tag in the filename. i.e.:

    wallets-exchange-0.1.2-beta.min.js

    What you report indicates that your plugin does not find this file, and falls back to:

    wallets-exchange.js

    Can you please confirm? Thanks.

    #3473

    San
    Participant

    Hi Alex,

    Apologies for confusion about error message. Actually i manually copied and pasted codes in exchange page instead of short codes, so it seems to be fine when i use default short code to display exchange.

    But still i can’t see it’s displaying current rate when i type in 1 LTC to buy. Am i doing something wrong?

    #3474

    San
    Participant

    I have checked to enable Fixer, Coinmarketcap, Cryptocompare and poloniex for market rates.

    #3482

    alexg
    Keymaster

    Yes that makes sense, simply copying and pasting code from the plugin into your page will not work.

    You will only see exchange rates when they are loaded. This is why the debug windows are provided. So you know if the exchange rate was loaded or not. The exchange rates might not be loaded immediately after selecting rates providers. They will be loaded on the next run as determined by the time interval you have set.

    You must also make sure that you have selected a currency to display. See the documentation under “Exchange Rates” for more.

    kind regards

    #3630

    San
    Participant

    Hi Alex,

    Somehow auto current rate is not working. Can you help please.

    I am expecting something like in Poloniex for buying and selling input fields.

    Thanks

    #3657

    alexg
    Keymaster

    San,

    There are two different concepts here:

    1. The “exchange rates” admin section loads exchange rates from other exchanges and services. This is for the purposes of displaying amounts in different currencies.

    2. The “Exchange extension” is a plugin extension to allow your users to perform trading on your site, and is totally unrelated.

    In the Exchange extension, when you click on an amount or exchange rate in your orderbook, order history or market history, these values get transferred to either your buy or sell input form. When a market is loaded, the default buy and sell rates are set to market values, but only if there is an orderbook. Could it be that you are testing with an empty orderbook?

    Can you please describe exactly what you did and what happened?

    Thanks

    kind regards

    #3691

    San
    Participant

    Hi Alex,

    Yes rates do get updated automatically. sorry for confusion.

    Thanks

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.