GETAccounts_response = {'accounts': [{'id': '123-123-1234567-123', 'tags': []}]}

GETAccountID_response = {
    'account': {'id': '123-123-1234567-123', 'createdTime': '2017-08-11T15:04:31.639182352Z', 'currency': 'AUD',
                'createdByUserID': 6557245, 'alias': 'Primary', 'marginRate': '0.02', 'hedgingEnabled': False,
                'lastTransactionID': '14', 'balance': '99999.9138', 'openTradeCount': 0, 'openPositionCount': 0,
                'pendingOrderCount': 0, 'pl': '-0.0769', 'resettablePL': '-0.0769', 'financing': '-0.0093',
                'commission': '0.0', 'orders': [], 'positions': [{'instrument': 'EUR_USD',
                                                                  'long': {'units': '0.0', 'pl': '-0.0769',
                                                                           'resettablePL': '-0.0769',
                                                                           'financing': '-0.0093',
                                                                           'unrealizedPL': '0.0'},
                                                                  'short': {'units': '0.0', 'pl': '0.0',
                                                                            'resettablePL': '0.0',
                                                                            'financing': '0.0',
                                                                            'unrealizedPL': '0.0'},
                                                                  'pl': '-0.0769', 'resettablePL': '-0.0769',
                                                                  'financing': '-0.0093', 'commission': '0.0',
                                                                  'unrealizedPL': '0.0'}], 'trades': [],
                'unrealizedPL': '0.0', 'NAV': '99999.9138', 'marginUsed': '0.0', 'marginAvailable': '99999.9138',
                'positionValue': '0.0', 'marginCloseoutUnrealizedPL': '0.0', 'marginCloseoutNAV': '99999.9138',
                'marginCloseoutMarginUsed': '0.0', 'marginCloseoutPositionValue': '0.0',
                'marginCloseoutPercent': '0.0', 'withdrawalLimit': '99999.9138', 'marginCallMarginUsed': '0.0',
                'marginCallPercent': '0.0'}, 'lastTransactionID': '14'}

GETAccountIDSummary_response = {
    'account': {'id': '123-123-1234567-123', 'createdTime': '2017-08-11T15:04:31.639182352Z', 'currency': 'AUD',
                'createdByUserID': 6557245, 'alias': 'Primary', 'marginRate': '0.02', 'hedgingEnabled': False,
                'lastTransactionID': '56', 'balance': '100000.1795', 'openTradeCount': 2, 'openPositionCount': 1,
                'pendingOrderCount': 0, 'pl': '0.1899', 'resettablePL': '0.1899', 'financing': '-0.0104',
                'commission': '0.0', 'unrealizedPL': '0.0033', 'NAV': '100000.1828', 'marginUsed': '0.0401',
                'marginAvailable': '100000.1427', 'positionValue': '2.0027', 'marginCloseoutUnrealizedPL': '0.0046',
                'marginCloseoutNAV': '100000.1841', 'marginCloseoutMarginUsed': '0.04',
                'marginCloseoutPositionValue': '2.0', 'marginCloseoutPercent': '0.0',
                'withdrawalLimit': '100000.1427', 'marginCallMarginUsed': '0.04', 'marginCallPercent': '0.0'},
    'lastTransactionID': '56'}

account_changes_transactions_data = [
    {'type': 'MARKET_ORDER', 'instrument': 'AUD_USD', 'units': '-100000', 'timeInForce': 'FOK',
     'positionFill': 'REDUCE_ONLY', 'reason': 'TRADE_CLOSE',
     'tradeClose': {'units': 'ALL', 'tradeID': '70'}, 'id': '73', 'userID': 6557245,
     'accountID': '123-123-1234567-123', 'batchID': '73', 'requestID': '24332661887306834',
     'time': '2017-09-26T02:02:56.859197224Z'},
    {'type': 'ORDER_FILL', 'orderID': '73', 'instrument': 'AUD_USD', 'units': '-100000',
     'price': '0.79411', 'pl': '73.0267', 'financing': '-0.0129', 'commission': '0.0',
     'accountBalance': '100073.1945', 'reason': 'MARKET_ORDER_TRADE_CLOSE', 'tradesClosed': [
        {'tradeID': '70', 'units': '-100000', 'realizedPL': '73.0267', 'financing': '-0.0129'}],
     'fullPrice': {'closeoutBid': '0.79396', 'closeoutAsk': '0.79438',
                   'timestamp': '2017-09-26T02:01:48.859685266Z',
                   'bids': [{'price': '0.79411', 'liquidity': '10000000'}],
                   'asks': [{'price': '0.79423', 'liquidity': '10000000'}]}, 'id': '74',
     'userID': 6557245, 'accountID': '123-123-1234567-123', 'batchID': '73',
     'requestID': '24332661887306834', 'time': '2017-09-26T02:02:56.859197224Z'},
    {'type': 'ORDER_CANCEL', 'orderID': '71', 'reason': 'LINKED_TRADE_CLOSED', 'closedTradeID': '70',
     'tradeCloseTransactionID': '74', 'id': '75', 'userID': 6557245,
     'accountID': '123-123-1234567-123', 'batchID': '73', 'requestID': '24332661887306834',
     'time': '2017-09-26T02:02:56.859197224Z'},
    {'type': 'ORDER_CANCEL', 'orderID': '72', 'reason': 'LINKED_TRADE_CLOSED', 'closedTradeID': '70',
     'tradeCloseTransactionID': '74', 'id': '76', 'userID': 6557245,
     'accountID': '123-123-1234567-123', 'batchID': '73', 'requestID': '24332661887306834',
     'time': '2017-09-26T02:02:56.859197224Z'},
    {'type': 'MARKET_ORDER', 'instrument': 'AUD_USD', 'units': '10000', 'timeInForce': 'FOK',
     'positionFill': 'DEFAULT', 'takeProfitOnFill': {'price': '0.79823', 'timeInForce': 'GTC'},
     'stopLossOnFill': {'price': '0.79273', 'timeInForce': 'GTC'}, 'reason': 'CLIENT_ORDER',
     'id': '77', 'userID': 6557245, 'accountID': '123-123-1234567-123', 'batchID': '77',
     'requestID': '24332662021610694', 'time': '2017-09-26T02:03:28.339330227Z'},
    {'type': 'ORDER_FILL', 'orderID': '77', 'instrument': 'AUD_USD', 'units': '10000',
     'price': '0.79423', 'pl': '0.0', 'financing': '0.0', 'commission': '0.0',
     'accountBalance': '100073.1945', 'reason': 'MARKET_ORDER',
     'tradeOpened': {'tradeID': '78', 'units': '10000'},
     'fullPrice': {'closeoutBid': '0.79394', 'closeoutAsk': '0.79438',
                   'timestamp': '2017-09-26T02:03:08.951115776Z',
                   'bids': [{'price': '0.79409', 'liquidity': '10000000'}],
                   'asks': [{'price': '0.79423', 'liquidity': '10000000'}]}, 'id': '78',
     'userID': 6557245, 'accountID': '123-123-1234567-123', 'batchID': '77',
     'requestID': '24332662021610694', 'time': '2017-09-26T02:03:28.339330227Z'},
    {'type': 'TAKE_PROFIT_ORDER', 'tradeID': '78', 'timeInForce': 'GTC',
     'triggerCondition': 'DEFAULT', 'price': '0.79823', 'reason': 'ON_FILL', 'id': '79',
     'userID': 6557245, 'accountID': '123-123-1234567-123', 'batchID': '77',
     'requestID': '24332662021610694', 'time': '2017-09-26T02:03:28.339330227Z'},
    {'type': 'STOP_LOSS_ORDER', 'tradeID': '78', 'timeInForce': 'GTC', 'triggerCondition': 'DEFAULT',
     'price': '0.79273', 'reason': 'ON_FILL', 'id': '80', 'userID': 6557245,
     'accountID': '123-123-1234567-123', 'batchID': '77', 'requestID': '24332662021610694',
     'time': '2017-09-26T02:03:28.339330227Z'}]

