btcpayserver / btcTransmuter

A self-hosted ,modular IFTTT-inspired system for bitcoin services written in C#
https://btcpayserver.org
77 stars 22 forks source link

Trading agreement for Generated_FiatExchangeConversion at kraken #89

Closed b068931cc450442b63f5b3d276ea4297 closed 3 years ago

b068931cc450442b63f5b3d276ea4297 commented 3 years ago

The Generated_FiatExchangeConversion function seems to require a confirmation of the trading agreement for each API usage with the BTC Transmuter and the usage of Kraken as a person with address in Germany. More information from Kraken:

If your Kraken account is verified with a German address, you will need to accept a trading agreement (shown below) in order to place market and margin orders.

https://support.kraken.com/hc/en-us/articles/360036157952 https://support.kraken.com/hc/en-us/articles/360000920026--Trading-agreement-required-error-for-German-residents

Is there any way to include this confirmation? Unfortunately I could not find anything.

The exact message in the logs is:

Could not place order because EOrder:Trading agreement required. Order details: {"MarketSymbol": "XXMRZEUR", "Amount":0.07000311, "Price":0.0, "StopPrice":0.0, "IsBuy":false, "IsMargin":false, "OrderId":null, "ClientOrderId":null, "ShouldRoundAmount":false, "OrderType":1, "ExtraParameters":{}}
b068931cc450442b63f5b3d276ea4297 commented 3 years ago

@Kukks do you have any idea?

Kukks commented 3 years ago

No clue, it is possible that you need to do something on the kraken website.

On Wed, 17 Feb 2021, 16:29 b068931cc450442b63f5b3d276ea4297, < notifications@github.com> wrote:

@Kukks https://github.com/Kukks do you have any idea?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/btcpayserver/btcTransmuter/issues/89#issuecomment-780634545, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN357SWSZOJQBGMK2B45N3S7POE7ANCNFSM4XULKW7A .

b068931cc450442b63f5b3d276ea4297 commented 3 years ago

Thanks for your answer, unfortunately this is not possible. Kraken writes about this:

If you trade via API, the trading agreement needs to be included in every relevant API call you make.

Can it perhaps be included as an option in BtcTransmuter.Extension.Exchange/Actions/PlaceOrder/?

b068931cc450442b63f5b3d276ea4297 commented 3 years ago

To bypass the confirmation of the trading agreement, you can use a limit order instead of a market order. A way to confirm the trading agreement with the btctransmuter would still be very helpful in the future.

b068931cc450442b63f5b3d276ea4297 commented 3 years ago

Maybe this will solve the problem soon: https://github.com/jjxtra/ExchangeSharp/pull/573

Kukks commented 3 years ago

Solved in latest release