Questions tagged [manageofferoperation]
For questions regarding the Manage Offer Operation on the Stellar Network.
24
questions
2
votes
1
answer
39
views
"Ae.sourceAccount is not a function" when deleting multiple offer operations in single transaction
Basically deleting multiple offers with manageSellOffer operations is causing the error
"Ae.sourceAccount is not a function"
All other transactions are functional using my transactionBuilder ...
0
votes
1
answer
22
views
WalletConnect stellar_signXDR method returns an XDR object that does not match the usual response data
When successfully creating an offer we get a convenient response object with the offer's data.
However, with WalletConnect's stellar_signXDR it sends back an XDR object that when decoded does not ...
0
votes
1
answer
59
views
Is there an example on ManageBuyOfferResult?
When creating a new buy offer, one sets OfferID to 0 in txnbuild.ManageBuyOffer operation. I would expect OfferID for a newly created offer to be returned in ManageBuyOfferResult, but I can't figure ...
1
vote
0
answers
34
views
upgraded horizon version, newly added tables is not synchronising with stellar core private network
Stellar core version is 12.2.0. Recently i upgraded my horizon version from 0.17 to 0.23. while running, it showed me an error that i need to "horizon db migrate up". Post doing that it basically ...
0
votes
0
answers
197
views
Converting one asset to different asset giving "op_too_few_offers" error
I have private network, created 6 assets(a,b,c,d,e,f), 6 accounts(1,2,3,4,5,6),all accounts trust all 6 assets.
Let account 1 created a selling order using "manageSellOffer" operation and where
...
0
votes
0
answers
23
views
Concept: ManageSellOffer didn't update but instead create a new offer
I read the documentation and it says that by providing the original offerId of a ManageSellOffer, one is able to change its price. But after I tried it out, I found that it creates another offer and ...
1
vote
1
answer
59
views
sold_amount and bought_amount return 0.0000 in /effects
After placing ManageOfferOperation, when we call /effects endpoint we are getting 0.0000 in sold_amount and bought_amount.
Is this an issue of Stellar Core?
0
votes
1
answer
65
views
Will a market offer trigger a new subentry?
A market offer is, for example, a bid offer that takes on an outstanding ask offer at the same price and amount, and vice versa. Since the offer will get filled immediately, will the network reject ...
0
votes
1
answer
54
views
How to submit a buy offer that gets incorporated to a bid entry with the same price
An order book shows a bid entry, for example:
12:
amount: "758.2907668"
price: "11.1111111"
price_r: {n: 100, d: 9}
I submit a manageBuyOffer with buyAmount ".01" and price at "11.1111111". I ...
1
vote
1
answer
181
views
Various errors in submitting offers
This is my code:
var sourceSecretKey = 'REDACTED';
var sourceKeypair = StellarSdk.Keypair.fromSecret(sourceSecretKey);
var sourcePublicKey = sourceKeypair.publicKey();
var server = new StellarSdk....
0
votes
1
answer
79
views
Exchanging fiat tether on SDEX
We have fiat tether tokens that we issued, each token is backed up by an equivalent amount on our bank account, currently we are able to switch between one tether into another using our own exchange ...
2
votes
1
answer
261
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
1
answer
49
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
1
answer
70
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
1
answer
68
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 ...
1
vote
1
answer
78
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 ...
1
vote
1
answer
311
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
1
answer
83
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
1
answer
46
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 ...
4
votes
1
answer
60
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
1
answer
177
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 ...
5
votes
1
answer
149
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
2
answers
830
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
2
answers
262
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 ...