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 - zapata42

Pages: [1] 2 3
1
General Discussion / Re: Shares of Nasdaq&NYSE at Bitshares
« on: June 12, 2018, 10:25:41 pm »
Note tat I have created AMAZONCOM on testnet also, if others witness wants to contribute ('ALLOW WITNESSES TO PROVIDE FEEDS' has been enabled).

2
account zapata42-witness is added to the whitelist for publication of feeds by smart asset AMAZONCOM
As soon as you manage to publish the feeds for smart asset AMAZONCOM, I will add you to the white list of all smart assets
Please try...

I have the price of the stock in dollars and multiply it by the exchange rate bts/usd.
I take the course of bts from the purse of the bitshares. Those. from a usd / bts pair on the bitshares exchange.


I have started the publication for AMAZONCOM.

Sorry for the delay I found another issue in bitshares-pricefeed.

I think the spread is due to the different USD:BTS price we use.
I use the current bitUSD DEX feed (= bitUSD settlement price), you seems to use the DEX BTS/bitUSD orderbook. Currently there is a big spread between the two.
I feel like the bitUSD current feed it's more appropriate.
Your opinion is welcome.

3
I have updated xeroc's bitshares-pricefeed to be able to publish your assets (see this issue).

It currently support IEX, AlphaVantage, RobinHood and Google Finance as stock price sources.

When I try to publish using IEX for Stock/USD price and Bitshares DEX current feed for USD/BTS, I have a spread with your prices (see column blockchain):
Code: [Select]
6/10/2018 3:03:32 PM+--------------+------------+--------------+--------------+---------------------+---------------------+---------------------+--------------+----------------------+--------+--------+-------------------------+-------------+
6/10/2018 3:03:32 PM|    symbol    | collateral |  new price   |     cer      |         mean        |        median       |      wgt. avg.      | wgt. std (#) |      blockchain      |  mssr  |  mcr   |      my last price      | last update |
6/10/2018 3:03:32 PM+--------------+------------+--------------+--------------+---------------------+---------------------+---------------------+--------------+----------------------+--------+--------+-------------------------+-------------+
6/10/2018 3:03:32 PM|   FORDCOM    |    BTS     | 0.0158990901 | 0.0166940447 | 0.0158990901 (0.00) | 0.0158990901 (0.00) | 0.0158990901 (0.00) |  0.00 ( 1)   | 0.0169090580 (-5.97) | 110.0% | 175.0% | -1.0000000000 (-101.59) | unknown ago |
6/10/2018 3:03:32 PM|   VISACOM    |    BTS     | 0.0014277794 | 0.0014991683 | 0.0014277794 (0.00) | 0.0014277794 (0.00) | 0.0014277794 (0.00) |  0.00 ( 1)   | 0.0015184220 (-5.97) | 110.0% | 175.0% | -1.0000000000 (-100.14) | unknown ago |
6/10/2018 3:03:32 PM| FACEBOOKCOM  |    BTS     | 0.0010173400 | 0.0010682070 | 0.0010173400 (0.00) | 0.0010173400 (0.00) | 0.0010173400 (0.00) |  0.00 ( 1)   | 0.0010817246 (-5.95) | 110.0% | 175.0% | -1.0000000000 (-100.10) | unknown ago |
6/10/2018 3:03:32 PM|  BOEINGCOM   |    BTS     | 0.0005206468 | 0.0005466791 | 0.0005206468 (0.00) | 0.0005206468 (0.00) | 0.0005206468 (0.00) |  0.00 ( 1)   | 0.0005539305 (-6.01) | 110.0% | 175.0% | -1.0000000000 (-100.05) | unknown ago |
6/10/2018 3:03:32 PM|   APPLECOM   |    BTS     | 0.0010035419 | 0.0010537190 | 0.0010035419 (0.00) | 0.0010035419 (0.00) | 0.0010035419 (0.00) |  0.00 ( 1)   | 0.0010670597 (-5.95) | 110.0% | 175.0% | -1.0000000000 (-100.10) | unknown ago |
6/10/2018 3:03:32 PM|   EBAYCOM    |    BTS     | 0.0047748571 | 0.0050135999 | 0.0047748571 (0.00) | 0.0047748571 (0.00) | 0.0047748571 (0.00) |  0.00 ( 1)   | 0.0050776123 (-5.96) | 110.0% | 175.0% | -1.0000000000 (-100.48) | unknown ago |
6/10/2018 3:03:32 PM|  ALIBABACOM  |    BTS     | 0.0009381138 | 0.0009850195 | 0.0009381138 (0.00) | 0.0009381138 (0.00) | 0.0009381138 (0.00) |  0.00 ( 1)   | 0.0008983187 (4.43)  | 110.0% | 175.0% | -1.0000000000 (-100.09) | unknown ago |
6/10/2018 3:03:32 PM|   TESLACOM   |    BTS     | 0.0006056129 | 0.0006358935 | 0.0006056129 (0.00) | 0.0006056129 (0.00) | 0.0006056129 (0.00) |  0.00 ( 1)   | 0.0006353301 (-4.68) | 110.0% | 175.0% | -1.0000000000 (-100.06) | unknown ago |
6/10/2018 3:03:32 PM|  AMAZONCOM   |    BTS     | 0.0001142400 | 0.0001199520 | 0.0001142400 (0.00) | 0.0001142400 (0.00) | 0.0001142400 (0.00) |  0.00 ( 1)   | 0.0001214706 (-5.95) | 110.0% | 175.0% | -1.0000000000 (-100.01) | unknown ago |
6/10/2018 3:03:32 PM| MCDONALDSCOM |    BTS     | 0.0011389438 | 0.0011958909 | 0.0011389438 (0.00) | 0.0011389438 (0.00) | 0.0011389438 (0.00) |  0.00 ( 1)   | 0.0011912059 (-4.39) | 110.0% | 175.0% | -1.0000000000 (-100.11) | unknown ago |
6/10/2018 3:03:32 PM|  NETFLIXCOM  |    BTS     | 0.0005335413 | 0.0005602184 | 0.0005335413 (0.00) | 0.0005335413 (0.00) | 0.0005335413 (0.00) |  0.00 ( 1)   | 0.0005088366 (4.86)  | 110.0% | 175.0% | -1.0000000000 (-100.05) | unknown ago |
6/10/2018 3:03:32 PM|   BAIDUCOM   |    BTS     | 0.0007298418 | 0.0007663339 | 0.0007298418 (0.00) | 0.0007298418 (0.00) | 0.0007298418 (0.00) |  0.00 ( 1)   | 0.0007762339 (-5.98) | 110.0% | 175.0% | -1.0000000000 (-100.07) | unknown ago |
6/10/2018 3:03:32 PM| MICROSOFTCOM |    BTS     | 0.0018929351 | 0.0019875818 | 0.0018929351 (0.00) | 0.0018929351 (0.00) | 0.0018929351 (0.00) |  0.00 ( 1)   | 0.0020129587 (-5.96) | 110.0% | 175.0% | -1.0000000000 (-100.19) | unknown ago |
6/10/2018 3:03:32 PM| STARBUCKSCOM |    BTS     | 0.0033989221 | 0.0035688682 | 0.0033989221 (0.00) | 0.0033989221 (0.00) | 0.0033989221 (0.00) |  0.00 ( 1)   | 0.0036148342 (-5.97) | 110.0% | 175.0% | -1.0000000000 (-100.34) | unknown ago |
6/10/2018 3:03:32 PM|   CISCOCOM   |    BTS     | 0.0044245398 | 0.0046457668 | 0.0044245398 (0.00) | 0.0044245398 (0.00) | 0.0044245398 (0.00) |  0.00 ( 1)   | 0.0047064385 (-5.99) | 110.0% | 175.0% | -1.0000000000 (-100.44) | unknown ago |
6/10/2018 3:03:32 PM+--------------+------------+--------------+--------------+---------------------+---------------------+---------------------+--------------+----------------------+--------+--------+-------------------------+-------------+

Any idea why there is such a spread? As JohnR asked, could you give us some insights on your pricing mechanism?

I can setup a price feed if you white-list zapata42-witness.

The code is under MIT license so any one can use it to setup their feed, I hope this will help decentralization.

4
Updated a few days ago, ready for the fork.
Sorry if I misses some blocks, I tested a (sucessfull) update from my phone, and I dont run multiple instances.
Thanks. Are you a mainnet witness? If yes, what's your witness name / ID?

I'm not (yet?) candidate on the mainnet.

5
Updated a few days ago, ready for the fork.
Sorry if I misses some blocks, I tested a (sucessfull) update from my phone, and I dont run multiple instances.

6
General Discussion / Re: Binance Dexathon - Discussion
« on: May 23, 2018, 09:09:01 am »
Any news?

For your information, the CEO talk about his expectations on this week epicenter.tv podcast: https://epicenter.tv/episode/235/

It seems they want to build something really similar to Bitshares (DAC included).
For them performances and liquidity are the highest priority.
They also say they will promote DEX in general, and try to bring liquidity.

7
Technical Support / Re: Change Registrar for referral accounts
« on: May 15, 2018, 08:00:49 pm »
Ok and how can I do this?
Something like this: http://docs.bitshares.org/testnet/7-faucet.html

I'm not sure if it's what you want.. need to run a server, and best if you host a web wallet for other users.

Note that bitshares.eu also propose a "refered" faucet service, see: https://bitshares.eu/referral/

Then you need to fork the UI code and patch the faucet URL, see this example.

That's what I did for: https://wallet.dex.trading


8
By the way, anyone who want to be voted please leave a message.

My test witness "witness.zapata"  has been upgraded sucessfully to "test-2.0.180510" using Docker image.
I run also a test API node with the same version: testnet.dex.trading

Can you vote me in?

9
Technical Support / Re: ETF on BitShares
« on: April 12, 2018, 01:48:52 pm »
Furthermore, i have looked to some MPA  on bitshares and there is also a settlement price. What does the settlement price exactly mean and how is it calculated?

To publish a feed you have to provide:
    - settlement_price: the rate ETF / USD (or EUR or BTS or whatever base asset you use)
    - core_exchange_rate: the exchange rate to pays DEX fees using your asset (see fee pool mecanism)
    - maximum_short_squeeze_ratio: collateral ratio that triggers a force settlement
    - maintenance_collateral_ratio: minimum Collateral ratio required to borrow a share of the ETF

I would recommand you to read all the documentation on the topic:
   - http://docs.bitshares.org/bitshares/user/dex-short.html
   - http://docs.bitshares.org/bitshares/user/dex-margin-mechanics.html

10
Technical Support / Re: ETF on BitShares
« on: April 12, 2018, 01:09:34 pm »
What are your thoughts about the permission: disable force settling?

You should allow force settling, this will give the opportunity to an ETF share owner to exit and get the colllateral even if there is no sellers.
If there high liquidity and market makers, force settling should not be usefull, but better to keep it as a safety net.

11
General Discussion / Re: Smart-asset devaluation
« on: April 10, 2018, 02:42:02 pm »
Usually you have multiple price feed publishers, the blockchain will use the median price.
It's better to trust the feed publishers, and have many of them with different implementations.

12
Technical Support / Re: ETF on BitShares
« on: April 10, 2018, 02:31:02 pm »
For the reliability of the ETF I want that the witnesses publish the price feed. When my script is finished i have to publish it somewhere to make it public. But how do i know that a witness is gonna publish the price feed? Furthermore, what are the costs for the fact that the witness publish the price feed?

Yes you need to publish a reference implementation. Witness will use it or update their own.

You have an example with HERTZ: https://bitsharestalk.org/index.php?topic=24161.0

You can have a look to another similar situation: https://bitsharestalk.org/index.php?topic=26068.0

Reaching witness and having them publish your feed can take some time. This forum is the best place to reach them (search for their witness threads and/or send them a MP).

About the cost, the witness might do it for free, as it might get them some additional votes to be active (and get the pay from the Bitshares DAC itself).
If there is not enougth competition between witness on votes, you might have to pay additionally to get more incentive, (or pay for someone to  update their pricefeed script).
In any case a feedback to the BTS shareholders on how the process went is appreciated, so we can update our votes accordingly.

13
Technical Support / Re: ETF on BitShares
« on: April 09, 2018, 02:22:12 pm »
When and how do i have to whitelist some accounts for publishing the price feed?

You can do it from the UI after you create the Smart Asset.
When you are the issuer in the asset page you have a feed producer tab, where you can grant some accounts the right to publish feeds.

Does anyone have knowledge about published the price feed?
-How do you sent the price feed?
-how can you make a price feed?

http://docs.bitshares.org/bitshares/tutorials/publish-feed.html

14
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.
The script that gets latest index values, calculates price and pushes it to the blockchain is ready. Two separate 24/7 working servers are also ready to run the script. 
The question is how to do everything right? Should we convert the indexes to BTS price according to BTS/USD rate or just push the index value?

For example: Dow is 23,932.76 at the moment. Should we push 23,932 BTS or 23,932 / 0.144462 (USD/BTS rate)


Both are valid.

It depends what do you intend to sell.. do you want to guaranty the Dow performance against USD or BTS.

Actually buyer expect to perform against USD. That's why BTWTY and SNPFH express it in USD (publish feed = index price / USD/BTS rate).

Note that you can use BitUSD as collateral, and publish the index price unchanged.


15
General Discussion / Re: HERTZ - Oscillating Formula Based Asset
« on: April 08, 2018, 09:07:28 pm »
@zapata42 just to confirm, your BTS account is 'zapata42', yeah?

Yes, it's my account.

Do you have any news from the witness?


Pages: [1] 2 3