GETInstrumentsCandles_response = {'candles':
                                      [{'complete': True,
                                        'mid': {'c': '0.76589', 'h': '0.76589', 'l': '0.76589', 'o': '0.76589'},
                                        'time': '2017-12-20T03:55:05.000000000Z',
                                        'volume': 1},
                                       {'complete': True,
                                        'mid': {'c': '0.76594', 'h': '0.76594', 'l': '0.76594', 'o': '0.76594'},
                                        'time': '2017-12-20T03:57:05.000000000Z',
                                        'volume': 1},
                                       {'complete': True,
                                        'mid': {'c': '0.766', 'h': '0.766', 'l': '0.766', 'o': '0.766'},
                                        'time': '2017-12-20T03:57:25.000000000Z',
                                        'volume': 1},
                                       {'complete': True,
                                        'mid': {'c': '0.76594', 'h': '0.76598', 'l': '0.76594', 'o': '0.76598'},
                                        'time': '2017-12-20T03:58:00.000000000Z',
                                        'volume': 3},
                                       {'complete': True,
                                        'mid': {'c': '0.76593', 'h': '0.76593', 'l': '0.76593', 'o': '0.76593'},
                                        'time': '2017-12-20T03:59:10.000000000Z',
                                        'volume': 1}],
                                  'granularity': 'S5',
                                  'instrument': 'AUD_USD'}

position_response = {'instrument': 'AUD_USD', 'pl': -1290.1203, 'unrealizedPL': -0.0219, 'resettablePL': -1290.1203,
                     'commission': 0.0,
                     'long': {'units': 12.0, 'averagePrice': 0.77079, 'tradeIDs': [4853, 4855, 4857], 'pl': -1086.1652,
                              'unrealizedPL': -0.0219, 'resettablePL': -1086.1652, 'financing': -1.4693},
                     'short': {'units': 0.0, 'pl': -203.9551, 'unrealizedPL': 0.0, 'resettablePL': -203.9551,
                               'financing': -0.643}, 'financing': -2.1123}

order_cancel_transaction_json_dict = {'type': 'ORDER_CANCEL', 'orderID': '4934', 'reason': 'MARKET_HALTED',
                                      'id': '4935', 'userID': 6557245, 'accountID': '123-123-1234567-123',
                                      'batchID': '4934', 'requestID': '42361333491077232',
                                      'time': '1509794347.333636884'}

account_changes_chnages_response = '{"ordersCreated":[],"ordersCancelled":[],"ordersFilled":[{"id":4955,"createTime":"1510528065.059959057","state":"FILLED","type":"MARKET","timeInForce":"FOK","fillingTransactionID":"4956","filledTime":"1510528065.059959057","tradeOpenedID":4956,"instrument":"AUD_JPY","units":"1.0","positionFill":"DEFAULT"}],"ordersTriggered":[],"tradesOpened":[{"id":4956,"instrument":"AUD_JPY","price":"86.918","openTime":"1510528065.059959057","state":"OPEN","initialUnits":"1.0","currentUnits":"1.0","realizedPL":"0.0","financing":"0.0"}],"tradesReduced":[],"tradesClosed":[],"positions":[{"instrument":"AUD_JPY","pl":"-0.0005","resettablePL":"-0.0005","commission":"0.0","long":{"units":"1.0","pl":"0.0","resettablePL":"0.0","financing":"0.0"},"short":{"units":"0.0","pl":"-0.0005","resettablePL":"-0.0005","financing":"0.0"},"financing":"0.0"}],"transactions":[{"id":"4955","time":"1510528065.059959057","userID":6557245,"accountID":"123-123-1234567-123","batchID":"4955","requestID":"24350012415650903","type":"MARKET_ORDER","reason":"CLIENT_ORDER","orderID":null,"financing":null,"accountBalance":null,"price":null,"instrument":"AUD_JPY","units":"1.0","fullPrice":null,"pl":null,"commission":null,"tradeOpened":null},{"id":"4956","time":"1510528065.059959057","userID":6557245,"accountID":"123-123-1234567-123","batchID":"4955","requestID":"24350012415650903","type":"ORDER_FILL","reason":"MARKET_ORDER","orderID":4955,"financing":"0.0","accountBalance":"97804.9353","price":"86.918","instrument":"AUD_JPY","units":"1.0","fullPrice":{"bids":[{"price":"86.894","liquidity":10000000}],"asks":[{"price":"86.918","liquidity":10000000}],"closeoutBid":"86.894","closeoutAsk":"86.918","timestamp":"1510528058.508284733"},"pl":"0.0","commission":"0.0","tradeOpened":{"tradeID":4956,"units":"1.0"}}]}'

example_trade_summary = {'id': 4991, 'instrument': 'AUD_JPY', 'price': '87.054', 'openTime': '1510549344.465586871',
                         'state': 'OPEN',
                         'initialUnits': '1.0', 'currentUnits': '1.0', 'realizedPL': '0.0', 'averageClosePrice': None,
                         'closingTransactionIDs': None, 'financing': '0.0', 'closeTime': None}

example_changed_trade_summary = {'id': 4991, 'instrument': 'AUD_JPY', 'price': '87.054',
                                 'openTime': '1510549344.465586871', 'state': 'CLOSED', 'initialUnits': '1.0',
                                 'currentUnits': '0.0', 'realizedPL': '-0.0003', 'averageClosePrice': '87.026',
                                 'closingTransactionIDs': ['4995'], 'financing': '0.0',
                                 'closeTime': '1510552170.804347695'}

