Screenshots for Binance usd-m futures
You need to rewrite the work of the strategy in the Pine Script c language by automating it to Python.We use the standard Binance API.Working requires experience with the Binance API and TradingView.In case of good performance, new orders will be made.Entrance data
API Key (Public and Private)
The size of candles (e.g., 15m)
Work Mode (Test, Work and Download)
Currency pair (e.g., BTCUSDT)
Time of start of testing (e.g., 01.05.2022)
STOP LOST (for example, 3% of the currency price)
Take profit (e.g. 5% of the currency price)
MONEY_MARKET = 50 ($50 for work in test and work bet modes)
Description of Working Regimes
Downloads
Downloads all data from Binance to the hard disk.If the data is on the disk, we remove them and re-recording new data.(Exit from the program)
Testing
If the data is not available, first download it (Download mode).We conduct testing with the outcome of all operations on the screen strategy and CSV file.In 2 columns Profit, change of balance.The example
1; 1; [the date of entry] [the date of entry]
2; 2; [the date of entry] [the date of entry]
4; 1; [the date of entry]; [the date of entry]
6; 5; [the date of entry] [the date of entry]
5:10 [the date of entrance] [the date of entrance]
It is the point of entrance and exit.For LONG (with a minimum point of candle, closure is done as well with a minimum point of candle)
For SHORT (with the maximum point of the candle, closure is done as well with the maximum point of the candle)
The output file is recorded in the following format:
TEST_BTCUSDT_15M_01_05_2022_SL3_TP_5.csv
(Exit from the program)
work
The mode in which every second the price is requested and the operation of the strategy is checked.The program can serve only one transaction.If the opening of the transaction operates and the transactions are not opened, then we open the fixation transaction in the file (e.g., WORK_BTCUSDT_15M_01_05_2022_SL3_TP_5.csv) and then we create SP/TP in the Binance system)
If the opening of the transaction is operated and the transaction is open, but according to the contrary order, then we first close the transaction on the Market and then open the transaction with fixation in the file (e.g., WORK_BTCUSDT_15M_01_05_2022_SL3_TP_5.csv) and then create SP/TP in the Binance system)
Accordingly, if the transaction works (LONG) and the transaction is already open, for example, in the mode (LONG) - we do nothing!The availability of operating transactions is verified through the Binance API
[The program in this mode must work endlessly, until the moment of compulsory disconnection!]
The Pine strategy text can be tested in TradingView and must be automated in Python.The version = 4
strategy("BTCUSDT", overlay=true, pyramiding=1,initial_capital = 10000, default_qty_type= strategy.percent_of_equity, default_qty_value = 100, calc_on_order_fills=false, slippage=0,commission_type=strategy.commission.percent,commission_value=0.075)
/ Source
source = input(close, title="Source")
Configure backtest start date with inputs
StartDate = input(title="Start Date", type=input.integer,
defval = 13, minval = 1, maxval = 31
startMonth = input(title="Start Month", type=input.integer,
defval = 6, minval = 1, maxval = 12
startYear = input(title="Start Year", type=input.integer,
defval=2022, minval=1800, maxval=2100)
afterStartDate = (time >= timestamp(syminfo.timezone,
startYear, startMonth, startDate, 0, 0))
Len = input(6, title="Length", minval=0)
offset = input(0, title="Offset", minval=0)
threadType = input(title="Type", defval="HiLo", options=["HiLo", "HiLo Activator"])
SimpleHiLo = (hiloType = “HiLo”)
maType = input(title="MA Type", defval="SMA", options=["SMA", "EMA"])
useEMA = (maType = “EMA”)
hima = (useEMA ?EMA (high, len) : sma (high, len )
Loma = (useEMA ?Emma (low, len) : sma (low, len )
Hihi = SimpleHiLo ?by: highest (high, len)
Lolo = SimpleHiLo ?by: lowest (low, len )
Their = close
if simpleHiLo
Close < loma [offset]hima : (close > hima [offset] ?Loma : hilo[1] )
Other
Close < loma [offset]Hihi : (close > hima [offset] ?Lolo : hilo[1] )
HlColor = color.red
hlColor = (close < loma [offset] ?color.red : (close > hima[offset] ?color.green : hlColor[1] )
Current freelance projects in the category C & C++
Reverse engineering of console utilities for querying SSD controllers (Flash ID)1. Purpose of the work Extraction of the application programming interface (API) for interaction with SSD/NVMe controllers from the provided set of console utilities (Phison, Silicon Motion, Realtek, Maxiotek, Marvell, JMicron, etc.). The result should be working code in C/C++… C & C++, Desktop Apps ∙ 6 days 5 hours back ∙ 6 proposals |
Development of a Minecraft Java Seed Map / Seed Viewer for the websiteDevelopment of Minecraft Java Seed Map / Seed Viewer for the websiteProject Description A browser-based tool Minecraft Java Seed Map / Seed Viewer needs to be developed, which will work on our website and allow the user to enter a seed from Minecraft Java Edition and view an… C & C++, HTML & CSS ∙ 6 days 12 hours back ∙ 15 proposals |
Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x)
22 USD
Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x) on the identical hardware platform (ESP32 + SX1268, 2W) based on the criteria of range, throughput, link stability, and power consumption. Conduct tests with… C & C++, C# ∙ 10 days 19 hours back ∙ 2 proposals |
Consultation and audit of the current project on Odoo 19 Community EditionWe are looking for an Odoo Developer — a solo developer with experience in Odoo 19 Community Edition, including using Claude Code. We need a specialist who has successfully implemented projects in Odoo and practical experience in development using Claude Code. Important: we only… C & C++, Javascript and Typescript ∙ 13 days 20 hours back ∙ 8 proposals |