Using this file, you can make trades on market orders by sending the data using the following syntax from tradingview: {
"key": "",
"side": "buy",
"symbol": "{{ticker}}",
"price": {{close}}
}
You can also switch between sandbox and mainnet api by uncommenting the line given in the code.
Using this file, you can make trades on market orders by sending the data using the following syntax from tradingview: { "key": "",
"side": "buy",
"symbol": "{{ticker}}", "price": {{close}} }
You can also switch between sandbox and mainnet api by uncommenting the line given in the code.