example_order = {'id': '5053', 'createTime': '1510584559.111762008', 'type': 'STOP',
                 'instrument': 'AUD_JPY', 'units': '5', 'timeInForce': 'GTD',
                 'price': '86.885', 'gtdTime': '1511189310.000000000',
                 'triggerCondition': 'DEFAULT', 'partialFill': 'DEFAULT_FILL',
                 'positionFill': 'DEFAULT', 'state': 'PENDING'}

example_positions = '[{"instrument":"AUD_USD","pl":"-1418.8742","unrealizedPL":"0.0122","resettablePL":"-1418.8742","commission":"0.0","long":{"units":"21.0","averagePrice":"0.75227","tradeIDs":[10715,10717,10719],"pl":"-1180.662","unrealizedPL":"0.0122","resettablePL":"-1180.662","financing":"-1.588"},"short":{"units":"0.0","pl":"-238.2122","unrealizedPL":"0.0","resettablePL":"-238.2122","financing":"-0.7093"},"financing":"-2.2973"}]'

example_instruments = '[{"name": "BCO_USD", "type": "CFD", "displayName": "Brent Crude Oil", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000.0", "marginRate": "0.05"}, {"name": "XCU_USD", "type": "CFD", "displayName": "Copper", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "2500000.0", "marginRate": "0.05"}, {"name": "DE30_EUR", "type": "CFD", "displayName": "Germany 30", "pipLocation": 0, "displayPrecision": 1, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "10000.0", "minimumTrailingStopDistance": "5.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "2500.0", "marginRate": "0.05"}, {"name": "EUR_ZAR", "type": "CURRENCY", "displayName": "EUR/ZAR", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "NAS100_USD", "type": "CFD", "displayName": "US Nas 100", "pipLocation": 0, "displayPrecision": 1, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "10000.0", "minimumTrailingStopDistance": "5.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "4000.0", "marginRate": "0.05"}, {"name": "NL25_EUR", "type": "CFD", "displayName": "Netherlands 25", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "20000.0", "marginRate": "0.05"}, {"name": "XAG_GBP", "type": "METAL", "displayName": "Silver/GBP", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "1000000.0", "marginRate": "0.05"}, {"name": "EUR_HUF", "type": "CURRENCY", "displayName": "EUR/HUF", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "XAG_HKD", "type": "METAL", "displayName": "Silver/HKD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "1000000.0", "marginRate": "0.05"}, {"name": "SG30_SGD", "type": "CFD", "displayName": "Singapore 30", "pipLocation": -1, "displayPrecision": 2, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1000.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "3000.0", "marginRate": "0.05"}, {"name": "EUR_NOK", "type": "CURRENCY", "displayName": "EUR/NOK", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "XAU_HKD", "type": "METAL", "displayName": "Gold/HKD", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "50000.0", "marginRate": "0.05"}, {"name": "USD_HUF", "type": "CURRENCY", "displayName": "USD/HUF", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "GBP_ZAR", "type": "CURRENCY", "displayName": "GBP/ZAR", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "SUGAR_USD", "type": "CFD", "displayName": "Sugar", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "40000000.0", "marginRate": "0.05"}, {"name": "NZD_SGD", "type": "CURRENCY", "displayName": "NZD/SGD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "CAD_JPY", "type": "CURRENCY", "displayName": "CAD/JPY", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "EUR_USD", "type": "CURRENCY", "displayName": "EUR/USD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "EUR_JPY", "type": "CURRENCY", "displayName": "EUR/JPY", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "NZD_CHF", "type": "CURRENCY", "displayName": "NZD/CHF", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "USD_CAD", "type": "CURRENCY", "displayName": "USD/CAD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "AUD_CAD", "type": "CURRENCY", "displayName": "AUD/CAD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "XAU_CAD", "type": "METAL", "displayName": "Gold/CAD", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "50000.0", "marginRate": "0.05"}, {"name": "NZD_USD", "type": "CURRENCY", "displayName": "NZD/USD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "HKD_JPY", "type": "CURRENCY", "displayName": "HKD/JPY", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "XAU_SGD", "type": "METAL", "displayName": "Gold/SGD", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "50000.0", "marginRate": "0.05"}, {"name": "CHF_JPY", "type": "CURRENCY", "displayName": "CHF/JPY", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "UK100_GBP", "type": "CFD", "displayName": "UK 100", "pipLocation": 0, "displayPrecision": 1, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "10000.0", "minimumTrailingStopDistance": "5.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "500.0", "marginRate": "0.05"}, {"name": "XAU_AUD", "type": "METAL", "displayName": "Gold/AUD", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "50000.0", "marginRate": "0.05"}, {"name": "CAD_CHF", "type": "CURRENCY", "displayName": "CAD/CHF", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "CAD_SGD", "type": "CURRENCY", "displayName": "CAD/SGD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "EUR_SGD", "type": "CURRENCY", "displayName": "EUR/SGD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "XAG_CAD", "type": "METAL", "displayName": "Silver/CAD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "1000000.0", "marginRate": "0.05"}, {"name": "XAU_CHF", "type": "METAL", "displayName": "Gold/CHF", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "50000.0", "marginRate": "0.05"}, {"name": "DE10YB_EUR", "type": "CFD", "displayName": "Bund", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "60000.0", "marginRate": "0.05"}, {"name": "WTICO_USD", "type": "CFD", "displayName": "West Texas Oil", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000.0", "marginRate": "0.05"}, {"name": "EUR_TRY", "type": "CURRENCY", "displayName": "EUR/TRY", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "USD_JPY", "type": "CURRENCY", "displayName": "USD/JPY", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "CHF_HKD", "type": "CURRENCY", "displayName": "CHF/HKD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "AU200_AUD", "type": "CFD", "displayName": "Australia 200", "pipLocation": 0, "displayPrecision": 1, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "10000.0", "minimumTrailingStopDistance": "5.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "2000.0", "marginRate": "0.05"}, {"name": "SGD_HKD", "type": "CURRENCY", "displayName": "SGD/HKD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "XAU_NZD", "type": "METAL", "displayName": "Gold/NZD", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "50000.0", "marginRate": "0.05"}, {"name": "GBP_HKD", "type": "CURRENCY", "displayName": "GBP/HKD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "EUR_CHF", "type": "CURRENCY", "displayName": "EUR/CHF", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "EUR_SEK", "type": "CURRENCY", "displayName": "EUR/SEK", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "USD_SGD", "type": "CURRENCY", "displayName": "USD/SGD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "XPD_USD", "type": "METAL", "displayName": "Palladium", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "5000.0", "marginRate": "0.05"}, {"name": "GBP_PLN", "type": "CURRENCY", "displayName": "GBP/PLN", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "EUR_NZD", "type": "CURRENCY", "displayName": "EUR/NZD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "XPT_USD", "type": "METAL", "displayName": "Platinum", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "5000.0", "marginRate": "0.05"}, {"name": "NZD_JPY", "type": "CURRENCY", "displayName": "NZD/JPY", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "XAG_NZD", "type": "METAL", "displayName": "Silver/NZD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "1000000.0", "marginRate": "0.05"}, {"name": "AUD_USD", "type": "CURRENCY", "displayName": "AUD/USD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "XAG_JPY", "type": "METAL", "displayName": "Silver/JPY", "pipLocation": 0, "displayPrecision": 1, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "10000.0", "minimumTrailingStopDistance": "5.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "1000000.0", "marginRate": "0.05"}, {"name": "USB10Y_USD", "type": "CFD", "displayName": "US 10Y T-Note", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "60000.0", "marginRate": "0.05"}, {"name": "USD_PLN", "type": "CURRENCY", "displayName": "USD/PLN", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "GBP_AUD", "type": "CURRENCY", "displayName": "GBP/AUD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "IN50_USD", "type": "CFD", "displayName": "India 50", "pipLocation": 0, "displayPrecision": 1, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "10000.0", "minimumTrailingStopDistance": "5.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "1000.0", "marginRate": "0.05"}, {"name": "USB30Y_USD", "type": "CFD", "displayName": "US T-Bond", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "60000.0", "marginRate": "0.05"}, {"name": "GBP_USD", "type": "CURRENCY", "displayName": "GBP/USD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "USD_MXN", "type": "CURRENCY", "displayName": "USD/MXN", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "JP225_USD", "type": "CFD", "displayName": "Japan 225", "pipLocation": 0, "displayPrecision": 1, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "10000.0", "minimumTrailingStopDistance": "5.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "1000.0", "marginRate": "0.05"}, {"name": "USD_CNH", "type": "CURRENCY", "displayName": "USD/CNH", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "TRY_JPY", "type": "CURRENCY", "displayName": "TRY/JPY", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "GBP_CHF", "type": "CURRENCY", "displayName": "GBP/CHF", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "USD_THB", "type": "CURRENCY", "displayName": "USD/THB", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "FR40_EUR", "type": "CFD", "displayName": "France 40", "pipLocation": 0, "displayPrecision": 1, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "10000.0", "minimumTrailingStopDistance": "5.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "2000.0", "marginRate": "0.05"}, {"name": "EUR_DKK", "type": "CURRENCY", "displayName": "EUR/DKK", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "AUD_NZD", "type": "CURRENCY", "displayName": "AUD/NZD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "EUR_AUD", "type": "CURRENCY", "displayName": "EUR/AUD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "GBP_NZD", "type": "CURRENCY", "displayName": "GBP/NZD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "SGD_JPY", "type": "CURRENCY", "displayName": "SGD/JPY", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "EUR_PLN", "type": "CURRENCY", "displayName": "EUR/PLN", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "XAU_EUR", "type": "METAL", "displayName": "Gold/EUR", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "50000.0", "marginRate": "0.05"}, {"name": "USD_NOK", "type": "CURRENCY", "displayName": "USD/NOK", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "XAG_CHF", "type": "METAL", "displayName": "Silver/CHF", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "1000000.0", "marginRate": "0.05"}, {"name": "EU50_EUR", "type": "CFD", "displayName": "Europe 50", "pipLocation": 0, "displayPrecision": 1, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "10000.0", "minimumTrailingStopDistance": "5.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "3000.0", "marginRate": "0.05"}, {"name": "SPX500_USD", "type": "CFD", "displayName": "US SPX 500", "pipLocation": 0, "displayPrecision": 1, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "10000.0", "minimumTrailingStopDistance": "5.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "8000.0", "marginRate": "0.05"}, {"name": "XAU_XAG", "type": "METAL", "displayName": "Gold/Silver", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "50000.0", "marginRate": "0.05"}, {"name": "XAG_USD", "type": "METAL", "displayName": "Silver", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "1000000.0", "marginRate": "0.05"}, {"name": "AUD_HKD", "type": "CURRENCY", "displayName": "AUD/HKD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "USD_DKK", "type": "CURRENCY", "displayName": "USD/DKK", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "SOYBN_USD", "type": "CFD", "displayName": "Soybeans", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "600000.0", "marginRate": "0.05"}, {"name": "NZD_HKD", "type": "CURRENCY", "displayName": "NZD/HKD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "USD_CZK", "type": "CURRENCY", "displayName": "USD/CZK", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "XAG_EUR", "type": "METAL", "displayName": "Silver/EUR", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "1000000.0", "marginRate": "0.05"}, {"name": "UK10YB_GBP", "type": "CFD", "displayName": "UK 10Y Gilt", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "60000.0", "marginRate": "0.05"}, {"name": "EUR_HKD", "type": "CURRENCY", "displayName": "EUR/HKD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "USD_CHF", "type": "CURRENCY", "displayName": "USD/CHF", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "USD_HKD", "type": "CURRENCY", "displayName": "USD/HKD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "US30_USD", "type": "CFD", "displayName": "US Wall St 30", "pipLocation": 0, "displayPrecision": 1, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "10000.0", "minimumTrailingStopDistance": "5.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "1000.0", "marginRate": "0.05"}, {"name": "SGD_CHF", "type": "CURRENCY", "displayName": "SGD/CHF", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "NZD_CAD", "type": "CURRENCY", "displayName": "NZD/CAD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "XAU_JPY", "type": "METAL", "displayName": "Gold/JPY", "pipLocation": 1, "displayPrecision": 0, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100000.0", "minimumTrailingStopDistance": "50.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "50000.0", "marginRate": "0.05"}, {"name": "AUD_SGD", "type": "CURRENCY", "displayName": "AUD/SGD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "EUR_CZK", "type": "CURRENCY", "displayName": "EUR/CZK", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "TWIX_USD", "type": "CFD", "displayName": "Taiwan Index", "pipLocation": 0, "displayPrecision": 1, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "10000.0", "minimumTrailingStopDistance": "5.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "1000.0", "marginRate": "0.05"}, {"name": "XAG_AUD", "type": "METAL", "displayName": "Silver/AUD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "1000000.0", "marginRate": "0.05"}, {"name": "CN50_USD", "type": "CFD", "displayName": "China A50", "pipLocation": 0, "displayPrecision": 1, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "10000.0", "minimumTrailingStopDistance": "5.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "1000.0", "marginRate": "0.05"}, {"name": "AUD_JPY", "type": "CURRENCY", "displayName": "AUD/JPY", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "USD_INR", "type": "CURRENCY", "displayName": "USD/INR", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "CAD_HKD", "type": "CURRENCY", "displayName": "CAD/HKD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "NATGAS_USD", "type": "CFD", "displayName": "Natural Gas", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "2500000.0", "marginRate": "0.05"}, {"name": "USD_ZAR", "type": "CURRENCY", "displayName": "USD/ZAR", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "USB05Y_USD", "type": "CFD", "displayName": "US 5Y T-Note", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "60000.0", "marginRate": "0.05"}, {"name": "GBP_JPY", "type": "CURRENCY", "displayName": "GBP/JPY", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "USD_TRY", "type": "CURRENCY", "displayName": "USD/TRY", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "ZAR_JPY", "type": "CURRENCY", "displayName": "ZAR/JPY", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "XAU_GBP", "type": "METAL", "displayName": "Gold/GBP", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "50000.0", "marginRate": "0.05"}, {"name": "GBP_CAD", "type": "CURRENCY", "displayName": "GBP/CAD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "USD_SAR", "type": "CURRENCY", "displayName": "USD/SAR", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "HK33_HKD", "type": "CFD", "displayName": "Hong Kong 33", "pipLocation": 0, "displayPrecision": 1, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "10000.0", "minimumTrailingStopDistance": "5.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "4000.0", "marginRate": "0.05"}, {"name": "EUR_CAD", "type": "CURRENCY", "displayName": "EUR/CAD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "CORN_USD", "type": "CFD", "displayName": "Corn", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "1500000.0", "marginRate": "0.05"}, {"name": "GBP_SGD", "type": "CURRENCY", "displayName": "GBP/SGD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "USD_SEK", "type": "CURRENCY", "displayName": "USD/SEK", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "USB02Y_USD", "type": "CFD", "displayName": "US 2Y T-Note", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "60000.0", "marginRate": "0.05"}, {"name": "XAU_USD", "type": "METAL", "displayName": "Gold", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "50000.0", "marginRate": "0.05"}, {"name": "US2000_USD", "type": "CFD", "displayName": "US Russ 2000", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "10000.0", "marginRate": "0.05"}, {"name": "CHF_ZAR", "type": "CURRENCY", "displayName": "CHF/ZAR", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "EUR_GBP", "type": "CURRENCY", "displayName": "EUR/GBP", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "XAG_SGD", "type": "METAL", "displayName": "Silver/SGD", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "1000000.0", "marginRate": "0.05"}, {"name": "AUD_CHF", "type": "CURRENCY", "displayName": "AUD/CHF", "pipLocation": -4, "displayPrecision": 5, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "1.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "100000000.0", "marginRate": "0.05"}, {"name": "WHEAT_USD", "type": "CFD", "displayName": "Wheat", "pipLocation": -2, "displayPrecision": 3, "tradeUnitsPrecision": 0, "minimumTradeSize": "1.0", "maximumTrailingStopDistance": "100.0", "minimumTrailingStopDistance": "0.0", "maximumPositionSize": "0.0", "maximumOrderUnits": "1500000.0", "marginRate": "0.05"}]'

