Questions tagged [manageofferoperation]

For questions regarding the Manage Offer Operation on the Stellar Network.

Filter by
Sorted by
Tagged with
1
vote
1answer
36 views

op_cross_self - while making a new offer

What is op_cross_self error? I can create offers for 2 Assets ( selling and buying ). But when creating a reverse offer for same asset, it's throwing : { transaction: 'tx_failed', operations: [ '...
1
vote
1answer
39 views

Memo in manageoffer

Can a memo be included in the managerOffer operation. I tried to include a memo in my manageoffer transaction but it did not go thru.
3
votes
1answer
52 views

Why is amount an integer in manage_offer operation?

The Manage Offer API doc states the amount is an integer. Really??!?! In all the SDKs, the amounts are strings. Is the doc here wrong? Note: It's wrong in several places in that doc including ...
4
votes
1answer
38 views

ManageOfferOperation - Not taking the price I set

I'm using the Java SDK. With the ManageOfferOperation class passing an amount and price but it's not taking the price I set. Instead it always sets a different price, which I believe is the market ...
4
votes
1answer
76 views

Getting the 'offerId' on a new Offer and any documentation on 'xdr.ManageOfferOp'?

I'm using the JS-SDK to make offers. An issue I am having though is getting the offerId from a new offer. The offerId is required to manage a pre-existing offer. As such, it seems that the offerId ...
1
vote
1answer
60 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
135 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(...
1
vote
1answer
69 views

Can the issuer limit/approve the counter asset that can be traded against

Can the issuer limit/approve the counter asset that can be traded against? To make sure the asset you issue does not become part of a money laundering scheme.. Or does this require a federated ...
2
votes
2answers
84 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
40 views

Different amount in operation and its effects

I have a manage_offer operation (https://horizon.stellar.org/operations/70271497528152065) on the Stellar live network. It has amount=5.8869963 and price=0.4689155, so from the other side amount ...
3
votes
1answer
44 views

Create offer has no _effect_

I issued a new sausage token and gave 1000 sausages to my other account in some shady barbecue related dealings. This other account issued an offer to sell 500 SAUSAGE at a rate of 0.33 XLM per ...
5
votes
1answer
137 views

Stellar offer fulfilment process in orderbook. Are partial bids accepted by Stellar?

How does Stellar network does the order matching on orderbook for sell offers and does Stellar accept partial bid for order fulfillment? eg I want to sell 100 units of asset A. If I get bids from ...
4
votes
1answer
87 views

Monitoring if offers are filled

I read the guide about watching for incoming payments, but trades on the distributed exchange don't show up as payments (this makes sense). So, I've been looking through the available RequestBuilder ...
5
votes
2answers
346 views

How do you cancel all open trades for a Stellar account?

I'm looking at the Java docs and I can't find any way to delete every order for an account. Is there an easy way to cancel/remove all open trades/offers?
4
votes
2answers
167 views

How to use the ManageOfferOperation with Assets in the Java SDK?

Right now I'm playing around with the test server Server server = new Server("https://horizon-testnet.stellar.org"); The Stellar getting started guides are very well written, but definitely ...