Bene, almeno si informa in poche parole che metatrader5 (5.0.21) è stato pubblicato e che è cambiato quanto segue... E rendere la documentazione conforme. Non ci sono molti cambiamenti da fare in pochi giorni. O devi controllare tutto a sensazione?
Bene, almeno informate in due parole che metatrader5 (5.0.21) è pubblicato e che è cambiato quanto segue... E rendere la documentazione conforme. Non ci sono molti cambiamenti da fare in pochi giorni. O devi controllare tutto a sensazione?
La documentazione online diMetaTrader for Python è già disponibile sul sito web per alcune delle caratteristiche aggiornate. Gli esempi sono mostrati per ogni
Python является современным высокоуровневым языком программирования для разработки сценариев и приложений. Содержит множество библиотек для машинного обучения, автоматизации процессов, анализа и визуализации данных. Пакет MetaTrader для Python предназначен для...
Rashid Zeynalov: Ragazzi, ho capito bene che non è possibile ottenere informazioni sulle posizioni aperte nel terminale ora?
Sì:
initialize(path=None) Establish connection with the MetaTrader 5 Terminal
wait() Wait for the MetaTrader 5 Terminal to connect to a broker's server
shutdown() Disconnect from the MetaTrader 5 Terminal
version() Get the MetaTrader 5 Terminal version
terminal_info() Get the parameters of the MetaTrader 5 terminal
account_info() Returns information of current account
copy_ticks_from(symbol, from, count, flags) Get ticks starting from the specific date
copy_ticks_range(symbol, from, to, flags) Get ticks from the specified period
copy_rates_from(symbol, timeframe, from, count) Get bars starting from the specific date
copy_rates_from_pos(symbol, timeframe, start_pos, count) Get bars starting from the specified position
copy_rates_range(symbol, timeframe, date_from, date_to) Get bars from the specified period
positions_total() Returns the number of open positions
positions_get([symbol=\"SYMBOL\"],[ticket=TICKET]) Returns all open positions, can be filtered by symbol or ticket
orders_total() Returns the number of orders
orders_get([symbol=\"SYMBOL\"],[ticket=TICKET]) Returns all orders, can be filtered by symbol or ticket
history_orders_total(from, to) Returns the number of orders in selected range from the history
history_orders_get(from, to) Returns orders in selected range from the history or filtered by position id, ticket
history_deals_total(from, to) Returns the number of deals in selected range from the history
history_deals_get(from, to) Returns deals in selected range from the history or filtered by position id, ticket
order_check(request) Checks if there are enough funds to execute the required trade operation
order_send(request) Sends trade requests to a server
order_calc_margin(action, symbol, volume, price) Calculates the margin required for the specified order
order_calc_profit(action, symbol, volume, price_open, price_close) Calculates the profit for the current account, in the current market conditions, based on the parameters passed
symbol_info(symbol) Returns full information for a specified symbol
symbol_info_tick(symbol) Returns current prices of a specified symbol
symbol_select(symbol,[enable]) Selects a symbol in the Market Watch window or removes a symbol from the window
La documentazione non è ancora stata completata.
Non dimenticate di aggiornare all'ultima versione della libreria, che è attualmente la 21:
Bene, almeno si informa in poche parole che metatrader5 (5.0.21) è stato pubblicato e che è cambiato quanto segue... E rendere la documentazione conforme. Non ci sono molti cambiamenti da fare in pochi giorni. O devi controllare tutto a sensazione?
Controllato e funziona:
Continuiamo a brancolare :)
Bene, almeno informate in due parole che metatrader5 (5.0.21) è pubblicato e che è cambiato quanto segue... E rendere la documentazione conforme. Non ci sono molti cambiamenti da fare in pochi giorni. O devi controllare tutto a sensazione?
La documentazione online diMetaTrader for Python è già disponibile sul sito web per alcune delle caratteristiche aggiornate. Gli esempi sono mostrati per ogni
Certo che l'ho visto. Eseguirlo attraverso la documentazione
E questo funziona ed è l'inizializzazione corretta.
Basta correggere la documentazione.
Certo che l'ho visto. Eseguirlo secondo la documentazione.
login è un parametro obbligatorio senza nome, rimuovere login=.
E questo funziona ed è l'inizializzazione corretta.
Basta correggere la documentazione.
Completeremo la descrizione, grazie per il messaggio.
E questo funziona ed è l'inizializzazione corretta.
Basta correggere la documentazione.
Se ora prova a riconnettersi
Tutto sommato è molto grezzo finora...
Se ora proviamo a ricollegarci
Tutto sommato, è tutto molto rozzo finora...
Porta la linea in linea con gli esempi che Renat ha mostrato.
Forum sul trading, sistemi di trading automatico e test di strategia
MetaTrader 5 Python User Group - Come usare Python in MetaTrader
Renat Fatkhullin, 2020.02.18 22:05
Ragazzi, ho capito bene che non è possibile ottenere informazioni sulle posizioni aperte nel terminale ora?
Sì:
La documentazione non è ancora stata completata.
Non dimenticate di aggiornare all'ultima versione della libreria, che è attualmente la 21: