Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.61 KB

File metadata and controls

25 lines (18 loc) · 1.61 KB

MyFuturesTrade

Properties

Name Type Description Notes
id number Fill ID [optional] [default to undefined]
createTime number Fill Time [optional] [default to undefined]
contract string Futures contract [optional] [default to undefined]
orderId string Related order ID [optional] [default to undefined]
size number Trading size [optional] [default to undefined]
closeSize number Number of closed positions: close_size=0 && size>0 Open long position close_size=0 && size<0 Open short position close_size>0 && size>0 && size <= close_size Close short position close_size>0 && size>0 && size > close_size Close short position and open long position close_size<0 && size<0 && size >= close_size Close long position close_size<0 && size<0 && size < close_size Close long position and open short position [optional] [default to undefined]
price string Fill Price [optional] [default to undefined]
role string Trade role. taker - taker, maker - maker [optional] [default to undefined]
text string Order custom information [optional] [default to undefined]
fee string Trade fee [optional] [default to undefined]
pointFee string Points used to deduct trade fee [optional] [default to undefined]

Enum: MyFuturesTrade.Role

  • Taker (value: 'taker')

  • Maker (value: 'maker')