A discussion on the latest beta version of the Exchange extension to the Bitcoin and Altcoin Wallets free WordPress plugin.
Market and user historiesIt turns out that the DB schema of the Exchange extension was previously flawed in that it did not correctly capture the 1..n relation of orders to trades. Trades were therefore not easily accessible to display histories and market prices. This resulted in some history displays missing a few trades. This was only an issue with displaying the history, orders were still executed correctly. This is now fixed with the introduction of a new table in the DB schema that captures individual trades. Market and user histories, as well as OHLC (candlestick) data are now derived from this table. A side-effect is that any existing trade histories will no longer be displayed. The
[wallets_exchange_user_history]shortcodes will only display trades that occurred with version
0.5.0-betaor later. A new JSON API endpoint is introduced for getting user trade histories. This is
get_user_history. The corresponding PHP API is the filter