Category Archives: Modeling
TensorFlow in NetLogo, Make Your Agent More Intelligent
0. Background
NetLogo is a very useful tools for ABM, and Python is also a handful language for building proof of concept.
In this post I will show you how to call python language in NetLogo. For more i… Read more...
Build NetLogo for ARM(NVIDIA-JETSON-NANO)
本文主要目的为测试这块板子的性能,看看其是否有作为边缘节点的能力。
Env
Ubuntu 18.04(jetson-nano-sd-r32.1-2019-03-18)
Prepare
Agent based modeling Strategy in forex trading market
PREFACE
Since I’ve tested S1, S2, and S3 from the DATANOTE. However, it was not so good or in other words, identical with expectation. It’s time to make a change.
BASIC MODEL AND ARCHITECTUR
… Read more...Forex Data ML Relationship
Data Processing with ML
Data Overview:
1. Forex Index <-> Currency Rate Change
2. News -Classification -Weight <-> Currency Rate Change
Caution:
Strict Time Based Data pipeline.… Read more...
The Forex Quantum Trade System and Infrastructure
Agent-Based Modeling in Economics
早先把书的内容过了一遍,现在打算把书中的模型统统实现并做相应介绍。… Read more...
基于外汇市场技术指标的ABM建模
本模型的最终模拟期望是随机,我想试试。
货币对作为agent,这样仅需要个位数以内;
货币对本身不拥有市场价值,初始值为此货币对相对于eurusd的比值;
agent拥有自己的技术指标,这个指标尽量在一定范围内震荡;
agent行动时,随之变化的指标会影响其他agent的行动;
patch横向分层,高中低区,agent的行动只在patch间行动;
tbd… Read more...
ABM建模导读
本文算是一个读书笔记吧,就是最近刚买的那几本书,相较于之前Scott的几本,这几本学术意味比较浓。中间发现这些作者确实有比较有意思的观点和坚实的理论基础,在此记录以用来随时回忆。
1. Introduction to Agent Based Modeling
c0. & c1. 简介
反正ABM应用范围与可观察性相比EBM(基于公式,也就是我们常说的数学建模)更好,但EBM更容易系统集成。
c2.
… Read more...ABM-based Automatic System for OpenStack(VMWare/oVirt/maybe container…)
这篇文章可以写一篇论文。
注意,这里的controller不是指OpenStack的controller,而是整个平台过程控制的controller,也就是Automatic System。
好吧,这个问题不大,但也不小。好在我会建模会模拟,嘿哈。(这里不用EBM建模的原因是这个系统有些复杂,公式不足以直观发现问题,但为了提升一下本文的友好度,所以我会加几个公式^_^)
如果你不熟悉ABM建模可以参考我… Read more...
Forex data collection and backtesting with python/netlogo
These two sites provides free forex tick/time data. So before getting into backtesting, we must get data.
I provide two scripts for you to download and update these data daily.
OK, it’s boringR… Read more...
Open Source Trading Platforms List
tradelink http://code.google.com/p/tradelink/ Write automated trading systems, connect with 17+ broker APIs
AIOTrade http://sourceforge.net/projects/humaitrader AIOTrade (formerly Humai Trader Platform) … Read more...
外汇常用技术指标算法(附Python量化分析教程)
公式不好写,写到DataNote里吧。
Bill Williams Indicators
Accelerator/Decelerator oscillator(AC)
Acceleration/Deceleration (AC) technical indicator signals the acceleration or deceleration of the current market drivi… Read more...
Agent Based Modeling – Howto
Eightfold Mapping of ABM
View: Information and connections
Intention: Goals
Speech: Communication among the agents
Action: Interaction
Livelihood: Payoffs
Effort: Strategies and actions
Mindfulness: Cognition
Concentration: Model fo… Read more...
国家、行业、人物、现象与总结的历史知识降维方法
知识太多,如何归纳。
有行业历史、人物历史、世界(国家)历史,统统降维划到世界历史中,降级元素视作代理,尝试使用ABM建模。
降至平面图形中,形似“蝌蚪头(蝌蚪头(蝌蚪头拖着长长的尾巴)拖着长长的尾巴)拖着长长的尾巴”,蝌蚪头是领域,尾巴是历史,蝌蚪头可以是另一个蝌蚪头的拷贝,蝌蚪头的扩展可以向大可以向小。当遇到这些元素的交集再升维至球形,往中心聚拢。
笔者以国家为最外层蝌蚪头,假如发现外星文化,同样可… Read more...
Monty Hall Problem
这是一个令直觉犯错误的问题,我们试图将其用贝叶斯理论解释。
A,B,C三个门,其中只有一个门后有奖品——奥迪S8一辆。我们在第一次选择时,主持人会打开你选中之外的门的其中一扇空门,然后问你要不要更改你的选择。
直觉可能告诉我们:“你选哪个得奖的概率都有1/3,换了也一样,咱不换了。”
嗯,这样不对。
这样想:“假如坚持第一次的选择,那我得奖的概率就是三分之一;如果我没选中,然后我换了,那我一定得奖。我第一… Read more...
Models Diversity
Scale Model
Simple Model
Equation Model
Agents-based Model
|_ Micro-simulation(Individual based)
|_ System Dynamics(System view)… Read more...
Campell’s Law
A minimal growth model
这个模型可以简单解释GDP增长、公司状况等等增长模型,比较实用。
基本条件:
100个工人操作1个生产豆子的机器,生产出的豆子可以用来消费、购买机器(一个豆子)、储蓄,每个机器的产出为 100*机器数量^0.5 个豆子,机器第二年的报废率为10%,每年总产出的20%用于投资,其他用于消费。
计算: