Crypto alert message
What does a crypto alert message look like?
Crypto alerts use the same shape as stock alerts. The ticker comes from a crypto chart: set an alert on BTCUSD or ETHUSD and {{ticker}} resolves to the pair. Set the strategy's asset type to crypto, and the bot sizes the order in the base currency from its Budget per entry.
Entry and exit
The message is the same shape as a stock alert. Open the alert on a crypto chart so {{ticker}} gives the crypto pair.
Crypto entry
{ "action": "OPEN", "instrument": "{{ticker}}", "direction": "LONG" }Crypto exit
{ "action": "CLOSE", "instrument": "{{ticker}}", "direction": "LONG" }On a BTCUSD chart, {{ticker}} resolves to BTCUSD. On a stock chart it gives the stock symbol, which a crypto bot will not trade.
Plain text
Discord and Telegram messages work too. The ticker and direction are all Nyria needs.
Crypto long entry
Long BTC here
Close crypto long
Close BTC long
Which accounts trade crypto
- Alpaca: crypto spot on live accounts (BTCUSD, ETHUSD and other pairs Alpaca supports).
- Nyria Paper: crypto spot and simulated perpetuals, free with no time limit.
- Schwab, Tradier, tastytrade: stocks and options only.
Common mistakes
- Opening the alert on a stock chart: {{ticker}} gives the stock symbol, not a crypto pair. Open the alert on the crypto chart.
- Expecting perpetuals on a live broker: perpetuals run on Nyria Paper only today.
Test your alert
Paste a crypto alert into the alert tester to see the ticker and direction Nyria reads from it.
Questions
- Which brokers support crypto on Nyria?
- Alpaca trades crypto spot on live accounts. Nyria Paper supports crypto spot and simulated perpetuals. Schwab, Tradier and tastytrade trade stocks and options only.
- Does {{ticker}} work for crypto charts?
- Yes. Open the alert on a crypto chart such as BTCUSD and {{ticker}} resolves to BTCUSD. Opening the same alert on a stock chart gives a stock ticker, which the crypto bot will not recognise.
- Can I trade crypto perpetuals on a live broker?
- Not today. Crypto perpetuals run on Nyria Paper only, where they are simulated. Live perpetual venues are in the coming-soon set.
Trade crypto alerts on a free paper bot
Test crypto spot alerts on Nyria Paper. No card required.