felixmccuaig/betfair-node

Example didn't run after Auth

halfbeep opened this issue · 0 comments

me@localhost:/home/fair# ts-node betfair-node/example//example.ts
[
'subscribing to markets, last payload was undefined new payload is [object Object]'
]
[
'Writing the payload to tls {"op":"authentication","appKey":"hjPa4tyuiGXAFh","session":"y5qlOxUFf+vTYGhuHiopixbGc1UG7MswOE+A=","id":563675797}'
]
[
'Writing the payload to tls {"id":364849385,"op":"marketSubscription","marketFilter":{"marketIds":["1.207517693"]},"segmentationEnabled":false,"conflateMs":500,"heartbeatMs":500}'
]
[ 'Stream Connected!' ]
[ 'Heartbeat called from streamdata!' ]
[ 'Beating with timeout 500ms' ]
[ 'Heartbeat' ]
[ 'Heartbeat called from streamdata!' ]
[ 'Heartbeat' ]
'Operation failed! [object Object]'
me@localhost:/home/fair#