Formulae: Difference between revisions
Line 23: | Line 23: | ||
==Markets== | ==Markets== | ||
===[https://www.bitstamp.net/ Bitstamp]=== | |||
* ''bitstamp_USD'' | |||
====Types==== | |||
* ''ask'' | |||
* ''bid'' | |||
* ''high'' | |||
* ''low'' | |||
* ''last'' | |||
* ''volume'' | |||
===[https://btc-e.com/ BTC-e]=== | |||
* ''btce_USD'' | |||
====Types==== | |||
* ''buy'' | |||
* ''sell'' | |||
* ''high'' | |||
* ''low'' | |||
* ''last'' | |||
* ''avg'' | |||
* ''vol'' | |||
* ''vol_cur'' | |||
===[https://mtgox.com/ MtGox]=== | ===[https://mtgox.com/ MtGox]=== |
Revision as of 15:14, 9 November 2013
The price formula text box allow for the price of your Bitcoins to dynamically alter as market conditions change.
The calculation process allows for a wide variety of mathematical operators typical in computing terminology (e.g. * for multiplied by and ^ for to the power of). Other available functions include:
- max - Maximum value from the parameters, e.g. max(80, mtgox_GBP_buy)
- min - Minimum value from the parameters
- average - Average (mean) value from the parameters
Figures from other Bitcoin markets can be used in the equation, and these take the form market_currency_type, e.g. mtgox_GBP_2bsr.
Special Functions
bitty_lowest(<num BTC>)
Returns the price of the lowest active seller with same offer characteristics as your offer. They must have at least <num BTC> available for sale.
Note that this is updated every time the formulae are updated (every ten seconds) so it may take a few iterations for this value to stabilise. Thus, please do not try to undercut by just a few pennies/cents.
Also note that this should never be used on its own as it will return zero if you are the only active offer. Two recommended ways of using this with other functions are:
- Matching other seller offers with a minimum price of 60 and a maximum of 80: min(max(bitty_lowest(1), 60), 80)
- Beating other seller offers by 0.50 down to a minimum price of 60 max(bitty_lowest(1) - 0.5, 60)
Markets
Bitstamp
- bitstamp_USD
Types
- ask
- bid
- high
- low
- last
- volume
BTC-e
- btce_USD
Types
- buy
- sell
- high
- low
- last
- avg
- vol
- vol_cur
MtGox
- mtgox_GBP
- mtgox_EUR
- mtgox_USD
Types
- sell - Lowest price that coins are sold at on the market
- buy - Highest price that coins are bought at on the market
- 2bbn - The price of buying 2 BTC
- 2bbr - The price of buying 2 BTC including typical fees
- 2bsn - The price you can sell 2 BTC at
- 2bsr - The price you can sell 2 BTC at including typical fees
- last - The last price a trade was completed at