Skip to content

1.2.0

Latest

Choose a tag to compare

@PhoenixTF-DevTeam PhoenixTF-DevTeam released this 03 Nov 22:10

Price alerts, conditional orders and the restricted countries.

  • Every SDK: alerts (create, list, get, modify, rearm, delete): a level on a market, told once (alert.triggered)
    when the price reaches it, never trading; the events group alerts for webhooks.
  • The conditional strategy: an order (market or limit) sent once a price is reached, on its own market (a buy when
    the price falls to trigger_price, a sell when it rises) or on another one (trigger_market, trigger_direction),
    with expires_at and exits; the event strategy.triggered.
  • platform.restrictedCountries: the countries whose residents cannot sign up or buy.
  • The error codes trigger_already_met, alert_not_found, alert_limit, alert_at_price, alert_not_armed; the
    limits' alerts.

How to install each SDK: https://docs.phoenixperpsfunding.com/quickstart