Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Troglodactyl

Pages: 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 ... 64
91
Technical Support / Re: [Python] Price Feed Script for BitShares 2.0
« on: October 16, 2015, 11:33:31 pm »
the question is , how much we can set  short_squeeze_ratio to?
which is better? which is bad?
if witness set it to 1000%, all short position will force margin call, and sell at 10% price. I think it's bad.
if 500% is bad? if 200% is bad? if 150% is bad? what's the rule? do we need to set a hard code limit? what's the value?
will you short bitUSD if there is no limit?
in my opnion, 110% should be the hard code limit, if we don't protect short position, nobody dare to short, bitUSD die.

I don't think there is one economically "correct" answer since it depends on collateralization. Well collateralized markets  can have it set much higher than lower collateralized markets. At this point, you have to go by "feel" and adjust accordingly. Or we can use the price feed script to publish a squeeze ratio that is a function of SWAN or average collateralization for each market.

Maybe 1.25xSWAN is a good number? That means:
1.25xSWAN_PRICE = FEED/SQR
SQR= (FEED/SWAN_PRICE) X .8

Has no one else here noticed that the market is broken?  Adjusting the SQR to something more reasonable would be a start, at least it would minimize the damage.

Seriously, witnesses need to be paying attention to this.

92
Code: [Select]
Publish feed
Publisher in.abit
Asset USD
Initial collateral ratio 1.50
Collateral maintenance ratio 1.75
Core rate 208.299050781 BTS/USD
Settlement price 208.299050781 BTS/USD
Fee 1 BTS

So "Initial collateral ratio" = "SQP" and "Collateral maintenance ratio" = "Call ratio"?

In the example feed published above, is the initial required ratio supposed to be less than the ratio that must be maintained?  Wouldn't that allow people to open positions that will be called instantly?

93
General Discussion / Re: BitShares 2 Release Coordination Thread
« on: October 14, 2015, 02:00:24 pm »


80% of that never reached my account. that's what I wanted to say. seems like life time membership is bugged

It seems ok on backend side: You have 97 BTS as cashback

Code: [Select]
get_account fav
{
...
"cashback_vb": "1.13.52"
}

get_object 1.13.52
[{ 
    "id": "1.13.52",
    "owner": "1.2.21106",
    "balance": {
      "amount": 9729843,
      "asset_id": "1.3.0"
    },
    "policy": [
      1,{
        "vesting_seconds": 7776000,
        "start_claim": "1970-01-01T00:00:00",
        "coin_seconds_earned": "75659259168000",
        "coin_seconds_earned_last_update": "2015-10-14T08:00:00"
      }
    ]
  }
]

But my balance does not update?

you should give this command:
Code: [Select]
withdraw_vesting "1.13.52" 97 BTS true

Is that possible in the win lightwallet or OpenLedger?
Does it show up in wallet settings under balance claims?

94
Technical Support / Re: Vested Balances
« on: October 14, 2015, 12:27:45 pm »
Use the "Balance Claims" in wallet management.  Click the gear in the top right, then click "Wallets" on the right, then "Balance Claims".  You should see a listing of all of your balances available to claim, both vesting and genesis.

95
Yup ... 7 blocks pending means they will be IRREVERSIBLE after 7 blocks

You can reverse transactions? If so, why only some?

You can't.  It's a worst case scenario thing.  If someone smashed the internet and thus separated the witnesses so they couldn't communicate, the last irreversible block would be the safe place to resume when global communication was restored.

96
Hello,

i have a question about the pegged assets.

In the example of bitUSD it all makes sense for me from the perspective of the holder of bitUSD. However i don't understand how it would make sense for the party to create the asset thru shorting.

Does the fact that the shorter is putting up 200% of collateral mean that this party cannot make a profit?

So yesterday i bough 1 bitUSD it cost me 200 bts.

So assuming that it cost 400 bts in collateral to create the asset, what happens to the shorter when bts loses 50% of value.


obviously my bitUSD do not change they should still be worth 1USD and i should be able to sell them for roughly 300 bts.

The shorter can buy back the asset for 300 and make a loss of 100 bts. At the same time the collateral of 400 also has lost 50%. This overall is losing proposition as the shorter bet on the wrong side. We have 300 bts left. We lost 25% of the asset that has lost 50% of value.

