Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Market containing assets with different precisions? [solved]  (Read 226 times)

0 Members and 1 Guest are viewing this topic.

Offline monsterer

Market containing assets with different precisions? [solved]
« on: October 08, 2014, 08:47:18 AM »

What happens if you have a market containing two assets which each have different precisions?
« Last Edit: October 08, 2014, 09:56:30 AM by monsterer »
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12071
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Market containing assets with different precisions?
« Reply #1 on: October 08, 2014, 09:51:12 AM »
What happens if you have a market containing two assets which each have different precisions?
I don't see the issue?
- It's allowed
- on the blockchain all numbers are integers ...
- precision is more a tradeoff between price and max amount of shares
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline monsterer

Re: Market containing assets with different precisions?
« Reply #2 on: October 08, 2014, 09:54:17 AM »
I don't see the issue?
- It's allowed
- on the blockchain all numbers are integers ...
- precision is more a tradeoff between price and max amount of shares

I think I was getting confused with how the volume traded and lasts price numbers are represented - obviously the volume/prices traded are in the quote currency, so should obey the quote precision rules.
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline monsterer

Re: Market containing assets with different precisions? [solved]
« Reply #3 on: October 08, 2014, 10:06:13 AM »
Actually, I suppose this means I can't buy less than USD's precision worth of USD with BTSX?

Eg. buying 1.00001 quantity of USD with BTSX ought to fail?
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12071
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Market containing assets with different precisions? [solved]
« Reply #4 on: October 08, 2014, 12:26:35 PM »
Actually, I suppose this means I can't buy less than USD's precision worth of USD with BTSX?

Eg. buying 1.00001 quantity of USD with BTSX ought to fail?
*confirmed*
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

 

Google+