example_transactions = '[{"id": "6608", "time": "1511167043.466364098", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6607", "requestID": "42367090994159890", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6607, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999961}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6608, "units": "1.0"}}, {"id": "6607", "time": "1511167043.466364098", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6607", "requestID": "42367090994159890", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6606", "time": "1511167043.458913262", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6605", "requestID": "42367090994159865", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6605, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999962}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6606, "units": "1.0"}}, {"id": "6605", "time": "1511167043.458913262", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6605", "requestID": "42367090994159865", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6604", "time": "1511167043.445228666", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6603", "requestID": "42367090994159814", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6603, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999963}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6604, "units": "1.0"}}, {"id": "6603", "time": "1511167043.445228666", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6603", "requestID": "42367090994159814", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6602", "time": "1511167043.440233734", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6601", "requestID": "42367090994159799", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6601, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999964}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6602, "units": "1.0"}}, {"id": "6601", "time": "1511167043.440233734", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6601", "requestID": "42367090994159799", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6600", "time": "1511167043.434411946", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6599", "requestID": "42367090994159787", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6599, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999965}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6600, "units": "1.0"}}, {"id": "6599", "time": "1511167043.434411946", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6599", "requestID": "42367090994159787", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6598", "time": "1511167043.429329257", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6597", "requestID": "42367090994159772", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6597, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999966}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6598, "units": "1.0"}}, {"id": "6597", "time": "1511167043.429329257", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6597", "requestID": "42367090994159772", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6596", "time": "1511167043.424417801", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6595", "requestID": "42367090994159754", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6595, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999967}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6596, "units": "1.0"}}, {"id": "6595", "time": "1511167043.424417801", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6595", "requestID": "42367090994159754", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6594", "time": "1511167043.398794150", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6593", "requestID": "42367090994159702", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6593, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999968}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6594, "units": "1.0"}}, {"id": "6593", "time": "1511167043.398794150", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6593", "requestID": "42367090994159702", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6592", "time": "1511167043.393811651", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6591", "requestID": "42367090994159690", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6591, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999969}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6592, "units": "1.0"}}, {"id": "6591", "time": "1511167043.393811651", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6591", "requestID": "42367090994159690", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6590", "time": "1511167043.386840739", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6589", "requestID": "42367090994159677", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6589, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999970}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6590, "units": "1.0"}}, {"id": "6589", "time": "1511167043.386840739", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6589", "requestID": "42367090994159677", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6588", "time": "1511167043.207923111", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6587", "requestID": "42367090994159250", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6587, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999971}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6588, "units": "1.0"}}, {"id": "6587", "time": "1511167043.207923111", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6587", "requestID": "42367090994159250", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6586", "time": "1511167043.201462187", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6585", "requestID": "42367090994159233", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6585, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999972}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6586, "units": "1.0"}}, {"id": "6585", "time": "1511167043.201462187", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6585", "requestID": "42367090994159233", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6584", "time": "1511167043.189579084", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6583", "requestID": "42367090994159204", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6583, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999973}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6584, "units": "1.0"}}, {"id": "6583", "time": "1511167043.189579084", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6583", "requestID": "42367090994159204", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6582", "time": "1511167043.184627995", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6581", "requestID": "42367090994159191", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6581, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999974}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6582, "units": "1.0"}}, {"id": "6581", "time": "1511167043.184627995", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6581", "requestID": "42367090994159191", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6580", "time": "1511167043.177687332", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6579", "requestID": "42367090994159176", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6579, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999975}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6580, "units": "1.0"}}, {"id": "6579", "time": "1511167043.177687332", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6579", "requestID": "42367090994159176", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6578", "time": "1511167043.170682010", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6577", "requestID": "42367090994159153", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6577, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999976}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6578, "units": "1.0"}}, {"id": "6577", "time": "1511167043.170682010", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6577", "requestID": "42367090994159153", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6576", "time": "1511167043.166680503", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6575", "requestID": "42367090994159139", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6575, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999977}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6576, "units": "1.0"}}, {"id": "6575", "time": "1511167043.166680503", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6575", "requestID": "42367090994159139", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6574", "time": "1511167043.142051998", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6573", "requestID": "42367090994159078", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6573, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999978}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6574, "units": "1.0"}}, {"id": "6573", "time": "1511167043.142051998", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6573", "requestID": "42367090994159078", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6572", "time": "1511167043.136864065", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6571", "requestID": "42367090994159067", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6571, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999979}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6572, "units": "1.0"}}, {"id": "6571", "time": "1511167043.136864065", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6571", "requestID": "42367090994159067", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6570", "time": "1511167043.132022489", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6569", "requestID": "42367090994159056", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6569, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999980}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6570, "units": "1.0"}}, {"id": "6569", "time": "1511167043.132022489", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6569", "requestID": "42367090994159056", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6568", "time": "1511167042.953963601", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6567", "requestID": "42367090989964341", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6567, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999981}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6568, "units": "1.0"}}, {"id": "6567", "time": "1511167042.953963601", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6567", "requestID": "42367090989964341", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6566", "time": "1511167042.945347545", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6565", "requestID": "42367090989964323", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6565, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999982}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6566, "units": "1.0"}}, {"id": "6565", "time": "1511167042.945347545", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6565", "requestID": "42367090989964323", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6564", "time": "1511167042.933889675", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6563", "requestID": "42367090989964307", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6563, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999983}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6564, "units": "1.0"}}, {"id": "6563", "time": "1511167042.933889675", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6563", "requestID": "42367090989964307", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6562", "time": "1511167042.928695227", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6561", "requestID": "42367090989964293", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6561, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999984}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6562, "units": "1.0"}}, {"id": "6561", "time": "1511167042.928695227", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6561", "requestID": "42367090989964293", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6560", "time": "1511167042.922988469", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6559", "requestID": "42367090989964271", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6559, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999985}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6560, "units": "1.0"}}, {"id": "6559", "time": "1511167042.922988469", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6559", "requestID": "42367090989964271", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6558", "time": "1511167042.915480251", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6557", "requestID": "42367090989964244", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6557, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999986}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6558, "units": "1.0"}}, {"id": "6557", "time": "1511167042.915480251", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6557", "requestID": "42367090989964244", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6556", "time": "1511167042.909929873", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6555", "requestID": "42367090989964230", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6555, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999987}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6556, "units": "1.0"}}, {"id": "6555", "time": "1511167042.909929873", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6555", "requestID": "42367090989964230", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6554", "time": "1511167042.885190488", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6553", "requestID": "42367090989964169", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6553, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999988}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6554, "units": "1.0"}}, {"id": "6553", "time": "1511167042.885190488", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6553", "requestID": "42367090989964169", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6552", "time": "1511167042.881212607", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6551", "requestID": "42367090989964155", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6551, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999989}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6552, "units": "1.0"}}, {"id": "6551", "time": "1511167042.881212607", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6551", "requestID": "42367090989964155", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6550", "time": "1511167042.875182909", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6549", "requestID": "42367090989964138", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6549, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999990}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6550, "units": "1.0"}}, {"id": "6549", "time": "1511167042.875182909", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6549", "requestID": "42367090989964138", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6548", "time": "1511167042.695840460", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6547", "requestID": "42367090989963734", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6547, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999991}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6548, "units": "1.0"}}, {"id": "6547", "time": "1511167042.695840460", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6547", "requestID": "42367090989963734", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6546", "time": "1511167042.681269933", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6545", "requestID": "42367090989963702", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6545, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999992}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6546, "units": "1.0"}}, {"id": "6545", "time": "1511167042.681269933", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6545", "requestID": "42367090989963702", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6544", "time": "1511167042.674782704", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6543", "requestID": "42367090989963688", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6543, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999993}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6544, "units": "1.0"}}, {"id": "6543", "time": "1511167042.674782704", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6543", "requestID": "42367090989963688", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6542", "time": "1511167042.668846913", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6541", "requestID": "42367090989963672", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6541, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999994}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6542, "units": "1.0"}}, {"id": "6541", "time": "1511167042.668846913", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6541", "requestID": "42367090989963672", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6540", "time": "1511167042.663055108", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6539", "requestID": "42367090989963654", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6539, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999995}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6540, "units": "1.0"}}, {"id": "6539", "time": "1511167042.663055108", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6539", "requestID": "42367090989963654", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6538", "time": "1511167042.656239280", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6537", "requestID": "42367090989963630", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6537, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999996}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6538, "units": "1.0"}}, {"id": "6537", "time": "1511167042.656239280", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6537", "requestID": "42367090989963630", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6536", "time": "1511167042.650917192", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6535", "requestID": "42367090989963615", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6535, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999997}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6536, "units": "1.0"}}, {"id": "6535", "time": "1511167042.650917192", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6535", "requestID": "42367090989963615", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6534", "time": "1511167042.632091722", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6533", "requestID": "42367090989963556", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6533, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999998}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6534, "units": "1.0"}}, {"id": "6533", "time": "1511167042.632091722", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6533", "requestID": "42367090989963556", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6532", "time": "1511167042.626392854", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6531", "requestID": "42367090989963543", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6531, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 9999999}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6532, "units": "1.0"}}, {"id": "6531", "time": "1511167042.626392854", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6531", "requestID": "42367090989963543", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}, {"id": "6530", "time": "1511167042.618724541", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6529", "requestID": "42367090989963531", "type": "ORDER_FILL", "reason": "MARKET_ORDER", "orderID": 6529, "financing": "0.0", "accountBalance": "97801.8994", "price": "0.75677", "instrument": "AUD_USD", "units": "1.0", "fullPrice": {"bids": [{"price": "0.75664", "liquidity": 10000000}], "asks": [{"price": "0.75677", "liquidity": 10000000}], "closeoutBid": "0.75649", "closeoutAsk": "0.75692", "timestamp": "1511167039.318061267"}, "pl": "0.0", "commission": "0.0", "tradeOpened": {"tradeID": 6530, "units": "1.0"}}, {"id": "6529", "time": "1511167042.618724541", "userID": 6557245, "accountID": "123-123-1234567-123", "batchID": "6529", "requestID": "42367090989963531", "type": "MARKET_ORDER", "reason": "CLIENT_ORDER", "timeInForce": "FOK", "instrument": "AUD_USD", "units": "1.0", "positionFill": "DEFAULT"}]'