If the market moves the other way around:

the shorter can cover its asset for 100, making 100 bts profit. At the same time the collateral also increased 50% in value.

So overall we made 100 bts and now have 500 bts,

we originally had 2 USD worth of bts (400 bts)
Now we have 5 USD worth of bts (500) instead of 4 if we would have simply held BTS. So does this mean when we buy a bit asset we simply accelerate a bit how much money we make on either side.

Did I understand this correctly?

Why is the collateral so high. Does this not complicate things? Why do we not use 50% collateral and margin at 20%. Would that not make an overall better product?

"Now we have 5 USD worth of bts (500) instead of 4 if we would have simply held BTS. So does this mean when we buy a bit asset we simply accelerate a bit how much money we make on either side.

Did I understand this correctly?"

This part is correct.  By shorting bitUSD, you're taking a leveraged long position in BTS, so you amplify your gains when BTS increases in value relative to USD.

"Why is the collateral so high. Does this not complicate things? Why do we not use 50% collateral and margin at 20%. Would that not make an overall better product?"

The collateral needs to be high enough that bitAsset holders are confident it will be sufficient to withstand volatility.  The higher the collateral, the lower the leverage for the shorter, and the higher the security for the bitAsset holder.  Since the entire cryptocurrency space is notoriously volatile, high collateral requirements are likely necessary.

97
General Discussion / Re: Graphene GUI testing and feedback
« on: October 11, 2015, 06:22:05 pm »
The functionality was only added a few days ago, we just need to figure out the kinks. I'll see if I can add access to it in the connection failure screen.
It's stored in localStorage so you can clear it by clearing that, in Chrome its under resources in the dev tools.

In the online version (i.e. in the GUI accessed by https://graphene.bitshares.org) - what possible reason would I have to want to change it??
I think it should be completely removed (or disabled) in the online version.

No, it can be useful, say you're on OpenLedger but their backend servers go down, you could switch it to another api provider, like BunkerDEX or Banx, or even one you provide yourself.

I see. So you can have the html/js served by domain A and at the same time have the blockchain support (i.e. wss) served by domain B.
OK, that makes sense and it's great.

But this definitely requires a fool-proof implementation in the GUI so that people do not become cut off when they mess it up.
Maybe a drop-down offering a choice of available wss domains plus and advanced option to add your own wss URL.

The connection failure page should list the web socket connection information and allow the user to alter it before retrying, possibly buried behind an "Advanced" expander.

Yea I've gone and added this, I also refactored the whole thing so you now choose the websocket using a dropdown menu. In the settings you can add AND remove websockets to the list, while on the init-error page you can choose from the list, or add a new one then pick it.



Awesome!  Looking good.

98
General Discussion / Re: October 5 Test Network
« on: October 11, 2015, 02:52:04 pm »
When you start the witness, what determines the chainID it runs on?

I don't see any specific cmd line options for a witness to act as a seed node, is that just a matter of not enabling block production and changing the --p2p-endpoint arg it will listen on?

When I do that it provides some (arbitrary, self-generated?) chainID, could each seed node theoretically represent it's own chain that other witness nodes could join to form their own P2P network?

I can easily see why the cli_wallet needs a chainID parameter, just not sure how it is determined for each witness.

Can anyone help clarify this?

Isn't the chain ID deterministic based on the genesis state?

EDIT:  Confirmed.

Code: [Select]
   /**
    * Get the chain_id corresponding to this genesis state.
    *
    * This is the SHA256 serialization of the genesis_state.
    */
   chain_id_type compute_chain_id() const;

Code: [Select]
chain_id_type genesis_state_type::compute_chain_id() const
{
   return fc::sha256::hash( *this );
}

The chain ID is just the hash of the genesis state.

99
General Discussion / Re: Graphene GUI testing and feedback
« on: October 11, 2015, 02:30:19 pm »
The functionality was only added a few days ago, we just need to figure out the kinks. I'll see if I can add access to it in the connection failure screen.
It's stored in localStorage so you can clear it by clearing that, in Chrome its under resources in the dev tools.

In the online version (i.e. in the GUI accessed by https://graphene.bitshares.org) - what possible reason would I have to want to change it??
I think it should be completely removed (or disabled) in the online version.

No, it can be useful, say you're on OpenLedger but their backend servers go down, you could switch it to another api provider, like BunkerDEX or Banx, or even one you provide yourself.

I see. So you can have the html/js served by domain A and at the same time have the blockchain support (i.e. wss) served by domain B.
OK, that makes sense and it's great.

But this definitely requires a fool-proof implementation in the GUI so that people do not become cut off when they mess it up.
Maybe a drop-down offering a choice of available wss domains plus and advanced option to add your own wss URL.

The connection failure page should list the web socket connection information and allow the user to alter it before retrying, possibly buried behind an "Advanced" expander.

100
General Discussion / Re: Graphene GUI testing and feedback
« on: October 10, 2015, 09:09:35 pm »
Code: [Select]
ERROR in ./~/css-loader!./~/autoprefixer-loader!./~/sass-loader?outputStyle=expanded!./app/assets/stylesheets/app.scss
Module build failed:
@import "~react-foundation-apps/node_modules/foundation-apps/scss/foundation.scss";
       ^
      File to import not found or unreadable: react-foundation-apps/node_modules/foundation-apps/scss/foundation.scss
      in [...]/graphene-ui/web/app/assets/stylesheets/app.scss (line 3, column 9)
 @ ./app/assets/stylesheets/app.scss 4:14-200 13:2-17:4 14:20-206
webpack: bundle is now VALID.

If I downgrade NodeJS so that the dependencies build/install successfully, I get this error on attempting to start.

Any assistance would be appreciated.

101
Technical Support / Re: Unable to sync up
« on: October 10, 2015, 07:51:48 pm »
https://mega.nz/#!CVUzxZpL!4m8Ee8c1rD6fOluqqq7HROMmOG2ERmidykBQRO2GlU8

There's a chain backup from the 5th.  Should solve the syncing problem.  If the 10k doesn't show up after you're synced you may need to regenerate some keys. 

102
General Discussion / Re: Graphene GUI testing and feedback
« on: October 10, 2015, 07:40:18 pm »
The market history on the right is blank.i Mortgage coreļ¼ŒBut can't find the list.

Same question here - any place one can see his short positions?

Looks like you just use the "Borrow [BitAsset]" button in market both to borrow, pay off debt, or to check your current position.  Just update your position and set your desired debt to zero to pay off that debt from your asset balance.

EDIT:
It has been addes to the latest development branch .. the page has not yet been updates

Oh good.

103
Cryptsy failed to honor the PTS snapshot and lost the support of many in the community.

still, there's only value to be gained by working with them to incorporate BTS 2.0. the more liquidity channels we have, the better.

No, there isnt value in having some people buy BTS on a scam exchange and then have it get stolen from them by the exchange and dumped elsewhere. 

^This.  Even before Cryptsy failed to honor the PTS snapshot it was a poorly run exchange.  I'm honestly surprised it's still alive.  At least a year ago people were telling me about pretty significant issues with people withdrawing more than their account balance from them.

104
General Discussion / Re: Graphene GUI testing and feedback
« on: October 09, 2015, 10:46:08 pm »
We have some issues regarding the GUI in Firefox 41.0.1 on Windows 7.
https://github.com/cryptonomex/graphene-ui/issues/285

Could someone confirm the error I get in the js console when loading the URL https://graphene.bitshares.org in Firefox 41.0.1 on Windows 7?

This is the error I get:
Code: [Select]
The connection to wss://graphene.bitshares.org:8090/ was interrupted while the page was loading.

This is quite urgent as the devs are trying to sort it out right now. Anyone with Win 7 and Firefox please give it a go.

I'm getting that error on Arch Linux with Firefox 41.0.1:

Code: [Select]
The connection to wss://graphene.bitshares.org/ws/ was interrupted while the page was loading. app.js:6:0
"connecting to wss://graphene.bitshares.org:443/ws/" app.js:6:23319
mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create vendors.js:19:30281

105
https://bitsharestalk.org/index.php/topic,18776.0.html

This should help with syncing if you want.

Pages: 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 ... 64