$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "data": {
< "open": [
< 150,
< 152.5,
< 151,
< 153.5,
< 155,
< 154,
< 156,
< 158.5,
< 157,
< 159
< ],
< "high": [
< 153,
< 154,
< 153.5,
< 156,
< 157,
< 156.5,
< 159,
< 160,
< 159.5,
< 162
< ],
< "low": [
< 149,
< 151,
< 150,
< 152,
< 153.5,
< 152.5,
< 154.5,
< 157,
< 156,
< 158
< ],
< "close": [
< 152,
< 151.5,
< 153,
< 154.5,
< 154,
< 155.5,
< 158,
< 157.5,
< 159,
< 161.5
< ],
< "volume": [
< 1000,
< 1200,
< 1100,
< 1300,
< 1250,
< 1400,
< 1500,
< 1450,
< 1600,
< 1550
< ]
< },
< "indicators": [
< {
< "name": "SMA",
< "params": {
< "timeperiod": 3
< }
< },
< {
< "name": "RSI",
< "params": {
< "timeperiod": 14
< }
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/acts/ozito~technical-analysis-calculator/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'