account_example = {'account': {'NAV': '97798.0524',
                               'alias': 'Primary',
                               'balance': '97798.0524',
                               'commission': '0.0',
                               'createdByUserID': 6557245,
                               'createdTime': '1502463871.639182352',
                               'currency': 'AUD',
                               'financing': '-3.5607',
                               'hedgingEnabled': False,
                               'id': '123-123-1234567-123',
                               'lastTransactionID': '6971',
                               'marginAvailable': '97798.0524',
                               'marginCallMarginUsed': '0.0',
                               'marginCallPercent': '0.0',
                               'marginCloseoutMarginUsed': '0.0',
                               'marginCloseoutNAV': '97798.0524',
                               'marginCloseoutPercent': '0.0',
                               'marginCloseoutPositionValue': '0.0',
                               'marginCloseoutUnrealizedPL': '0.0',
                               'marginRate': '0.02',
                               'marginUsed': '0.0',
                               'openPositionCount': 0,
                               'openTradeCount': 0,
                               'orders': [],
                               'pendingOrderCount': 0,
                               'pl': '-2198.3869',
                               'positionValue': '0.0',
                               'positions': [{'commission': '0.0',
                                              'financing': '-0.0194',
                                              'instrument': 'EUR_USD',
                                              'long': {'financing': '-0.0197',
                                                       'pl': '10.7772',
                                                       'resettablePL': '10.7772',
                                                       'units': '0.0',
                                                       'unrealizedPL': '0.0'},
                                              'marginUsed': '0.0',
                                              'pl': '10.8453',
                                              'resettablePL': '10.8453',
                                              'short': {'financing': '0.0003',
                                                        'pl': '0.0681',
                                                        'resettablePL': '0.0681',
                                                        'units': '0.0',
                                                        'unrealizedPL': '0.0'},
                                              'unrealizedPL': '0.0'},
                                             {'commission': '0.0',
                                              'financing': '0.0',
                                              'instrument': 'USD_CHF',
                                              'long': {'financing': '0.0',
                                                       'pl': '-0.0007',
                                                       'resettablePL': '-0.0007',
                                                       'units': '0.0',
                                                       'unrealizedPL': '0.0'},
                                              'marginUsed': '0.0',
                                              'pl': '-0.0007',
                                              'resettablePL': '-0.0007',
                                              'short': {'financing': '0.0',
                                                        'pl': '0.0',
                                                        'resettablePL': '0.0',
                                                        'units': '0.0',
                                                        'unrealizedPL': '0.0'},
                                              'unrealizedPL': '0.0'},
                                             {'commission': '0.0',
                                              'financing': '0.0017',
                                              'instrument': 'GBP_AUD',
                                              'long': {'financing': '0.0',
                                                       'pl': '0.0058',
                                                       'resettablePL': '0.0058',
                                                       'units': '0.0',
                                                       'unrealizedPL': '0.0'},
                                              'marginUsed': '0.0',
                                              'pl': '6.0058',
                                              'resettablePL': '6.0058',
                                              'short': {'financing': '0.0017',
                                                        'pl': '6.0',
                                                        'resettablePL': '6.0',
                                                        'units': '0.0',
                                                        'unrealizedPL': '0.0'},
                                              'unrealizedPL': '0.0'},
                                             {'commission': '0.0',
                                              'financing': '-2.1146',
                                              'instrument': 'AUD_USD',
                                              'long': {'financing': '-1.4714',
                                                       'pl': '-1092.8568',
                                                       'resettablePL': '-1092.8568',
                                                       'units': '0.0',
                                                       'unrealizedPL': '0.0'},
                                              'marginUsed': '0.0',
                                              'pl': '-1296.9234',
                                              'resettablePL': '-1296.9234',
                                              'short': {'financing': '-0.6432',
                                                        'pl': '-204.0666',
                                                        'resettablePL': '-204.0666',
                                                        'units': '0.0',
                                                        'unrealizedPL': '0.0'},
                                              'unrealizedPL': '0.0'},
                                             {'commission': '0.0',
                                              'financing': '-0.7461',
                                              'instrument': 'AUD_CAD',
                                              'long': {'financing': '-0.0032',
                                                       'pl': '-153.13',
                                                       'resettablePL': '-153.13',
                                                       'units': '0.0',
                                                       'unrealizedPL': '0.0'},
                                              'marginUsed': '0.0',
                                              'pl': '-437.855',
                                              'resettablePL': '-437.855',
                                              'short': {'financing': '-0.7429',
                                                        'pl': '-284.725',
                                                        'resettablePL': '-284.725',
                                                        'units': '0.0',
                                                        'unrealizedPL': '0.0'},
                                              'unrealizedPL': '0.0'},
                                             {'commission': '0.0',
                                              'financing': '-0.007',
                                              'instrument': 'AUD_CHF',
                                              'long': {'financing': '0.0',
                                                       'pl': '0.0',
                                                       'resettablePL': '0.0',
                                                       'units': '0.0',
                                                       'unrealizedPL': '0.0'},
                                              'marginUsed': '0.0',
                                              'pl': '-16.2306',
                                              'resettablePL': '-16.2306',
                                              'short': {'financing': '-0.007',
                                                        'pl': '-16.2306',
                                                        'resettablePL': '-16.2306',
                                                        'units': '0.0',
                                                        'unrealizedPL': '0.0'},
                                              'unrealizedPL': '0.0'},
                                             {'commission': '0.0',
                                              'financing': '0.0003',
                                              'instrument': 'AUD_JPY',
                                              'long': {'financing': '0.0003',
                                                       'pl': '-0.1785',
                                                       'resettablePL': '-0.1785',
                                                       'units': '0.0',
                                                       'unrealizedPL': '0.0'},
                                              'marginUsed': '0.0',
                                              'pl': '-0.184',
                                              'resettablePL': '-0.184',
                                              'short': {'financing': '0.0',
                                                        'pl': '-0.0055',
                                                        'resettablePL': '-0.0055',
                                                        'units': '0.0',
                                                        'unrealizedPL': '0.0'},
                                              'unrealizedPL': '0.0'},
                                             {'commission': '0.0',
                                              'financing': '-0.6756',
                                              'instrument': 'AUD_NZD',
                                              'long': {'financing': '0.0',
                                                       'pl': '0.0',
                                                       'resettablePL': '0.0',
                                                       'units': '0.0',
                                                       'unrealizedPL': '0.0'},
                                              'marginUsed': '0.0',
                                              'pl': '-464.0443',
                                              'resettablePL': '-464.0443',
                                              'short': {'financing': '-0.6756',
                                                        'pl': '-464.0443',
                                                        'resettablePL': '-464.0443',
                                                        'units': '0.0',
                                                        'unrealizedPL': '0.0'},
                                              'unrealizedPL': '0.0'}],
                               'resettablePL': '-2198.3869',
                               'trades': [],
                               'unrealizedPL': '0.0',
                               'withdrawalLimit': '97798.0524'},
                   'lastTransactionID': '6971'}

