content: package com.github.misterchangray.service.common.vo.order.response.fcoin;
  
  
  
  import java.util.List;
  
  /**
   * Created by riecard on 2018/6/17.
   */
  public class FcoinTest {
      public static void main(String[] args) {
  
  
  //        Map<String, String> map = new HashMap<>();
  //        map.put("type","limit");
  //        map.put("side","buy");
  //        map.put("amount","100.0");
  //        map.put("price","100.0");
  //        map.put("symbol","btcusdt");
  //        String sign = SignUtil.fcoinSign("", "3600d0a74aa3410fb3b1996cca2419c8", "POST", "https://api.fcoin.com/v2/orders", map, System.currentTimeMillis());
  ////        System.out.println(sign);
  //
  //        FcoinQueryImpl fcoinQuery = new FcoinQueryImpl();
  //
  ////        Symbio symbio = new Symbio();
  ////        symbio.setK("btcusdt");
  ////        Depth depthSpot = fcoinQuery.getDepthSpot("","",symbio);
  ////        System.out.println(depthSpot);
  //
  //        List<BitUserBitinfo> bitinfoList =  fcoinQuery.initBitinfo("cb4aa679d2d145969b79f7bfe21757dd", "c001610384f8433eb260799f0fc52f40", "18048563317");
  //        System.out.println(JsonUtil.obj2Str(bitinfoList));
  ////
  //        FcoinOrderService orderService = new FcoinOrderService();
  //        List<Order> orderBeanList = orderService.getAllOrder("cb4aa679d2d145969b79f7bfe21757dd", "c001610384f8433eb260799f0fc52f40", "ftbtc");
  //        System.out.println(JsonUtil.obj2Str(orderBeanList));
  
  //        String oid = orderService.placeOrder("cb4aa679d2d145969b79f7bfe21757dd", "c001610384f8433eb260799f0fc52f40","ftbtc","sell",0.000147D,300D);
  //        System.out.println(oid);
  
          // PFOZUrV4h4RrZTw43tXZ3_M5xgzWqrca-qdB2kLZ62Y=
  
  //        System.out.println(orderService.cancelOrder("cb4aa679d2d145969b79f7bfe21757dd", "c001610384f8433eb260799f0fc52f40","ftbtc","PFOZUrV4h4RrZTw43tXZ3_M5xgzWqrca-qdB2kLZ62Y="));
  
  //        Order order = orderService.getOrder("cb4aa679d2d145969b79f7bfe21757dd", "c001610384f8433eb260799f0fc52f40","ftbtc","PFOZUrV4h4RrZTw43tXZ3_M5xgzWqrca-qdB2kLZ62Y=");
  //        System.out.println(order);
  
      }
  }