Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [offer]

For questions regarding Offers to buy or sell on Stellar.

1
vote
0answers
19 views

Which architecture to use for utility tokens?

Consider this scenario: CoolVideo lets artists post videos and earn money from viewers Viewers buy VidTokens with ETH & BTC and pay artists with VidTokens We store the ETH & BTC. Never ...
4
votes
1answer
31 views

How to derive a number of open Offers for a transaction set that hasn't been fully submitted to the network yet

Please help to find out a possible solutions to the following problem: For a dedicated "Minimal Balance" service one would need to know a number of account entries among which there are Offers ((2 + #...
3
votes
1answer
47 views

Fill or Kill (FOK) offers on Stellar?

Is there any way currently to create Fill or Kill offers on Stellar network? As described in Bitfinex help center: A "fill or kill" order is a limit order that must be filled immediately in its ...
1
vote
1answer
53 views

Order doesn't match in Stellar

I created an asset (MCoin) on Stellar test-net. I made a sell-offer of 200 MCoin in exchange for XLM and then an offer of buying 200 MCoin for XLM. But ther orders didn't match. Here is the script I ...
0
votes
1answer
58 views

Making offer gives error: TypeError: opts.selling.toXDRObject is not a function

I was trying to make buy offer for a newly created asset (MCoin). I am getting error: TypeError: opts.selling.toXDRObject is not a function The code of node script goes by: server.loadAccount(...
3
votes
1answer
28 views

What happens to offers that are completely fulfilled and are no longer part of orderbook?

Are these offers removed from account and base reserve requirement lowered for the same automatically once offer is fulfilled?
1
vote
2answers
75 views

Best way to calculate exact offer price?

If I want to place a bidding offer for an asset at 41.5, it's getting converted to 41.499999. Is there a way in the JS-SDK to make the price exactly as intended? I know there is a price:{n,d} object ...
2
votes
2answers
74 views

Bidding and asking price conversion on client or server?

Price: How many units of buying it takes to get 1 unit of selling. A number representing the decimal form of price_r. According to the Stellar guides, the price of an offer should be the amount of ...
2
votes
1answer
47 views

How do folks keep offers in sync with market prices?

If I want to keep an offer for my asset USD@me near the current market rate for USD/XLM how would I go about that? Do folks just add, remove and update offers non stop? Doesn't that burn up XLM in ...
3
votes
1answer
182 views

Can anyone explain what passive offers achieve?

I've read https://www.stellar.org/developers/guides/concepts/list-of-operations.html#create-passive-offer but I can't quite wrap my head around the purpose of a passive offer. Can anyone explain their ...
1
vote
1answer
53 views

Which operations are required to accept an offer?

If an account has posted an offer, what is/are the operation(s) required to accept that offer? Is it a combination of Payment and Manage Offer?