Author Topic: Hello, TCNY  (Read 4510 times)

0 Members and 1 Guest are viewing this topic.

Offline merivercap

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
    • BitCash
 +5%

Great to see the progress! 
BitCash - http://www.bitcash.org 
Beta: bitCash Wallet / p2p Gateway: (https://m.bitcash.org)
Beta: bitCash Trade (https://trade.bitcash.org)

Offline wackou

Wanted to let you know, I will also update my feed script. I'm not as fast as xeroc, so it'll take a few more days, but you can count on me too ;)
Please vote for witness wackou! More info at http://digitalgaia.io

Offline bitcrab

  • Committee member
  • Hero Member
  • *
  • Posts: 1928
    • View Profile
  • BitShares: bitcrab
  • GitHub: bitcrab
thanks xeroc.
now no plan to build own set of feed producers, if possible it's good that witnesses be the producers.
Email:bitcrab@qq.com

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
I'll work on the script it tomorrow .. shouldn't take too much time ..
Do you have your own set of feed producers or will witnesses be producers?

Offline bitcrab

  • Committee member
  • Hero Member
  • *
  • Posts: 1928
    • View Profile
  • BitShares: bitcrab
  • GitHub: bitcrab
the private smartcoin TCNY is created and below is the info of it.
the issuer is bitcrab, later it will be transfered to a multisig account.
for price feed script, I hope the default SQP value can be set to 100.1% instead of 110%. other setting can be set as same as BitCNY.
@xeroc can you modify the script if necessary?

unlocked >>> get_asset "TCNY"
get_asset "TCNY"
{
  "id": "1.3.734",
  "symbol": "TCNY",
  "precision": 4,
  "issuer": "1.2.121",
  "options": {
    "max_supply": "1000000000000000",
    "market_fee_percent": 0,
    "max_market_fee": "1000000000000000",
    "issuer_permissions": 511,
    "flags": 128,
    "core_exchange_rate": {
      "base": {
        "amount": 1,
        "asset_id": "1.3.734"
      },
      "quote": {
        "amount": 1,
        "asset_id": "1.3.0"
      }
    },
    "whitelist_authorities": [],
    "blacklist_authorities": [],
    "whitelist_markets": [],
    "blacklist_markets": [],
    "description": "",
    "extensions": []
  },
  "dynamic_asset_data_id": "2.3.734",
  "bitasset_data_id": "2.4.33"
}
unlocked >>> get_object 2.4.33
get_object 2.4.33
[{
    "id": "2.4.33",
    "feeds": [[
        "1.2.9952",[
          "2015-12-09T09:15:18",{
            "settlement_price": {
              "base": {
                "amount": 1000,
                "asset_id": "1.3.734"
              },
              "quote": {
                "amount": 388050,
                "asset_id": "1.3.0"
              }
            },
            "maintenance_collateral_ratio": 1750,
            "maximum_short_squeeze_ratio": 1001,
            "core_exchange_rate": {
              "base": {
                "amount": 1000,
                "asset_id": "1.3.734"
              },
              "quote": {
                "amount": 388050,
                "asset_id": "1.3.0"
              }
            }
          }
        ]
      ]
    ],
    "current_feed": {
      "settlement_price": {
        "base": {
          "amount": 0,
          "asset_id": "1.3.0"
        },
        "quote": {
          "amount": 0,
          "asset_id": "1.3.0"
        }
      },
      "maintenance_collateral_ratio": 1750,
      "maximum_short_squeeze_ratio": 1500,
      "core_exchange_rate": {
        "base": {
          "amount": 0,
          "asset_id": "1.3.0"
        },
        "quote": {
          "amount": 0,
          "asset_id": "1.3.0"
        }
      }
    },
    "current_feed_publication_time": "2015-12-09T15:38:36",
    "options": {
      "feed_lifetime_sec": 7200,
      "minimum_feeds": 7,
      "force_settlement_delay_sec": 86400,
      "force_settlement_offset_percent": 200,
      "maximum_force_settlement_volume": 200,
      "short_backing_asset": "1.3.0",
      "extensions": []
    },
    "force_settled_volume": 0,
    "is_prediction_market": false,
    "settlement_price": {
      "base": {
        "amount": 0,
        "asset_id": "1.3.0"
      },
      "quote": {
        "amount": 0,
        "asset_id": "1.3.0"
      }
    },
    "settlement_fund": 0
  }
]
Email:bitcrab@qq.com