example_transaction_array = (
    {'type': 'MARKET_ORDER', 'instrument': 'AUD_USD', 'units': '-19554', 'timeInForce': 'FOK',
     'positionFill': 'DEFAULT',
     'trailingStopLossOnFill': {'distance': '0.00050', 'timeInForce': 'GTC'}, 'reason': 'CLIENT_ORDER', 'id': '7095',
     'userID': 6557245, 'accountID': '123-123-1234567-123', 'batchID': '7095', 'requestID': '60386854771345686',
     'time': '1512446222.248676455'},
    {'type': 'ORDER_FILL', 'orderID': '7095', 'instrument': 'AUD_USD', 'units': '-19554', 'price': '0.76412',
     'pl': '0.0000', 'financing': '0.0000', 'commission': '0.0000', 'accountBalance': '97770.1692',
     'gainQuoteHomeConversionFactor': '1.308472358521', 'lossQuoteHomeConversionFactor': '1.308694969377',
     'guaranteedExecutionFee': '0.0000', 'halfSpreadCost': '1.5353', 'reason': 'MARKET_ORDER',
     'tradeOpened': {'price': '0.76412', 'tradeID': '7096', 'units': '-19554', 'guaranteedExecutionFee': '0.0000',
                     'halfSpreadCost': '1.5353'},
     'fullPrice': {'closeoutBid': '0.76397', 'closeoutAsk': '0.76440', 'timestamp': '1512446219.959988002',
                   'bids': [{'price': '0.76412', 'liquidity': '10000000'}],
                   'asks': [{'price': '0.76425', 'liquidity': '10000000'}]}, 'id': '7096', 'userID': 6557245,
     'accountID': '123-123-1234567-123', 'batchID': '7095', 'requestID': '60386854771345686',
     'time': '1512446222.248676455'},
    {'type': 'TRAILING_STOP_LOSS_ORDER', 'tradeID': '7096', 'timeInForce': 'GTC', 'triggerCondition': 'DEFAULT',
     'distance': '0.00050', 'reason': 'ON_FILL', 'id': '7097', 'userID': 6557245, 'accountID': '123-123-1234567-123',
     'batchID': '7095', 'requestID': '60386854771345686', 'time': '1512446222.248676455'},
    {'type': 'ORDER_FILL', 'orderID': '7097', 'instrument': 'AUD_USD', 'units': '19554', 'price': '0.76465',
     'pl': '-13.5561', 'financing': '-0.0035', 'commission': '0.0000', 'accountBalance': '97756.6096',
     'gainQuoteHomeConversionFactor': '1.307787876806', 'lossQuoteHomeConversionFactor': '1.308044473512',
     'guaranteedExecutionFee': '0.0000', 'halfSpreadCost': '1.7902', 'reason': 'TRAILING_STOP_LOSS_ORDER',
     'tradesClosed': [
         {'tradeID': '7096', 'units': '19554', 'realizedPL': '-13.5561', 'financing': '-0.0035', 'price': '0.76465',
          'guaranteedExecutionFee': '0.0000', 'halfSpreadCost': '1.7902'}],
     'fullPrice': {'closeoutBid': '0.76435', 'closeoutAsk': '0.76480', 'timestamp': '1512446723.180178732',
                   'bids': [{'price': '0.76450', 'liquidity': '10000000'}],
                   'asks': [{'price': '0.76465', 'liquidity': '10000000'}]}, 'id': '7098', 'userID': 0,
     'accountID': '123-123-1234567-123', 'batchID': '7098', 'time': '1512446723.180178732'})

