V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
pc10201
V2EX  ›  程序员

如何模拟网页表单里面的计算公式?

  •  
  •   pc10201 · Jul 24, 2015 · 2149 views
    This topic created in 3935 days ago, the information mentioned may be changed or developed.
    表单网页在
    http://fxtrade.oanda.co.uk/lang/cns/analysis/currency-units-calculator

    Margin Ratio为50:1
    Margin Available (USD)为10000
    需要得到的Maximum Number Of Units的结果

    研究了一下,计算的js全部混淆了,如何通过python或者js来遍历的选项自动得出结果?
    2 replies    2015-07-25 14:13:19 +08:00
    Septembers
        1
    Septembers  
       Jul 24, 2015
    稍微看了下没混淆 格式化下就能看 这个页面的逻辑大概都在这里面
    http://fxtrade.oanda.co.uk/wandacache/fxmath-4d4372f35c4ce0fde69a63f6d3167ffb4a29ea87.js
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1273 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 16:59 · PVG 00:59 · LAX 09:59 · JFK 12:59
    ♥ Do have faith in what you're doing.