Comments (4)
As it turns out the current version / api endpoint we use does not have historical transaction price in its response: we only have time, size and buyer.
We played around with version string in request header and get params, but didn't get a different response.
Presumably it's the API endpoint that matters.
https://m.poizon.com/product/lastSoldList? --> https://app.poizon.com/api/v1/app/product/ice/lastSoldList
Our current sign value does not work with the second api endpoint: 500 or 403 are both triggered.
from sneaky.
It could also very well be the app version.
The new version presumably has a different sign mechanism, or maybe just a different salt value.
We could try reverse engineering a newer apk.
Some sources:
https://www.jianshu.com/p/652a1722378e
http://www.javadecompilers.com/apk
https://github.com/skylot/jadx
from sneaky.
/Users/zhehaowang/projects/du/reverse-engineering/com.shizhuang.duapp_4.11.1_liqucn.com/sources//com/shizhuang/duapp/common/utils/al.java
seems to be the sign generation function.
We didn't manage trace up from requests yet. This is tracing down from i.k
in com.shizhuang.duapp.common.a.i
where the constant 3542e676b4c80983f6131cdfe577ac9b was still in use.
Two static functions one with param map the other with an additional timestamp. Need to figure out under what circumstances each is used.
from sneaky.
We switched to a different wechat small program based interface described here
https://github.com/luo1994/du-app-sign
from sneaky.
Related Issues (20)
- strategyv2: csv / console / email report. serialization module
- strategy: 30p max bid mark HOT 1
- stockx: parsing failed HOT 2
- strategy: discrepancies in mid profit rate calc HOT 1
- feedv2: investigate match rate between du and stockx HOT 1
- feedv2: investigate du feed sizes fail to parse, data for none sizes, drop funky gender logic HOT 1
- feedv2: integrate daily query logic with merged csv. apply in stockx. HOT 1
- strategyv2: work with output of feedv2 HOT 1
- feedv2: unify time representation, records sorting, fetch du ask_price in update mode, clarify du bid_price in update mode HOT 3
- strategyv2: query stockx again if required. HOT 1
- strategyv2: investigate irrational historical transaction prices HOT 1
- feedv2: investigate data drop HOT 2
- strategyv2: pandas-ify
- feedv2: DB-ify HOT 1
- feedv2: du transaction pagination HOT 1
- accounting: analysis on previous iteration. post-trade-analysis script? HOT 3
- strategy: market data research HOT 2
- docs: engineering summary HOT 1
- accounting: management interface for accounting sheet
- 很棒的工作,但是可操作性很低。 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sneaky.