example_trade_array = (
    {'id': '7105', 'instrument': 'AUD_USD', 'price': '0.76473', 'openTime': '1512454055.845717338', 'initialUnits': '1',
     'state': 'OPEN', 'currentUnits': '1', 'realizedPL': '0.0000', 'financing': '0.0000', 'unrealizedPL': '-0.0002',
     'marginUsed': '0.0200',
     'stopLossOrder': {'id': '7106', 'createTime': '1512454055.845717338', 'type': 'STOP_LOSS', 'tradeID': '7105',
                       'price': '0.00002', 'timeInForce': 'GTC', 'triggerCondition': 'DEFAULT', 'state': 'PENDING'},
     'trailingStopLossOrder': {'id': '7107', 'createTime': '1512454055.845717338', 'type': 'TRAILING_STOP_LOSS',
                               'tradeID': '7105', 'distance': '0.00050', 'timeInForce': 'GTC',
                               'triggerCondition': 'DEFAULT', 'state': 'PENDING', 'trailingStopValue': '0.76409'}},
    {'id': '7101', 'instrument': 'AUD_USD', 'price': '0.76513', 'openTime': '1512453504.235625587', 'initialUnits': '1',
     'state': 'OPEN', 'currentUnits': '1', 'realizedPL': '0.0000', 'financing': '0.0000', 'unrealizedPL': '-0.0007',
     'marginUsed': '0.0200',
     'stopLossOrder': {'id': '7102', 'createTime': '1512453504.235625587', 'type': 'STOP_LOSS', 'tradeID': '7101',
                       'price': '0.00002', 'timeInForce': 'GTC', 'triggerCondition': 'DEFAULT', 'state': 'PENDING'},
     'trailingStopLossOrder': {'id': '7103', 'createTime': '1512453504.235625587', 'type': 'TRAILING_STOP_LOSS',
                               'tradeID': '7101', 'distance': '0.00050', 'timeInForce': 'GTC',
                               'triggerCondition': 'DEFAULT', 'state': 'PENDING', 'trailingStopValue': '0.76449'}})

