Pages:
Author

Topic: . - page 97. (Read 491737 times)

legendary
Activity: 971
Merit: 1000
March 27, 2015, 04:00:45 PM
Exchange 75 NFD to 3 HZ successfully, in the same account, 3 million HZ exchange blocked, WHY?

Simple answer: you're now waiting in line, as am I. The HZ devs decided to issue the HZ slowly, so as not to flood the market and provoke dumping. Look at your Recent Transactions: if you're in the same boat that I am, you're getting a trickle of HZ every day.

If not, you're still in the queue.

This is correct.
legendary
Activity: 924
Merit: 1000
March 27, 2015, 11:06:25 AM
...

The issuer has all his issued assets ... back in his account.
Who would have thought that?

 Wink

hehe nice work through!

Thanks.

Thanks to you both! I'm learning a lot about the API as it pertains to the Asset Exchange.

And thanks to you for helping, MaWo!

He's helped me more than you'll ever know. Smiley
legendary
Activity: 924
Merit: 1000
March 27, 2015, 11:04:35 AM
Exchange 75 NFD to 3 HZ successfully, in the same account, 3 million HZ exchange blocked, WHY?

Simple answer: you're now waiting in line, as am I. The HZ devs decided to issue the HZ slowly, so as not to flood the market and provoke dumping. Look at your Recent Transactions: if you're in the same boat that I am, you're getting a trickle of HZ every day.

If not, you're still in the queue.
newbie
Activity: 28
Merit: 0
March 27, 2015, 09:14:09 AM
Exchange 75 NFD to 3 HZ successfully, in the same account, 3 million HZ exchange blocked, WHY?
legendary
Activity: 902
Merit: 1001
Free trial of #AltFolio = save time, react faster
March 26, 2015, 09:16:50 PM
...

The issuer has all his issued assets ... back in his account.
Who would have thought that?

 Wink

hehe nice work through!

Thanks.

And thanks to you for helping, MaWo!

All these riddles and mysteries have become such an intellectual adventure - great! And right now: ... no more questions left! I guess I can launch my asset, and publish the market analysis - soonish.
hero member
Activity: 575
Merit: 502
March 26, 2015, 09:09:58 PM
...

The issuer has all his issued assets ... back in his account.
Who would have thought that?

 Wink

hehe nice work through!
legendary
Activity: 902
Merit: 1001
Free trial of #AltFolio = save time, react faster
March 26, 2015, 07:10:40 PM
question
Solved!

Sorry for the traffic, and possibly confusion
- but this weird case was seemingly simply my "test" ...
whether I have understood the concepts,
i.e. if I can really trust the output of my assetparser.py software.

I would have never expected what turned out to be the explanation in the end,
but hey - the most important thing is: We found it! And that the code can be trusted.

Thank you MaWo, for looking into this with me.
I would like to gift you some symbolic amount of my soon-to-be-launched asset for your help, PM me!

The background story is easy to tell:
I wrote an assetparser.py to prepare my own assetlaunch
- by studying at the other assets.

Analyzing the output, I stumbled over a strange data artifact:
The "real marketcap" (definition of that new observable is in my soon-to-be-published study)
... of one of the HZ assets became zero. How is that possible, as the asset had already been traded?  
So I dug deeper, and asked around in many places. nxtforum, here, slack.

On the basis of the easily available data, there was no sufficient explanation:

... so he has sold 990,000.00 assets,
In my world, he should have 9,010,000.00 assets left:
balanceQNT = 1000000000 - 90000000 - 8900000 - 100000 = 901000000
but his account shows that he still (or again?) has
balanceQNT = 1000000000 of this asset
http://localhost:7776/nhz?requestType=getAccount&account=14690932713833726002
Code:
... assetBalances: [2]0:  {balanceQNT: "1000000000" asset: "9159194210388607784" ... 
Where is the flaw in my thinking?

But now ... I found the explanation!

The key was the
Quote
(or again?)
above.

However, the necessary data for checking my suspicion was a bit tricky to get,
because HZ is still lacking the useful getAssetTransfers&asset= (Nxt) function.

So tonight I created this

Workaround for getAssetTransfers&asset=
It's actually only partly an answer, because it specifically emulates an getAssetTransfers&account= but it works like this:

-> download getAccountTransactionIds&account=14690932713833726002 --> list of 310 txIds
--> then download all 310 transactions with getTransaction&transaction=
--> in the results, select by
----> only: type==2 "Colored coins"  subtype==1 "Asset transfer"
----> only: attachment.asset==9159194210388607784

For our mystery puzzle, that resulted in these two "Asset transfer" transactions:

http://localhost:7776/nhz?requestType=getTransaction&transaction=5347234624369137696
quantityQNT: "1000000" sender: "14690932713833726002" timestamp: 15894761
= transfer from issuer to someone

http://localhost:7776/nhz?requestType=getTransaction&transaction=16730081599467904714
quantityQNT: "100000000" recipient: "14690932713833726002" timestamp: 28783039
= transfer TO issuer from someone

(... and along the way, I spotted something essential of the overall architecture
just now: The assetId is simply the transactionId of the TX in which the asset
was issued: getTransaction ~ getAsset = cleverly constructed! Me likes!)


So the final picture is this now:

Code:
balanceQNT = 
1000000000                      # issuance
- 1000000                       # transfer from issuer
- 90000000 - 8900000 - 100000   # trades
+ 100000000                     # transfer to issuer

= 1000000000 - 1000000 - 90000000 - 8900000 - 100000 + 100000000
= 1000000000                    # equals the original issuance amount

So:

The issuer has all his issued assets ... back in his account.
Who would have thought that?

 Wink

If you like to read such nerd adventures, then consider to tip the author for this one --> http://altsheets.ddns.net/give
    HZ:  NHZ-Q675-SGBG-LQ43-D38L6      NXT: NXT-CMKU-ZQYK-V6CD-9UHF4      BTC: 1Ek9McNmXwQgDnkzE9J6pjCPWEiihhL83n
legendary
Activity: 902
Merit: 1001
Free trial of #AltFolio = save time, react faster
March 26, 2015, 03:03:37 PM
Thanks a lot MaWo, for looking into this.

There is an open ask order:
http://localhost:7776/nhz?requestType=getAskOrders&asset=9159194210388607784
ask order quantity is 401000000
1000000000−401000000=599000000

Ah, good to know.
That's where the {unconfirmedBalanceQNT: "599000000", asset: "9159194210388607784"} in his 'getAccount' is coming from.

So when an ask order is created, the full amount of the whole ask order is subtracted, and leads to unconfirmedBalanceQNT.

Good, cool, I get that. Thanks!!


But that has not answered my question - or has it?


Yes.

But the totals of these (half a year old!) trades are not reflected in the issuer's balance <-- is what is confusing me.

The issuer 14690932713833726002 of asset 9159194210388607784

has issued quantityQNT: "1000000000" with decimals: 2,
so 10,000,000.00 = 10 million assets

Then -in those 3 transactions- he sold
quantityQNT: "90000000"
quantityQNT: "8900000"
quantityQNT: "100000"
sumQNT = 99000000
so he has sold 990,000.00 assets,

In my world, he should have 9,010,000.00 assets left:
balanceQNT = 1000000000 - 90000000 - 8900000 - 100000 = 901000000

but his account shows that he still (or again?) has
balanceQNT = 1000000000
of this asset


http://localhost:7776/nhz?requestType=getAccount&account=14690932713833726002

Code:
...
assetBalances: [2]
0:  {
balanceQNT: "1000000000"
asset: "9159194210388607784"
...


Where is the flaw in my thinking?

sr. member
Activity: 476
Merit: 250
March 26, 2015, 02:38:12 PM
When will  the forum be back online?

Soon.


Thats funny, it sounds as we are saying here: mañana   Grin  Grin Cheesy Cheesy
legendary
Activity: 971
Merit: 1000
March 26, 2015, 11:50:33 AM
When will  the forum be back online?

Soon.
sr. member
Activity: 476
Merit: 250
March 26, 2015, 10:44:40 AM
When will  the forum be back online?
legendary
Activity: 924
Merit: 1000
March 25, 2015, 04:39:40 PM

"This asset represents 100% of the fees generated by the different HZx assets. Payouts are processed weekly. Visit the official Horizon forum or join HZxchange on facebook for more information"

Some explications:

You will get payout each week when it will be ready. Today its in test but soon it will work and you will get payout from market fee.

Mean when someone will deposit to market to buy asset (not only hz asset but a lot of asset btc asset nxt asset hz asset doge asset ....), or withdraw from the market after selling asset there will be some fee about 0.5% to 1%.


How do (or will) those deposits and withdrawals work, from the customer side of things?
full member
Activity: 225
Merit: 100
March 25, 2015, 03:35:37 PM
 
"This asset represents 100% of the fees generated by the different HZx assets. Payouts are processed weekly. Visit the official Horizon forum or join HZxchange on facebook for more information"

Some explications:

You will get payout each week when it will be ready. Today its in test but soon it will work and you will get payout from market fee.

Mean when someone will deposit to market to buy asset (not only hz asset but a lot of asset btc asset nxt asset hz asset doge asset ....), or withdraw from the market after selling asset there will be some fee about 0.5% to 1%.

After each week if you own hzxchange assets you will be paid with all other hzxchange holders.


For example someone want to buy asset named xft (example it doesnt exist).

he will deposit 1 000 000 hz in the market to buy this asset.

From this 1 000 000 deposit in the market the fee will be 1% or 0.5% (fee will be fix after test) so about 10 000 hz in fee

if i own 10% of the hzxchange assets i will win 10 000 X 0.1 so 1000 hz after a week.


Its the same example for the seller of the asset.

The man is selling for 1 000 000 hz of asset in the market he will pay 0.5% (5000hz) or 1% (10000hz) to take back this 1 000 000 coin to his wallet.

That only mean if there are lot of people depositing for buying assets or doing withdrawal after selling asset more important will be the fee and the reward for hzxchange asset owner.


Imagine if each week people are using assets, we can hope for lot of fee returns.

It can be really interesting to own assets cause there are only 1 000 000 hzxchange created.
With 10 000 hzxchange asset you own about 1% of the asset.

You can still own asset for a low price about 65 to 80 horizon by asset (im not sure the price will remain the same during weeks, it will probably go up a lot more if it work well).

More asset you have more you will be paid by weekly payout.

sr. member
Activity: 476
Merit: 250
March 25, 2015, 03:32:01 PM
Price of hzxchange is growing  asset id 17828408937649813496 its now at 65 in buying order and selling order 99.

It seem there are more buyers than sellers dont see why people will sell now.

"This asset represents 100% of the fees generated by the different HZx assets. Payouts are processed weekly. Visit the official Horizon forum or join HZxchange on facebook for more information"

Did somebody get any payouts from this asset? I didn't.

Quoted from HZxchange group in facebook: Estimated launch in the beginning of April
sr. member
Activity: 700
Merit: 250
March 25, 2015, 03:06:10 PM
Price of hzxchange is growing  asset id 17828408937649813496 its now at 65 in buying order and selling order 99.

It seem there are more buyers than sellers dont see why people will sell now.

"This asset represents 100% of the fees generated by the different HZx assets. Payouts are processed weekly. Visit the official Horizon forum or join HZxchange on facebook for more information"

Did somebody get any payouts from this asset? I didn't.

I don't even understand it to be honest. I just invested a small amount I would not care if I lost Smiley.

Hopefully a good investment  Tongue.
legendary
Activity: 1162
Merit: 1005
March 25, 2015, 02:41:07 PM
Price of hzxchange is growing  asset id 17828408937649813496 its now at 65 in buying order and selling order 99.

It seem there are more buyers than sellers dont see why people will sell now.

"This asset represents 100% of the fees generated by the different HZx assets. Payouts are processed weekly. Visit the official Horizon forum or join HZxchange on facebook for more information"

Did somebody get any payouts from this asset? I didn't.
full member
Activity: 225
Merit: 100
March 25, 2015, 02:04:53 PM
Price of hzxchange is growing  asset id 17828408937649813496 its now at 65 in buying order and selling order 99.

It seem there are more buyers than sellers dont see why people will sell now.
hero member
Activity: 575
Merit: 502
March 25, 2015, 01:48:09 PM
...
The details of this question are over there.
...

I got this answer:

Quote
the difference is unconfirmed balance takes into account transactions not yet included in the blockchain.
whether to use unconfirmed balance or not kind of depends on what you want to do. Normally I'd just use balanceNQT
Yes, this is what I had thought and done.

But then ... why are those ~180 days old trades not in the HZ blockchain?

http://localhost:7776/nhz?requestType=getTrades&asset=9159194210388607784
Code:
{"trades":[{"timestamp":15896351,"priceNQT":"1000000","asset":"9159194210388607784","quantityQNT":"90000000","block":"8058469647614708251","askOrder":"7349714608031574375","bidOrder":"13089510987080492981"},{"timestamp":15896012,"priceNQT":"1000000","asset":"9159194210388607784","quantityQNT":"8900000","block":"4399655451629255954","askOrder":"7349714608031574375","bidOrder":"9094214114266165253"},{"timestamp":15895523,"priceNQT":"1000000","asset":"9159194210388607784","quantityQNT":"100000","block":"9473206872598901371","askOrder":"7349714608031574375","bidOrder":"8930946003321464840"}]}

I can find all 3 transactions:
http://localhost:7776/nhz?requestType=getTransaction&transaction=13089510987080492981
http://localhost:7776/nhz?requestType=getTransaction&transaction=9094214114266165253
http://localhost:7776/nhz?requestType=getTransaction&transaction=8930946003321464840


The assetBalances of the HZ account 14690932713833726002 are somehow odd, no?

Looks good for me.
There is an open ask order:
http://localhost:7776/nhz?requestType=getAskOrders&asset=9159194210388607784

ask order quantity is 401000000

1000000000−401000000=599000000
legendary
Activity: 902
Merit: 1001
Free trial of #AltFolio = save time, react faster
March 24, 2015, 11:41:49 PM
...
The details of this question are over there.
...

I got this answer:

Quote
the difference is unconfirmed balance takes into account transactions not yet included in the blockchain.
whether to use unconfirmed balance or not kind of depends on what you want to do. Normally I'd just use balanceNQT
Yes, this is what I had thought and done.

But then ... why are those ~180 days old trades not in the HZ blockchain?

The assetBalances of the HZ account 14690932713833726002 are somehow odd, no?

legendary
Activity: 902
Merit: 1001
Free trial of #AltFolio = save time, react faster
March 24, 2015, 10:16:17 AM

Hey,
probably an easy-to-answer question, just a detail:

Is
--> issuer --> account --> unconfirmedAssetBalances --> unconfirmedBalanceQNT
the relevant number which tells me how many assetQNTs the issuer still has left?

... even though it is called "unconfirmed"? 

A bit confusing, I would expect it not to be 'unconfirmedAssetBalances' but to be 'assetBalances' - but it is not.

The details of this question are over there.

Thankx :-)
Pages:
Jump to: