{"action":"closed","issue":{"url":"https://api.github.com/repos/vnpy/vnpy/issues/1303","repository_url":"https://api.github.com/repos/vnpy/vnpy","labels_url":"https://api.github.com/repos/vnpy/vnpy/issues/1303/labels{/name}","comments_url":"https://api.github.com/repos/vnpy/vnpy/issues/1303/comments","events_url":"https://api.github.com/repos/vnpy/vnpy/issues/1303/events","html_url":"https://github.com/vnpy/vnpy/issues/1303","id":394006914,"node_id":"MDU6SXNzdWUzOTQwMDY5MTQ=","number":1303,"title":"价差的设置","user":{"login":"viponedream","id":16624529,"node_id":"MDQ6VXNlcjE2NjI0NTI5","avatar_url":"https://avatars2.githubusercontent.com/u/16624529?v=4","gravatar_id":"","url":"https://api.github.com/users/viponedream","html_url":"https://github.com/viponedream","followers_url":"https://api.github.com/users/viponedream/followers","following_url":"https://api.github.com/users/viponedream/following{/other_user}","gists_url":"https://api.github.com/users/viponedream/gists{/gist_id}","starred_url":"https://api.github.com/users/viponedream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viponedream/subscriptions","organizations_url":"https://api.github.com/users/viponedream/orgs","repos_url":"https://api.github.com/users/viponedream/repos","events_url":"https://api.github.com/users/viponedream/events{/privacy}","received_events_url":"https://api.github.com/users/viponedream/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-25T11:02:49Z","updated_at":"2018-12-26T00:46:48Z","closed_at":"2018-12-26T00:46:48Z","author_association":"NONE","body":"里面的 ratio, multiplier是什么意思呢？\r\n如果有多条被动腿的，该怎么设置啊？\r\n\r\n\r\n[\r\n    {\r\n    \"name\": \"TA.901-905-909\",\r\n\r\n    \"activeLeg\":\r\n        {\r\n            \"vtSymbol\": \"TA901\",\r\n            \"ratio\": 1,\r\n            \"multiplier\": 1.0,\r\n            \"payup\": 2\r\n        },\r\n\r\n    \"passiveLegs\": [\r\n        {\r\n            \"vtSymbol\": \"TA905\",\r\n            \"ratio\": -1,\r\n            \"multiplier\": -1.0,\r\n            \"payup\": 2\r\n        },\r\n        {\r\n            \"vtSymbol\": \"TA909\",\r\n            \"ratio\": -1,\r\n            \"multiplier\": -1.0,\r\n            \"payup\": 2\r\n        }\r\n    ]\r\n}\r\n\r\n\r\n]"}}
{"actor":{"display_login":"vnpy"}}