example_market_order_reject_transaction = {'type': 'MARKET_ORDER_REJECT',
                                           'rejectReason': 'CLOSEOUT_POSITION_DOESNT_EXIST', 'instrument': 'AUD_USD',
                                           'timeInForce': 'FOK', 'positionFill': 'REDUCE_ONLY',
                                           'reason': 'POSITION_CLOSEOUT',
                                           'shortPositionCloseout': {'instrument': 'AUD_USD', 'units': 'ALL'},
                                           'id': '7158', 'userID': 6557245, 'accountID': '123-123-1234567-123',
                                           'batchID': '7157', 'requestID': '24359106208214028',
                                           'time': '1512696194.488775774'}

stream_transaction_heartbeat = {'type': 'HEARTBEAT', 'lastTransactionID': '16388', 'time': '1514852380.912339327'}
stream_transaction = {'id': '16389', 'time': '1514852381.353432710', 'userID': 6557245,
                      'accountID': '101-011-6557245-001',
                      'batchID': '16389', 'requestID': '24368149911764854', 'type': 'MARKET_ORDER',
                      'reason': 'CLIENT_ORDER', 'timeInForce': 'FOK', 'instrument': 'AUD_USD', 'units': '1.0',
                      'positionFill': 'DEFAULT'}
stream_price_heartbeat = {'type': 'HEARTBEAT', 'time': '1514852538.463703935'}
stream_price = {'type': 'PRICE', 'instrument': 'EUR_USD', 'time': '1514852541.189833163', 'status': 'tradeable',
                'tradeable': True, 'bids': [{'price': '1.20165', 'liquidity': 10000000}],
                'asks': [{'price': '1.2018', 'liquidity': 10000000}], 'closeoutBid': '1.2015',
                'closeoutAsk': '1.20195'}
