dashed-slug.net › Forums › Exchange extension support › Coin current rate
Tagged: asks, bids, coin current rate, frontend, orderbook
- This topic has 14 replies, 2 voices, and was last updated 6 years, 5 months ago by Anonymous.
-
AuthorPosts
-
July 6, 2018 at 7:57 am #3429AnonymousInactive
Hi Alex,
Is it possible to mention editable current rate of coin for buying and selling instead of 0
Thanks
July 6, 2018 at 8:10 am #3431alexgKeymasterHi 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
July 6, 2018 at 8:27 am #3436AnonymousInactiveHi 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
July 7, 2018 at 11:11 am #3449alexgKeymasterThis is now implemented in
0.1.2-beta
. Thanks.July 7, 2018 at 1:11 pm #3450AnonymousInactiveAlex i don’t see any change. Do i have to do anything else other than updating plugin?
July 8, 2018 at 6:32 am #3454AnonymousInactiveHi 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.jsThanks
July 9, 2018 at 8:07 am #3462alexgKeymasterHello 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
July 9, 2018 at 8:46 am #3469AnonymousInactiveHi Alex,
No worries, i will try to delete cache and refresh pages to see changes.
Thanks
July 9, 2018 at 9:56 am #3472alexgKeymasterSan,
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.
July 9, 2018 at 10:26 am #3473AnonymousInactiveHi 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?
July 9, 2018 at 10:30 am #3474AnonymousInactiveI have checked to enable Fixer, Coinmarketcap, Cryptocompare and poloniex for market rates.
July 10, 2018 at 9:34 am #3482alexgKeymasterYes 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
July 13, 2018 at 9:46 am #3630AnonymousInactiveHi 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
July 14, 2018 at 8:17 am #3657alexgKeymasterSan,
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
July 18, 2018 at 1:12 pm #3691AnonymousInactiveHi Alex,
Yes rates do get updated automatically. sorry for confusion.
Thanks
-
AuthorPosts
- You must be logged in to reply to this topic.