1.Follow-up and follow-up:Follow-up and follow-up transactions can be made with the report(small slip point)(avoid following the order first,but the guide is withdrawn);
2.Set the documentary quantity,according to the proportion and the maximum quantity.
3.The handling methods of the unsettled documentary include how long to withdraw the order,how much the price deviation is,and re-chasing,canceling or keeping the pending order.
4.When multiple accounts are involved,such as one to one,one to many,many to one,etc.,you have to group the accounts and count the positions by group.
5.It is also a regular function to follow contracts only and exclude contracts only or exclude contracts.
6.Comparison and display of position differences,which is convenient for users to see clearly whether there is any difference in the order at a glance.At the same time,it includes the synchronization function of a single contract.
or i in range(int(time_len)*24):#由于返回的是小时制,所以总数据等于天数*24
time_stamp=coin_data['prices']<i>[0]/1000#返回的是毫秒级时间戳所以除以1000转换成秒级进行处理本文由系统开发对接威:lovei130908编辑整理发布
time_local=time.localtime(time_stamp)#转换成本地时间
dt=time.strftime("%Y-%m-%d%H:%M:%S",time_local)#进行数据的转换方便观察
coin_time.append(dt)#存入时间队列
coin_price.append(coin_data['prices']<i>[1])#存入价格队列
plt.plot(coin_time,coin_price,linewidth=2)#图标绘制,第一个参数是x轴,第二个参数是y轴
plt.title(id+''+time_len+'days table',fontsize=14)
plt.xlabel("time",fontsize=14)
plt.ylabel("usd",fontsize=14)
plt.show()