QMT_HTTP_API封装.py bug

Open Beginner friendly
#3 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python
Domain
api

Research direction

Open QMT_HTTP_API封装.py and inspect the safe_call usages around lines 128, 311, 404, and 412. Compare these calls with the issue’s requested context-bound methods, then verify that all listed cases use the intended context API without changing their surrounding behavior.

Written by the indexing model from the issue text.

Description

128行 :
ret = safe_call(get_open_date, stockcode)
应该改为
ret = safe_call(self.ctx().get_open_date, stockcode)

311:
ret = safe_call(timetag_to_datetime, timetag, fmt)
应该改为
ret = safe_call((self.ctx().timetag_to_datetime, timetag, fmt)

404:
ret = safe_call(get_etf_info, stockcode)
应该改为
ret = safe_call(self.ctx().get_etf_info, stockcode)

412:
ret = safe_call(get_etf_iopv, stockcode)
应该改为
ret = safe_call(self.ctx().get_etf_iopv, stockcode)
...

Dominant language
Python
Stars
205
Forks
83
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Rockyzsu/QMT

All issues in Rockyzsu/QMT

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.