S&P 500, Dow and other indexes as smart assets

Started by btsindex, April 09, 2018, 10:34:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

akledirs

btsindex, please give feedprice and do force settle for all if not can give feeds constantly. I few months not can close position on S&P.

akledirs

When update? I want settle this on true price.

pc

Quote from: akledirs on February 22, 2019, 10:10:55 AM
Simple changing - use pricefeed from bts/usd but not market price.

Keep in mind that feed price may not match actual bts valuation either, see BSIP-42 and BSIP-58.
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 [url="http://bitcoin.quisquis.de"]http://bitcoin.quisquis.de[/url]

clockwork

Quote from: btsindex on February 21, 2019, 08:44:33 AM
Thanks, akledirs. You're right. That's because of the bitUSD global settlement. The script gets the BTS/USD price from the blockchain. And it doesn't make sense anymore. I'll probably update it later to get the price from the outside. That can trigger the global settlement for INDEXSPX. If anyone knows how to contact babydragon, please warn them about that. That's the only borrower at the moment. Don't borrow the asset until that update!

You can update it to take the feed price from the chain rather than market and/or settlement...should be less code work

akledirs

Quote from: btsindex on February 21, 2019, 08:44:33 AM
Thanks, akledirs. You're right. That's because of the bitUSD global settlement. The script gets the BTS/USD price from the blockchain. And it doesn't make sense anymore. I'll probably update it later to get the price from the outside. That can trigger the global settlement for INDEXSPX. If anyone knows how to contact babydragon, please warn them about that. That's the only borrower at the moment. Don't borrow the asset until that update!
His ratio 3.75, blackswan will not happen. Simple changing - use pricefeed from bts/usd but not market price.

btsindex

Thanks, akledirs. You're right. That's because of the bitUSD global settlement. The script gets the BTS/USD price from the blockchain. And it doesn't make sense anymore. I'll probably update it later to get the price from the outside. That can trigger the global settlement for INDEXSPX. If anyone knows how to contact babydragon, please warn them about that. That's the only borrower at the moment. Don't borrow the asset until that update!

akledirs

Why you give price indexspx ~54500 bts if current price S&P=2792$, BTS= 0.0452$ and S&P=2792/0.0452=61769 BTS ? >13% different

btsindex

Fixed the cli_wallet error, got a new API key. Restarted following assets:
INDEXSPX
INDEXDJI (in global settlement)
CUBED.USD (in global settlement)
CUBED.CNY (in global settlement)

I still can't get the feed for INDEXNASDAQ. The API returns an empty object. I'll check tomorrow.
P.S. Sorry about that downtime. It seems that the script is quite unstable so use the assets at your own risk.

btsindex

Sorry, there are multiple problems with the server script. Cli-wallet stopped working on Feb 15 (500 error). Because of frequent restarts by process manager, API that provides indexes prices blocked me. I'll try to fix that when i have some free time (probably at the end of the week). I could push the latest price for INDEXSPX manually to make it possible to settle the asset. It's the only asset i own that survived during the black-swan period with some amount still borrowed.

sschiessl


akledirs

Anybody know contacts bts-index? He stopped feedprice 15 feb 2019.

akledirs

btsindex, you give wrong price on INDEXSPX. Diff>20%. Error - you use bitUSD price in your feed.

btsindex


btsindex

Thank you! It seems that pushing a price feed reflecting a USD value in BTS is a good idea.
Assets permissions is also important topic. Thanks!

pc

Quote from: btsindex on April 09, 2018, 10:34:01 AM
We've created 3 new smart-assets: INDEXSPX (S&P 500), INDEXDJI (Dow Jones Industrial Average), INDEXNASDAQ with a precision of 8, paired them with BTS.

Should we push 23,932 BTS or 23,932 / 0.144462 (USD/BTS rate)

Since you have paired them with BTS you *should* calculate and publish the index price in BTS, i. e. 23,932 / 0.144462 .
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 [url="http://bitcoin.quisquis.de"]http://bitcoin.quisquis.de[/url]