Bitcoin and Altcoin Wallets: Exchange 2.3.3

market.php

Market post type.

Tags
author

Alexandros Georgiou info@dashed-slug.net

since
2.0.0

Table of Contents

DEFAULT_EXCHANGE_MARKET_POST_CONTENT  = <<<CONTENT <table style="width: 100%; table-layout: fixed"> \t<thead> \t\t<tr> \t\t\t<th style="width: 50%;"></th><th style="width: 50%;"></th> \t\t</tr> \t</thead> \t<tbody> \t\t<tr> \t\t\t<td colspan="2">[wallets_exchange_market]</td> \t\t</tr> \t\t<tr> \t\t\t<td colspan="2">[wallets_exchange_chart]</td> \t\t</tr> \t\t<tr> \t\t\t<td style="vertical-align: top;"> \t\t\t\t<h2>Bids</h2> \t\t\t\t[wallets_exchange_bids] \t\t\t</td> \t\t\t<td style="vertical-align: top;"> \t\t\t\t<h2>Asks</h2> \t\t\t\t[wallets_exchange_asks] \t\t\t</td> \t\t</tr> \t\t<tr> \t\t\t<td style="vertical-align: top;">[wallets_exchange_market_buy]</td> \t\t\t<td style="vertical-align: top;">[wallets_exchange_market_sell]</td> \t\t</tr> \t\t<tr> \t\t\t<td style="vertical-align: top;">[wallets_exchange_limit_buy]</td> \t\t\t<td style="vertical-align: top;">[wallets_exchange_limit_sell]</td> \t\t</tr> \t\t<tr> \t\t\t<td colspan="2"> \t\t\t\t<h2>Market history</h2> \t\t\t\t[wallets_exchange_market_history] \t\t\t</td> \t\t</tr> \t\t<tr> \t\t\t<td colspan="2"> \t\t\t\t<h2>User orders</h2> \t\t\t\t[wallets_exchange_user_orders] \t\t\t</td> \t\t</tr> \t\t<tr> \t\t\t<td colspan="2"> \t\t\t\t<h2>User history</h2> \t\t\t\t[wallets_exchange_user_history] \t\t\t</td> \t\t</tr> \t</tbody> </table> CONTENT
MARKET_META  = ['quote_currency_id' => 'Quote currency. Bid orders buy this quote currency against the base currency.', 'base_currency_id' => 'Base currency. Ask orders sell the base currency against this base currency.', 'quote_amount_min' => 'The minimum size of an allowed trade in this market. Expressed in units of the quote currency.', 'quote_amount_max' => 'The maximum size of an allowed trade in this market. Expressed in units of the quote currency.', 'bid_disabled' => 'Whether to disallow bidding (i.e. buying the quote currency).', 'ask_disabled' => 'Whether to disallow asking (i.e. selling the quote currency).', 'cancel_disabled' => 'Whether to disallow cancelling orders.', 'rates_enabled' => 'Use price data from this market in the plugin.']
wallets_market_meta_box_currencies()  : mixed
wallets_market_meta_box_orders()  : mixed
wallets_market_meta_box_rates()  : mixed

Constants

DEFAULT_EXCHANGE_MARKET_POST_CONTENT

public mixed DEFAULT_EXCHANGE_MARKET_POST_CONTENT = <<<CONTENT <table style="width: 100%; table-layout: fixed"> \t<thead> \t\t<tr> \t\t\t<th style="width: 50%;"></th><th style="width: 50%;"></th> \t\t</tr> \t</thead> \t<tbody> \t\t<tr> \t\t\t<td colspan="2">[wallets_exchange_market]</td> \t\t</tr> \t\t<tr> \t\t\t<td colspan="2">[wallets_exchange_chart]</td> \t\t</tr> \t\t<tr> \t\t\t<td style="vertical-align: top;"> \t\t\t\t<h2>Bids</h2> \t\t\t\t[wallets_exchange_bids] \t\t\t</td> \t\t\t<td style="vertical-align: top;"> \t\t\t\t<h2>Asks</h2> \t\t\t\t[wallets_exchange_asks] \t\t\t</td> \t\t</tr> \t\t<tr> \t\t\t<td style="vertical-align: top;">[wallets_exchange_market_buy]</td> \t\t\t<td style="vertical-align: top;">[wallets_exchange_market_sell]</td> \t\t</tr> \t\t<tr> \t\t\t<td style="vertical-align: top;">[wallets_exchange_limit_buy]</td> \t\t\t<td style="vertical-align: top;">[wallets_exchange_limit_sell]</td> \t\t</tr> \t\t<tr> \t\t\t<td colspan="2"> \t\t\t\t<h2>Market history</h2> \t\t\t\t[wallets_exchange_market_history] \t\t\t</td> \t\t</tr> \t\t<tr> \t\t\t<td colspan="2"> \t\t\t\t<h2>User orders</h2> \t\t\t\t[wallets_exchange_user_orders] \t\t\t</td> \t\t</tr> \t\t<tr> \t\t\t<td colspan="2"> \t\t\t\t<h2>User history</h2> \t\t\t\t[wallets_exchange_user_history] \t\t\t</td> \t\t</tr> \t</tbody> </table> CONTENT

MARKET_META

public mixed MARKET_META = ['quote_currency_id' => 'Quote currency. Bid orders buy this quote currency against the base currency.', 'base_currency_id' => 'Base currency. Ask orders sell the base currency against this base currency.', 'quote_amount_min' => 'The minimum size of an allowed trade in this market. Expressed in units of the quote currency.', 'quote_amount_max' => 'The maximum size of an allowed trade in this market. Expressed in units of the quote currency.', 'bid_disabled' => 'Whether to disallow bidding (i.e. buying the quote currency).', 'ask_disabled' => 'Whether to disallow asking (i.e. selling the quote currency).', 'cancel_disabled' => 'Whether to disallow cancelling orders.', 'rates_enabled' => 'Use price data from this market in the plugin.']

Functions

wallets_market_meta_box_currencies()

wallets_market_meta_box_currencies(mixed $post, mixed $meta_box) : mixed
Parameters
$post : mixed
$meta_box : mixed
Return values
mixed

wallets_market_meta_box_orders()

wallets_market_meta_box_orders(mixed $post, mixed $meta_box) : mixed
Parameters
$post : mixed
$meta_box : mixed
Return values
mixed

wallets_market_meta_box_rates()

wallets_market_meta_box_rates(mixed $post, mixed $meta_box) : mixed
Parameters
$post : mixed
$meta_box : mixed
Return values
mixed

Search results