robswc / tradingview-webhooks-bot

a framework 🏗 for trading with tradingview webhooks!
http://tvwb.robswc.me
GNU General Public License v3.0
620 stars 185 forks source link

Create binance_spot.py #54

Closed zahidhussaina2l closed 1 year ago

zahidhussaina2l commented 1 year ago

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.