Provision a trading environment
cloud@tooq-sp01:~$ tooq server create algo-bot-01 \
--project prj_0199e3b41c7a7f52b8d09e4416ad3c77 \
--profile-code tooq.micro.hft \
--image-code ubuntu-24.04-x86-64
Creating server "algo-bot-01" in br-spa-b3colo...
Operation op_0199e40b7d2a7f93b615c8e0d42a97f1 · pending → running (attempt 1)
Waiting provisioning... 1m18s
ID=srv_0199e40b7d3e7c15a802f9b6e4c1d375
NAME=algo-bot-01
PROFILE=tooq.micro.hft
STATUS=active
POWER=running
CREATED=2026-08-25T16:42:11Z
Demonstration: create algo-bot-01 in the B3 co-location, follow provisioning, and inspect the active server.
Measure the exchange connection
cloud@tooq-sp01:~$ trading-analytics-cli latency --since=-12h --until=now
avg latency: 26µs | p99: 48µs | max: 52µs
+--------------+--------------+-----------+--------------------+
|min_latency_ns|max_latency_ns|hits |histogram |
+--------------+--------------+-----------+--------------------+
|1000 |4456.23 |6107.38 | |
|4456.23 |9006.69 |6885.88 | |
|9006.69 |13509.67 |9070.5 | |
|13509.67 |17692.6 |8018.75 | |
|17692.6 |23919.1 |5613582.75 |>>>> |
|23919.1 |30288.93 |33985191.12|>>>>>>>>>>>>>>>>>>>>|
|30288.93 |35786.49 |7793652.38 |>>>>> |
|35786.49 |42396 |1104691.38 |> |
|42396 |47772.79 |1160647.25 |> |
|47772.79 |51934.99 |631487.38 |> |
+--------------+--------------+-----------+--------------------+
Illustrative exchange latency: average 26 microseconds, p99 48 microseconds, maximum 52 microseconds, followed by the complete latency histogram.
Stream market data and access managed services
cloud@tooq-sp01:~$ tooq md-api get tob --symbol WINZ25 --exchange B3
Connecting ...
{"Type":"TOP_OF_BOOK","Venue":"B3","Content":{"Ticker":"WINZ25",
"SecurityId":200001287487,"MdEntryPx_Bid":150565,"MdEntrySize_Bid":5,
"MdEntryPx_Ask":150570,"MdEntrySize_Ask":15,"SequenceNumber":25328255,
"MdEntryTimestamp":1759234312345965194}}
cloud@tooq-sp01:~$ curl \
-X POST https://cloud.tooqtechnology.com/api/strategy/SingleOrder \
-H "Content-Type: application/json" \
--data-binary @- << 'EOF'
{
"id": "strat1", "account": 123, "validateFatFinger": true,
"symbol": "DI1F27", "side": "BUY", "price": 13.505, "quantity": 100,
"venue": "BVMF"
}
EOF
Illustrative market data for WINZ25 on B3, followed by the original SingleOrder API request example. No command is executed.