Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GBRT_v13.2.7 XBT-USD@bitmex Round #2 2019/06/17 15:34:54
- XBT-USD@bitmex skipped TakeProfit
- XBT-USD@bitmex defined grid
- XBT-USD@bitmex defined abp and available funds
- XBT-USD@bitmex checked telegram alerts
- XBT-USD@bitmex pre-grid
- XBT-USD@bitmex end of grid parsing
- XBT-USD@bitmex start strategies attempts
- XBT-USD@bitmex refusing tests
- XBT-USD@bitmex skipping smacross
- XBT-USD@bitmex refusing MACD
- XBT-USD@bitmex quote amount calculated
- XBT-USD@bitmex no unfilled sell orders
- XBT-USD@bitmex no unfilled buy orders
- Market Maker v0.1
- ┌───────────────────┬────────────────┬─────────────────┬──────────────┬────────────┬───────────────────────────┬─────────────────────┐
- │ ɢՍͶßØͳ RT Edition │ Version │ Round │ Exchange │ Pair │ Strategy │ Timestamp │
- ├───────────────────┼────────────────┼─────────────────┼──────────────┼────────────┼───────────────────────────┼─────────────────────┤
- │ │ GBRT v.13.2.7 │ 2 │ bitmex │ XBT-USD │ market_maker/market_maker │ 2019/06/17 15:34:54 │
- ├───────────────────┼────────────────┼─────────────────┼──────────────┼────────────┼───────────────────────────┼─────────────────────┤
- │ Asks │ Highest Ask │ First Ask │ Second Ask │ Third Ask │ Fourth Ask │ Fifth Ask │
- ├───────────────────┼────────────────┼─────────────────┼──────────────┼────────────┼───────────────────────────┼─────────────────────┤
- │ │ 9289 │ 9289.5 │ 9290.5 │ 9290.5 │ 9291 │ 9291.5 │
- ├───────────────────┼────────────────┼─────────────────┼──────────────┼────────────┼───────────────────────────┼─────────────────────┤
- │ Bids │ Lowest Bid │ First Bid │ Second Bid │ Third Bid │ Fourth Bid │ Fifth Bid │
- ├───────────────────┼────────────────┼─────────────────┼──────────────┼────────────┼───────────────────────────┼─────────────────────┤
- │ │ 9288.5 │ 9288 │ 9287.5 │ 9287 │ 9286.5 │ 9286 │
- ├───────────────────┼────────────────┼─────────────────┼──────────────┼────────────┼───────────────────────────┼─────────────────────┤
- │ Positions │ Ask orders │ ✗ │ ✗ │ ✗ │ ✗ │ ✗ │
- ├───────────────────┼────────────────┼─────────────────┼──────────────┼────────────┼───────────────────────────┼─────────────────────┤
- │ │ Bid orders │ ✗ │ ✗ │ ✗ │ ✗ │ ✗ │
- ├───────────────────┼────────────────┼─────────────────┼──────────────┼────────────┼───────────────────────────┼─────────────────────┤
- │ │ Unrealized PNL │ Avg Entry Price │ Contracts │ Last Price │ Wallet Balance │ Available Margin │
- ├───────────────────┼────────────────┼─────────────────┼──────────────┼────────────┼───────────────────────────┼─────────────────────┤
- │ │ 10.22% │ 9279.0201 │ 200 │ 9288.5 │ 0.01635344 │ 0.01596649 │
- ├───────────────────┼────────────────┼─────────────────┼──────────────┼────────────┼───────────────────────────┼─────────────────────┤
- │ │ Invested Ratio │ Capital Risk │ Realized PNL │ │ │ │
- ├───────────────────┼────────────────┼─────────────────┼──────────────┼────────────┼───────────────────────────┼─────────────────────┤
- │ │ 0.976 │ 0.58 │ 0.00001476 │ │ │ │
- └───────────────────┴────────────────┴─────────────────┴──────────────┴────────────┴───────────────────────────┴─────────────────────┘
- from 18152
- ************************************************************************************************
- SOFT REDUCTION STARTED: too much invested margin!!!
- ************************************************************************************************
- ************************************************************************************************
- 81530 0
- ************************************************************************************************
- ************************************************************************************************
- 81560 1
- ************************************************************************************************
- entering normal sell trade
- 2019/06/17 15:34:54: Reducing position...
- from 18171
- { orderID: '1f3e210d-0fe9-7e70-bfff-160bb2657b2b',
- price: 9290,
- execInst: 'ParticipateDoNotInitiate' }
- { orderID: '86a33e14-45ce-4e9f-7980-69427774eea6',
- price: 9290,
- execInst: 'ParticipateDoNotInitiate' }
- { orderID: '59fe0a84-55dd-6b35-6bae-5f633a001950',
- price: 9290,
- execInst: 'ParticipateDoNotInitiate' }
- { orderID: '5cc94428-6a16-7b2e-6e34-2a57887c727a',
- price: 9290,
- execInst: 'ParticipateDoNotInitiate' }
- { orderID: '6f23b314-f19b-3d95-0bab-b29144a03136',
- price: 9290,
- execInst: 'ParticipateDoNotInitiate' }
- Original price: 9290
- Original volume: 100
- Sell Order Opts: { symbol: 'XBTUSD',
- side: 'Sell',
- price: 9290,
- orderQty: 100,
- ordType: 'Limit',
- timeInForce: 'GoodTillCancel',
- execInst: 'ParticipateDoNotInitiate' }
- { orderID: '5cc94428-6a16-7b2e-6e34-2a57887c727a',
- clOrdID: '',
- clOrdLinkID: '',
- account: 437522,
- symbol: 'XBTUSD',
- side: 'Buy',
- simpleOrderQty: null,
- orderQty: 25,
- price: 9290,
- displayQty: null,
- stopPx: null,
- pegOffsetValue: null,
- pegPriceType: '',
- currency: 'USD',
- settlCurrency: 'XBt',
- ordType: 'Limit',
- timeInForce: 'GoodTillCancel',
- execInst: 'ParticipateDoNotInitiate',
- contingencyType: '',
- exDestination: 'XBME',
- ordStatus: 'Canceled',
- triggered: '',
- workingIndicator: false,
- ordRejReason: '',
- simpleLeavesQty: null,
- leavesQty: 0,
- simpleCumQty: null,
- cumQty: 0,
- avgPx: null,
- multiLegReportingType: 'SingleSecurity',
- text: 'Canceled: Order had execInst of ParticipateDoNotInitiate\nSubmitted via API.',
- transactTime: '2019-06-17T13:34:55.509Z',
- timestamp: '2019-06-17T13:34:55.509Z' }
- { orderID: '5cc94428-6a16-7b2e-6e34-2a57887c727a',
- clOrdID: '',
- clOrdLinkID: '',
- account: 437522,
- symbol: 'XBTUSD',
- side: 'Buy',
- simpleOrderQty: null,
- orderQty: 25,
- price: 9290,
- displayQty: null,
- stopPx: null,
- pegOffsetValue: null,
- pegPriceType: '',
- currency: 'USD',
- settlCurrency: 'XBt',
- ordType: 'Limit',
- timeInForce: 'GoodTillCancel',
- execInst: 'ParticipateDoNotInitiate',
- contingencyType: '',
- exDestination: 'XBME',
- ordStatus: 'Canceled',
- triggered: '',
- workingIndicator: false,
- ordRejReason: '',
- simpleLeavesQty: null,
- leavesQty: 0,
- simpleCumQty: null,
- cumQty: 0,
- avgPx: null,
- multiLegReportingType: 'SingleSecurity',
- text: 'Canceled: Order had execInst of ParticipateDoNotInitiate\nSubmitted via API.',
- transactTime: '2019-06-17T13:34:55.509Z',
- timestamp: '2019-06-17T13:34:55.509Z' }
- { orderID: '86a33e14-45ce-4e9f-7980-69427774eea6',
- clOrdID: '',
- clOrdLinkID: '',
- account: 437522,
- symbol: 'XBTUSD',
- side: 'Buy',
- simpleOrderQty: null,
- orderQty: 25,
- price: 9290,
- displayQty: null,
- stopPx: null,
- pegOffsetValue: null,
- pegPriceType: '',
- currency: 'USD',
- settlCurrency: 'XBt',
- ordType: 'Limit',
- timeInForce: 'GoodTillCancel',
- execInst: 'ParticipateDoNotInitiate',
- contingencyType: '',
- exDestination: 'XBME',
- ordStatus: 'Canceled',
- triggered: '',
- workingIndicator: false,
- ordRejReason: '',
- simpleLeavesQty: null,
- leavesQty: 0,
- simpleCumQty: null,
- cumQty: 0,
- avgPx: null,
- multiLegReportingType: 'SingleSecurity',
- text: 'Canceled: Order had execInst of ParticipateDoNotInitiate\nSubmitted via API.',
- transactTime: '2019-06-17T13:34:55.512Z',
- timestamp: '2019-06-17T13:34:55.512Z' }
- { orderID: '86a33e14-45ce-4e9f-7980-69427774eea6',
- clOrdID: '',
- clOrdLinkID: '',
- account: 437522,
- symbol: 'XBTUSD',
- side: 'Buy',
- simpleOrderQty: null,
- orderQty: 25,
- price: 9290,
- displayQty: null,
- stopPx: null,
- pegOffsetValue: null,
- pegPriceType: '',
- currency: 'USD',
- settlCurrency: 'XBt',
- ordType: 'Limit',
- timeInForce: 'GoodTillCancel',
- execInst: 'ParticipateDoNotInitiate',
- contingencyType: '',
- exDestination: 'XBME',
- ordStatus: 'Canceled',
- triggered: '',
- workingIndicator: false,
- ordRejReason: '',
- simpleLeavesQty: null,
- leavesQty: 0,
- simpleCumQty: null,
- cumQty: 0,
- avgPx: null,
- multiLegReportingType: 'SingleSecurity',
- text: 'Canceled: Order had execInst of ParticipateDoNotInitiate\nSubmitted via API.',
- transactTime: '2019-06-17T13:34:55.512Z',
- timestamp: '2019-06-17T13:34:55.512Z' }
- { orderID: '59fe0a84-55dd-6b35-6bae-5f633a001950',
- clOrdID: '',
- clOrdLinkID: '',
- account: 437522,
- symbol: 'XBTUSD',
- side: 'Buy',
- simpleOrderQty: null,
- orderQty: 25,
- price: 9290,
- displayQty: null,
- stopPx: null,
- pegOffsetValue: null,
- pegPriceType: '',
- currency: 'USD',
- settlCurrency: 'XBt',
- ordType: 'Limit',
- timeInForce: 'GoodTillCancel',
- execInst: 'ParticipateDoNotInitiate',
- contingencyType: '',
- exDestination: 'XBME',
- ordStatus: 'Canceled',
- triggered: '',
- workingIndicator: false,
- ordRejReason: '',
- simpleLeavesQty: null,
- leavesQty: 0,
- simpleCumQty: null,
- cumQty: 0,
- avgPx: null,
- multiLegReportingType: 'SingleSecurity',
- text: 'Canceled: Order had execInst of ParticipateDoNotInitiate\nSubmitted via API.',
- transactTime: '2019-06-17T13:34:55.515Z',
- timestamp: '2019-06-17T13:34:55.515Z' }
- { orderID: '1f3e210d-0fe9-7e70-bfff-160bb2657b2b',
- clOrdID: '',
- clOrdLinkID: '',
- account: 437522,
- symbol: 'XBTUSD',
- side: 'Buy',
- simpleOrderQty: null,
- orderQty: 25,
- price: 9290,
- displayQty: null,
- stopPx: null,
- pegOffsetValue: null,
- pegPriceType: '',
- currency: 'USD',
- settlCurrency: 'XBt',
- ordType: 'Limit',
- timeInForce: 'GoodTillCancel',
- execInst: 'ParticipateDoNotInitiate',
- contingencyType: '',
- exDestination: 'XBME',
- ordStatus: 'Canceled',
- triggered: '',
- workingIndicator: false,
- ordRejReason: '',
- simpleLeavesQty: null,
- leavesQty: 0,
- simpleCumQty: null,
- cumQty: 0,
- avgPx: null,
- multiLegReportingType: 'SingleSecurity',
- text: 'Canceled: Order had execInst of ParticipateDoNotInitiate\nSubmitted via API.',
- transactTime: '2019-06-17T13:34:55.537Z',
- timestamp: '2019-06-17T13:34:55.537Z' }
- { orderID: '6f23b314-f19b-3d95-0bab-b29144a03136',
- clOrdID: '',
- clOrdLinkID: '',
- account: 437522,
- symbol: 'XBTUSD',
- side: 'Buy',
- simpleOrderQty: null,
- orderQty: 25,
- price: 9290,
- displayQty: null,
- stopPx: null,
- pegOffsetValue: null,
- pegPriceType: '',
- currency: 'USD',
- settlCurrency: 'XBt',
- ordType: 'Limit',
- timeInForce: 'GoodTillCancel',
- execInst: 'ParticipateDoNotInitiate',
- contingencyType: '',
- exDestination: 'XBME',
- ordStatus: 'Canceled',
- triggered: '',
- workingIndicator: false,
- ordRejReason: '',
- simpleLeavesQty: null,
- leavesQty: 0,
- simpleCumQty: null,
- cumQty: 0,
- avgPx: null,
- multiLegReportingType: 'SingleSecurity',
- text: 'Canceled: Order had execInst of ParticipateDoNotInitiate\nSubmitted via API.',
- transactTime: '2019-06-17T13:34:55.544Z',
- timestamp: '2019-06-17T13:34:55.544Z' }
- { orderID: '59fe0a84-55dd-6b35-6bae-5f633a001950',
- clOrdID: '',
- clOrdLinkID: '',
- account: 437522,
- symbol: 'XBTUSD',
- side: 'Buy',
- simpleOrderQty: null,
- orderQty: 25,
- price: 9290,
- displayQty: null,
- stopPx: null,
- pegOffsetValue: null,
- pegPriceType: '',
- currency: 'USD',
- settlCurrency: 'XBt',
- ordType: 'Limit',
- timeInForce: 'GoodTillCancel',
- execInst: 'ParticipateDoNotInitiate',
- contingencyType: '',
- exDestination: 'XBME',
- ordStatus: 'Canceled',
- triggered: '',
- workingIndicator: false,
- ordRejReason: '',
- simpleLeavesQty: null,
- leavesQty: 0,
- simpleCumQty: null,
- cumQty: 0,
- avgPx: null,
- multiLegReportingType: 'SingleSecurity',
- text: 'Canceled: Order had execInst of ParticipateDoNotInitiate\nSubmitted via API.',
- transactTime: '2019-06-17T13:34:55.515Z',
- timestamp: '2019-06-17T13:34:55.515Z' }
- { orderID: '1f3e210d-0fe9-7e70-bfff-160bb2657b2b',
- clOrdID: '',
- clOrdLinkID: '',
- account: 437522,
- symbol: 'XBTUSD',
- side: 'Buy',
- simpleOrderQty: null,
- orderQty: 25,
- price: 9290,
- displayQty: null,
- stopPx: null,
- pegOffsetValue: null,
- pegPriceType: '',
- currency: 'USD',
- settlCurrency: 'XBt',
- ordType: 'Limit',
- timeInForce: 'GoodTillCancel',
- execInst: 'ParticipateDoNotInitiate',
- contingencyType: '',
- exDestination: 'XBME',
- ordStatus: 'Canceled',
- triggered: '',
- workingIndicator: false,
- ordRejReason: '',
- simpleLeavesQty: null,
- leavesQty: 0,
- simpleCumQty: null,
- cumQty: 0,
- avgPx: null,
- multiLegReportingType: 'SingleSecurity',
- text: 'Canceled: Order had execInst of ParticipateDoNotInitiate\nSubmitted via API.',
- transactTime: '2019-06-17T13:34:55.537Z',
- timestamp: '2019-06-17T13:34:55.537Z' }
- { orderID: '6f23b314-f19b-3d95-0bab-b29144a03136',
- clOrdID: '',
- clOrdLinkID: '',
- account: 437522,
- symbol: 'XBTUSD',
- side: 'Buy',
- simpleOrderQty: null,
- orderQty: 25,
- price: 9290,
- displayQty: null,
- stopPx: null,
- pegOffsetValue: null,
- pegPriceType: '',
- currency: 'USD',
- settlCurrency: 'XBt',
- ordType: 'Limit',
- timeInForce: 'GoodTillCancel',
- execInst: 'ParticipateDoNotInitiate',
- contingencyType: '',
- exDestination: 'XBME',
- ordStatus: 'Canceled',
- triggered: '',
- workingIndicator: false,
- ordRejReason: '',
- simpleLeavesQty: null,
- leavesQty: 0,
- simpleCumQty: null,
- cumQty: 0,
- avgPx: null,
- multiLegReportingType: 'SingleSecurity',
- text: 'Canceled: Order had execInst of ParticipateDoNotInitiate\nSubmitted via API.',
- transactTime: '2019-06-17T13:34:55.544Z',
- timestamp: '2019-06-17T13:34:55.544Z' }
- ************************************************************************************************
- New 81820 1
- ************************************************************************************************
- { orderID: '501caed4-1ccb-df86-8628-7039a98505db',
- clOrdID: '',
- clOrdLinkID: '',
- account: 437522,
- symbol: 'XBTUSD',
- side: 'Sell',
- simpleOrderQty: null,
- orderQty: 100,
- price: 9290,
- displayQty: null,
- stopPx: null,
- pegOffsetValue: null,
- pegPriceType: '',
- currency: 'USD',
- settlCurrency: 'XBt',
- ordType: 'Limit',
- timeInForce: 'GoodTillCancel',
- execInst: 'ParticipateDoNotInitiate',
- contingencyType: '',
- exDestination: 'XBME',
- ordStatus: 'New',
- triggered: '',
- workingIndicator: true,
- ordRejReason: '',
- simpleLeavesQty: null,
- leavesQty: 100,
- simpleCumQty: null,
- cumQty: 0,
- avgPx: null,
- multiLegReportingType: 'SingleSecurity',
- text: 'Submitted via API.',
- transactTime: '2019-06-17T13:34:55.532Z',
- timestamp: '2019-06-17T13:34:55.532Z' }
- ************************************************************************************************
- New 81910 1
- ************************************************************************************************
- 1403
- ************************************************************************************************
- Strategy market_maker/market_maker for XBT-USD on bitmex -| Selling 2 of XBT-USD at rate 9288.5
- ************************************************************************************************
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement