I can guide you on how to create a futures order with USDT as the quantity parameter using the MetaTrader 5 API.

Here is an example of how you can do it:

bot.futures_create_order(

symbol = 'FLMUSDT',

side = 'BUY',

type = 'MARKET',

quantity = 12.0,

leverage = 100,

type2 = 'LIMIT', // or 'MAINTAIN'

price_type1 = 'BID' // or 'ASK'

);

Here’s what each parameter does:

+ type2 = 'MARKET': market order

+ price_type1 = 'BID': Buy at the bid price and sell at the ask price

Note that you should tailor these parameters to your trading strategy and risk management approach.

Also check the API documentation for MetaTrader 5 to make sure you are using the correct parameters and formats.

发表评论

您的电子邮箱地址不会被公开。