Author Topic: Sorting problem in asset's "sell orders"  (Read 1578 times)

dance on: January 07, 2016, 05:23:52 PM

  • Senior Fimker
  • ***
  • Posts: 137
    • View Profile
Sorting is made using string values instead of integer.
FIMK: dance

Dirk Diggler #1 on: January 07, 2016, 07:09:21 PM

  • FIMK Staff
  • *****
  • Posts: 486
    • View Profile
    • Krypto Fin ry
I don't get it. What behavior would you expect to see?
FIMK Developer | GPG fingerprint: CEF2 7C39 43BE 6800 504E  71BC 7E87 A7B0 AC34 E2D5 | mofowallet.com | blog

dance #2 on: January 07, 2016, 07:16:18 PM

  • Senior Fimker
  • ***
  • Posts: 137
    • View Profile
I don't get it. What behavior would you expect to see?
I expect to see the order
700,000
1,000,000
1,500,000
1,000,000,000

instead of what is on the right side of the image above.
FIMK: dance

Mapa #3 on: January 07, 2016, 09:24:57 PM

  • Fresh Fimker
  • *
  • Posts: 15
    • View Profile
Sell orders of FIM/BTC asset ( http://lompsa.com/#/assets/fim/2339799191405258101/trade ) seems not to be in ascending order (0-9), but rather sorted alphabetically (A-Z).

eRoh #4 on: January 09, 2016, 07:11:42 AM

  • Grand Fimker
  • ****
  • Posts: 324
    • View Profile
A couple of problems in the FIMK/BTC exchange at https://www.mofowallet.com/launch.html#/assets/fim/2339799191405258101/trade:

1. I bought these BTC assets:
Date   Type   Price   Quantity   Total
1/9/16, 7:51:04 AM   buy   700,000   0.04703   32,921
1/9/16, 7:51:04 AM   buy   700,000   0.00297   2,079
It should make about 35,000 FIMK, but I was charged 50,000 (I had one million per BTC as the price limit,
but there was a 30% cheaper sell order that I didn't notice because of the sorting bug).
What happened to the extra 15,000, give or take?
Edit: This was temporary, now it's ok.
Is there some kind of automatic process, that fixes the balance difference between the original order and the actual transaction?
 
2. I'd like to transfer the BTC to e.g. CCEDK to be able to buy more FIMK. How do I do that?
It says: "One BTC asset in the FIMK blockchain represents one Bitcoin.
The asset can be exchanged to Bitcoin cryptocurrency through the online exchange fitcoin.fi.
All BTC assets released to the market are backed by real BTC."
but http://fitcoin.fi/ is not opened yet "CRYPTOEVOLUTIONARY COMING SOON"

Bonus question: Or what am I missing?
« Last Edit: January 09, 2016, 07:35:47 AM by eRoh »
FIM-34B3-PWY5-TMHC-9JYW8

Eliphaz Fimk #5 on: January 09, 2016, 12:14:22 PM

  • FIMKrypto coordinator
  • Administrator
  • *****
  • Posts: 825
    • View Profile
    • FIMKrypto
Quote
Is there some kind of automatic process, that fixes the balance difference between the original order and the actual transaction?
AFAIK the FIMK trading engine automatically matches the best prices. You can't even buy / sell others from down the line before the best prices are executed first. All discrepancy happens in the UI.

Quote
I'd like to transfer the BTC to e.g. CCEDK to be able to buy more FIMK. How do I do that?
The BTC assets are FIMK Asset Exchange assets issued by Fitcoin, not real BTC. They're valid only as far as the issuer is able to redeem them. CCEDK doesn't know anything about Fitcoin assets and definitely doesn't accept them as a deposit method to their exchange.

Fitcoin assets have been issued long ago as means of alpha testing that grew obsolete. The pricing was also obsolete and was made by previous project partners not necessarily reachable any more. Fitcoin (my company) will honor the rate or buy the assets back from you with slight compensation. PM Please.

Dirk Diggler #6 on: January 09, 2016, 12:59:52 PM

  • FIMK Staff
  • *****
  • Posts: 486
    • View Profile
    • Krypto Fin ry
I expect to see the order
700,000
1,000,000
1,500,000
1,000,000,000

instead of what is on the right side of the image above.

Ahh. The right side of the image. Did not catch that since it's so large, only noticed the left part.
Yes that seems to be wrong will look into it.
FIMK Developer | GPG fingerprint: CEF2 7C39 43BE 6800 504E  71BC 7E87 A7B0 AC34 E2D5 | mofowallet.com | blog

eRoh #7 on: January 10, 2016, 08:05:40 AM

  • Grand Fimker
  • ****
  • Posts: 324
    • View Profile
AFAIK the FIMK trading engine automatically matches the best prices. You can't even buy / sell others from down the line before the best prices are executed first. All discrepancy happens in the UI.
Maybe the preliminary reservation is made according to the max price, and the sum is adjusted after the actual transaction(s). Anyway, the end result is fine.

Quote
The BTC assets are FIMK Asset Exchange assets issued by Fitcoin, not real BTC. They're valid only as far as the issuer is able to redeem them. CCEDK doesn't know anything about Fitcoin assets and definitely doesn't accept them as a deposit method to their exchange.
Fitcoin assets have been issued long ago as means of alpha testing that grew obsolete. The pricing was also obsolete and was made by previous project partners not necessarily reachable any more. Fitcoin (my company) will honor the rate or buy the assets back from you with slight compensation. PM Please.
Thanks for the clarification about the redeem procedure. Should you also update the asset description?
FIM-34B3-PWY5-TMHC-9JYW8

Eliphaz Fimk #8 on: January 10, 2016, 11:38:29 AM

  • FIMKrypto coordinator
  • Administrator
  • *****
  • Posts: 825
    • View Profile
    • FIMKrypto
Quote
Should you also update the asset description?
Would've done long ago but the current FIMK engine doesn't permit that :/

warmach #9 on: January 10, 2016, 01:59:32 PM

  • Senior Fimker
  • ***
  • Posts: 234
    • View Profile
Would've done long ago but the current FIMK engine doesn't permit that :/

This sounds like a perfect feature request to me!

I think the ability update description and also mark asset as inactive or closed would be really helpful.
Warmach's Forging Pool
http://fim.warmach.info/pool/
May the forge be with you...

eRoh #10 on: January 17, 2016, 07:19:51 PM

  • Grand Fimker
  • ****
  • Posts: 324
    • View Profile
Now the exchange rate is shown as zero in the graph, although the latest price is one and a half million. :-o
What might be wrong?

https://www.mofowallet.com/launch.html#/assets/fim/2339799191405258101/trade
FIM-34B3-PWY5-TMHC-9JYW8