<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Thema "Betreff: API: Frage zu Trailing Stop Market Order" in Website &amp; Apps</title>
    <link>https://community.comdirect.de/t5/website-apps/api-frage-zu-trailing-stop-market-order/m-p/319566#M26284</link>
    <description>&lt;P&gt;Auch hier ist dein Preis (0,60) weit tiefer, als er mit deinem Abstand hätte.&lt;/P&gt;&lt;P&gt;Aktuell ist der Preis bei 1,12 EUR. Damit würde dein SL auf 0,97 hochgezogen werden.&lt;/P&gt;&lt;P&gt;Versuch doch mal SL 1,00 und Absoluter Abstand 0,20 EUR.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Aber grundsätzlich sollte deines schon auch gehen...&lt;/P&gt;</description>
    <pubDate>Thu, 19 Sep 2024 13:03:28 GMT</pubDate>
    <dc:creator>Krügerrand</dc:creator>
    <dc:date>2024-09-19T13:03:28Z</dc:date>
    <item>
      <title>API: Frage zu Trailing Stop Market Order</title>
      <link>https://community.comdirect.de/t5/website-apps/api-frage-zu-trailing-stop-market-order/m-p/319537#M26277</link>
      <description>&lt;P&gt;Hallo allerseits,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ich habe gerade Probleme mit der API bei der Validierung einer Trailing Stop Market Order und vermute ein Verständnisproblem meinerseits.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Aktuell besitze ich testweise 12 Derivate mit der WKN&amp;nbsp;PC1EJ1. Der Verkaufspreis liegt bei&amp;nbsp;&lt;SPAN&gt;0,84€, der Kaufpreis bei 0,94€. Ich möchte nun die folgende Trailing Stop Market Order erstellen:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{'depotId': 'XYZ',
 'side': 'SELL',
 'instrumentId': 'PC1EJ1',
 'orderType': 'TRAILING_STOP_MARKET',
 'quantity': {'value': '12', 'unit': 'XXX'},
 'venueId': 'D7E506847065490DA8E9990E7B6CA955',
 'triggerLimit': {'value': '0.50', 'unit': 'EUR'},
 'triggerLimitDistRel': {'preDecimalPlaces': '5', 'decimalPlaces': '50'},
 'validityType': 'GFD'}&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Allerdings schlägt die Validierung immer fehl, es kommt der Fehler&amp;nbsp;"Der Trailingabstand ist leider ungültig.". Auf der Webseite kann ich problemlos die Order mit den Parametern&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Trailing Stop Loss:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;0,50&amp;nbsp;EUR,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Trailing Abstand:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;5,50 % absetzen. Was mache ich falsch?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Besten Dank.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 08:12:13 GMT</pubDate>
      <guid>https://community.comdirect.de/t5/website-apps/api-frage-zu-trailing-stop-market-order/m-p/319537#M26277</guid>
      <dc:creator>testbot</dc:creator>
      <dc:date>2024-09-19T08:12:13Z</dc:date>
    </item>
    <item>
      <title>Betreff: API: Frage zu Trailing Stop Market Order</title>
      <link>https://community.comdirect.de/t5/website-apps/api-frage-zu-trailing-stop-market-order/m-p/319540#M26278</link>
      <description>&lt;P&gt;Sorry, nochmal genauer gelesen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Laut Doku ist eine Trailing Stop Market nicht mit einem trigger Limit relativ kombinierbar:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;11.2.4 Trailing Stop Market Verkaufsorder mit absolutem Abstand&lt;BR /&gt;Request-Body:&lt;BR /&gt;&lt;PRE&gt;{
"depotId": "1234_depot_UUID_1234",
"side": "SELL",
"instrumentId": "WKN123",
"orderType": "TRAILING_STOP_MARKET",
"quantity": {"value":"1","unit":"XXX"},
"venueId": "1234_venue_UUID_1234",
"triggerLimit": {"value":"10","unit":"EUR"},
"triggerLimitDistAbs": {"value":"1","unit":"EUR"},
"validityType": "GFD"
}&lt;/PRE&gt;&lt;BR /&gt;11.2.5 Trailing Stop Limit Verkaufsorder mit relativem Abstand&lt;BR /&gt;Request-Body:&lt;BR /&gt;&lt;PRE&gt;{
"depotId": "1234_depot_UUID_1234",
"side": "SELL",
"instrumentId": "WKN123",
"orderType": "TRAILING_STOP_LIMIT",
"quantity": {"value":"1","unit":"XXX"},
"venueId": "1234_venue_UUID_1234",
"limit": {"value":"9","unit":"EUR"},
"triggerLimit": {"value":"10","unit":"EUR"},
"triggerLimitDistRel": "preDecimalPlaces": "5", "decimalPlaces": "50"},
"validityType": "GFD"
}&lt;/PRE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So sieht es zumindest aus...&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 08:47:50 GMT</pubDate>
      <guid>https://community.comdirect.de/t5/website-apps/api-frage-zu-trailing-stop-market-order/m-p/319540#M26278</guid>
      <dc:creator>Krügerrand</dc:creator>
      <dc:date>2024-09-19T08:47:50Z</dc:date>
    </item>
    <item>
      <title>Betreff: API: Frage zu Trailing Stop Market Order</title>
      <link>https://community.comdirect.de/t5/website-apps/api-frage-zu-trailing-stop-market-order/m-p/319541#M26279</link>
      <description>&lt;P&gt;Hallo Krügerrand,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;vielen Dank für die schnelle Antwort. Aber für den Order Type Trailing_Stop_Limit benötige ich nun ja noch einen weiteren Parameter "limit", geht die normale Trailing_Stop_Market-Order nicht mit relativem Abstand?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Besten Dank&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 08:45:54 GMT</pubDate>
      <guid>https://community.comdirect.de/t5/website-apps/api-frage-zu-trailing-stop-market-order/m-p/319541#M26279</guid>
      <dc:creator>testbot</dc:creator>
      <dc:date>2024-09-19T08:45:54Z</dc:date>
    </item>
    <item>
      <title>Betreff: API: Frage zu Trailing Stop Market Order</title>
      <link>https://community.comdirect.de/t5/website-apps/api-frage-zu-trailing-stop-market-order/m-p/319543#M26280</link>
      <description>&lt;P&gt;Da war ich wohl zu schnell für mich selbst.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Versuche mal folgendes:&lt;/P&gt;&lt;P&gt;- triggerLimit 0,50 statt 0.50&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: nein scheint auch nicht das Problem zu sein...&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 09:06:36 GMT</pubDate>
      <guid>https://community.comdirect.de/t5/website-apps/api-frage-zu-trailing-stop-market-order/m-p/319543#M26280</guid>
      <dc:creator>Krügerrand</dc:creator>
      <dc:date>2024-09-19T09:06:36Z</dc:date>
    </item>
    <item>
      <title>Betreff: API: Frage zu Trailing Stop Market Order</title>
      <link>https://community.comdirect.de/t5/website-apps/api-frage-zu-trailing-stop-market-order/m-p/319545#M26281</link>
      <description>&lt;P&gt;Vielleicht ist es auch ein Logikproblem. Einen Trailing Stop einzugeben, der geringer ist, als das Limit zum aktuellen Kurs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(0,50-0,94)/0,94 = 46%. Wenn man einen Trailing Stop Loss von 5,5% Eingibt, müsste der direkt auf 0,88 hochgesetzt werden. Vielleicht wird das in der Web Ordermaske nicht geprüft, führt aber bei der Api zu einem Fehler?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 09:28:55 GMT</pubDate>
      <guid>https://community.comdirect.de/t5/website-apps/api-frage-zu-trailing-stop-market-order/m-p/319545#M26281</guid>
      <dc:creator>Krügerrand</dc:creator>
      <dc:date>2024-09-19T09:28:55Z</dc:date>
    </item>
    <item>
      <title>Betreff: API: Frage zu Trailing Stop Market Order</title>
      <link>https://community.comdirect.de/t5/website-apps/api-frage-zu-trailing-stop-market-order/m-p/319557#M26282</link>
      <description>&lt;P&gt;Danke für die Hinweise, in der Doku hatte ich auch das fehlende Beispiel zu relativem Abstand bei der Trailing Stop Market Order gesehen und gedacht, ich kann es äquivalent zur Trailing Stop Limit Order anwenden. Auch mit absolutem Abstand komme ich leider nicht weiter. Wenn ich bspw. folgendes eingebe, kommt weiterhin der selbe Fehler ("Der Trailingabstand ist leider ungültig."). Wenn meine Werte falsch sind bzw. ich einen Denkfehler habe, was wären bei dem Beispiel realistische Werte?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{'depotId': 'XYZ',
 'side': 'SELL',
 'instrumentId': 'PC1EJ1',
 'orderType': 'TRAILING_STOP_MARKET',
 'quantity': {'value': '12', 'unit': 'XXX'},
 'venueId': 'D7E506847065490DA8E9990E7B6CA955',
 'triggerLimit': {'value': '0.60', 'unit': 'EUR'},
 'validityType': 'GFD',
 'triggerLimitDistAbs': {'value': '0.15', 'unit': 'EUR'}}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 10:46:12 GMT</pubDate>
      <guid>https://community.comdirect.de/t5/website-apps/api-frage-zu-trailing-stop-market-order/m-p/319557#M26282</guid>
      <dc:creator>testbot</dc:creator>
      <dc:date>2024-09-19T10:46:12Z</dc:date>
    </item>
    <item>
      <title>Betreff: API: Frage zu Trailing Stop Market Order</title>
      <link>https://community.comdirect.de/t5/website-apps/api-frage-zu-trailing-stop-market-order/m-p/319566#M26284</link>
      <description>&lt;P&gt;Auch hier ist dein Preis (0,60) weit tiefer, als er mit deinem Abstand hätte.&lt;/P&gt;&lt;P&gt;Aktuell ist der Preis bei 1,12 EUR. Damit würde dein SL auf 0,97 hochgezogen werden.&lt;/P&gt;&lt;P&gt;Versuch doch mal SL 1,00 und Absoluter Abstand 0,20 EUR.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Aber grundsätzlich sollte deines schon auch gehen...&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 13:03:28 GMT</pubDate>
      <guid>https://community.comdirect.de/t5/website-apps/api-frage-zu-trailing-stop-market-order/m-p/319566#M26284</guid>
      <dc:creator>Krügerrand</dc:creator>
      <dc:date>2024-09-19T13:03:28Z</dc:date>
    </item>
    <item>
      <title>Betreff: API: Frage zu Trailing Stop Market Order</title>
      <link>https://community.comdirect.de/t5/website-apps/api-frage-zu-trailing-stop-market-order/m-p/319567#M26285</link>
      <description>&lt;P&gt;Mmh, danke für die Idee, aber auch damit klappt es leider nicht:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;{'depotId': 'XYZ',
 'side': 'SELL',
 'instrumentId': 'PC1EJ1',
 'orderType': 'TRAILING_STOP_MARKET',
 'quantity': {'value': '12', 'unit': 'XXX'},
 'venueId': 'D7E506847065490DA8E9990E7B6CA955',
 'triggerLimit': {'value': '1.00', 'unit': 'EUR'},
 'validityType': 'GFD',
 'triggerLimitDistAbs': {'value': '0.20', 'unit': 'EUR'}}&lt;/PRE&gt;&lt;PRE&gt;Error in Order Validation {"code":"request.object.invalid","messages":[{"severity":"ERROR","key":"fehler_trailingabstand_ungueltig","message":"Der Trailingabstand ist leider ungültig.","args":{},"origin":[]}]}&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 19 Sep 2024 13:15:25 GMT</pubDate>
      <guid>https://community.comdirect.de/t5/website-apps/api-frage-zu-trailing-stop-market-order/m-p/319567#M26285</guid>
      <dc:creator>testbot</dc:creator>
      <dc:date>2024-09-19T13:15:25Z</dc:date>
    </item>
    <item>
      <title>Betreff: API: Frage zu Trailing Stop Market Order</title>
      <link>https://community.comdirect.de/t5/website-apps/api-frage-zu-trailing-stop-market-order/m-p/319699#M26287</link>
      <description>&lt;P&gt;Schau dir mal die postman collection an. Dort steht trailingLimitDistAbs als key für den Abstand. Die Doku scheint hier falsch zu sein.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ansonsten würde ich mal versuchen eine Order über das Web anzulegen und per API die Orders abfragen. Da kannst du die richtige Struktur sehen.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Sep 2024 08:35:48 GMT</pubDate>
      <guid>https://community.comdirect.de/t5/website-apps/api-frage-zu-trailing-stop-market-order/m-p/319699#M26287</guid>
      <dc:creator>ehemaliger Nutzer</dc:creator>
      <dc:date>2024-09-21T08:35:48Z</dc:date>
    </item>
  </channel>
</rss>

